1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxMetafile swig_types[2]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1345 #define SWIGTYPE_p_wxLog swig_types[4]
1346 #define SWIGTYPE_p_wxMenu swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1350 #define SWIGTYPE_p_wxDisplay swig_types[9]
1351 #define SWIGTYPE_p_wxFileType swig_types[10]
1352 #define SWIGTYPE_p_wxLogGui swig_types[11]
1353 #define SWIGTYPE_p_wxFont swig_types[12]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356 #define SWIGTYPE_p_wxCaret swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_p_int swig_types[18]
1360 #define SWIGTYPE_p_wxSize swig_types[19]
1361 #define SWIGTYPE_p_wxClipboard swig_types[20]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1363 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxLogStderr swig_types[24]
1366 #define SWIGTYPE_p_wxLogTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxBusyCursor swig_types[27]
1369 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyTextDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxFileDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxURLDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxMetafileDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxSound swig_types[37]
1379 #define SWIGTYPE_p_wxTimerRunner swig_types[38]
1380 #define SWIGTYPE_p_wxLogWindow swig_types[39]
1381 #define SWIGTYPE_p_wxTimeSpan swig_types[40]
1382 #define SWIGTYPE_p_wxArrayString swig_types[41]
1383 #define SWIGTYPE_p_wxWindowDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxToolTip swig_types[44]
1386 #define SWIGTYPE_p_wxDataObjectComposite swig_types[45]
1387 #define SWIGTYPE_p_wxFileConfig swig_types[46]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1389 #define SWIGTYPE_p_wxVideoMode swig_types[48]
1390 #define SWIGTYPE_p_wxDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
1393 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_char swig_types[54]
1396 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[55]
1397 #define SWIGTYPE_p_wxStandardPaths swig_types[56]
1398 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
1399 #define SWIGTYPE_p_wxFrame swig_types[58]
1400 #define SWIGTYPE_p_wxTimer swig_types[59]
1401 #define SWIGTYPE_p_wxPaperSize swig_types[60]
1402 #define SWIGTYPE_p_wxMimeTypesManager swig_types[61]
1403 #define SWIGTYPE_p_wxPyArtProvider swig_types[62]
1404 #define SWIGTYPE_p_wxPyTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxJoystick swig_types[65]
1407 #define SWIGTYPE_p_wxSystemOptions swig_types[66]
1408 #define SWIGTYPE_p_wxPoint swig_types[67]
1409 #define SWIGTYPE_p_wxJoystickEvent swig_types[68]
1410 #define SWIGTYPE_p_wxCursor swig_types[69]
1411 #define SWIGTYPE_p_wxObject swig_types[70]
1412 #define SWIGTYPE_p_wxOutputStream swig_types[71]
1413 #define SWIGTYPE_p_wxDateTime swig_types[72]
1414 #define SWIGTYPE_p_wxPyDropSource swig_types[73]
1415 #define SWIGTYPE_p_unsigned_long swig_types[74]
1416 #define SWIGTYPE_p_wxKillError swig_types[75]
1417 #define SWIGTYPE_p_wxWindow swig_types[76]
1418 #define SWIGTYPE_p_wxString swig_types[77]
1419 #define SWIGTYPE_p_wxPyProcess swig_types[78]
1420 #define SWIGTYPE_p_wxBitmap swig_types[79]
1421 #define SWIGTYPE_p_wxConfig swig_types[80]
1422 #define SWIGTYPE_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_char swig_types[83]
1425 #define SWIGTYPE_p_wxChar swig_types[84]
1426 #define SWIGTYPE_p_wxBusyInfo swig_types[85]
1427 #define SWIGTYPE_p_wxPyDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxProcessEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPyLog swig_types[90]
1432 #define SWIGTYPE_p_wxLogNull swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxPyTimer swig_types[93]
1435 #define SWIGTYPE_p_wxConfigPathChanger swig_types[94]
1436 #define SWIGTYPE_p_wxDateSpan swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _misc_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_misc_
1447 #define SWIG_name "_misc_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451 #include "wx/wxPython/pyistream.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1458 #define SWIG_From_int PyInt_FromLong
1466 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1469 if (value
< min_value
) {
1471 PyErr_Format(PyExc_OverflowError
,
1472 "value %ld is less than '%s' minimum %ld",
1473 value
, errmsg
, min_value
);
1476 } else if (value
> max_value
) {
1478 PyErr_Format(PyExc_OverflowError
,
1479 "value %ld is greater than '%s' maximum %ld",
1480 value
, errmsg
, max_value
);
1489 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1491 if (PyNumber_Check(obj
)) {
1492 if (val
) *val
= PyInt_AsLong(obj
);
1496 SWIG_type_error("number", obj
);
1502 #if INT_MAX != LONG_MAX
1504 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1506 const char* errmsg
= val
? "int" : (char*)0;
1508 if (SWIG_AsVal_long(obj
, &v
)) {
1509 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1510 if (val
) *val
= (int)(v
);
1519 SWIG_type_error(errmsg
, obj
);
1525 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1527 return SWIG_AsVal_long(obj
,(long*)val
);
1533 SWIG_As_int(PyObject
* obj
)
1536 if (!SWIG_AsVal_int(obj
, &v
)) {
1538 this is needed to make valgrind/purify happier.
1540 memset((void*)&v
, 0, sizeof(int));
1547 SWIG_Check_int(PyObject
* obj
)
1549 return SWIG_AsVal_int(obj
, (int*)0);
1552 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1554 #include <wx/stockitem.h>
1556 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1557 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1558 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1560 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1561 #define SWIG_From_long PyInt_FromLong
1565 SWIGINTERNSHORT
long
1566 SWIG_As_long(PyObject
* obj
)
1569 if (!SWIG_AsVal_long(obj
, &v
)) {
1571 this is needed to make valgrind/purify happier.
1573 memset((void*)&v
, 0, sizeof(long));
1580 SWIG_Check_long(PyObject
* obj
)
1582 return SWIG_AsVal_long(obj
, (long*)0);
1587 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1589 if (obj
== Py_True
) {
1590 if (val
) *val
= true;
1593 if (obj
== Py_False
) {
1594 if (val
) *val
= false;
1598 if (SWIG_AsVal_int(obj
, &res
)) {
1599 if (val
) *val
= res
? true : false;
1605 SWIG_type_error("bool", obj
);
1611 SWIGINTERNSHORT
bool
1612 SWIG_As_bool(PyObject
* obj
)
1615 if (!SWIG_AsVal_bool(obj
, &v
)) {
1617 this is needed to make valgrind/purify happier.
1619 memset((void*)&v
, 0, sizeof(bool));
1626 SWIG_Check_bool(PyObject
* obj
)
1628 return SWIG_AsVal_bool(obj
, (bool*)0);
1632 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1638 } else if (target
== Py_None
) {
1642 if (!PyTuple_Check(target
)) {
1644 target
= PyTuple_New(1);
1645 PyTuple_SetItem(target
, 0, o2
);
1647 o3
= PyTuple_New(1);
1648 PyTuple_SetItem(o3
, 0, o
);
1651 target
= PySequence_Concat(o2
, o3
);
1661 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1664 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1665 SWIG_type_error("unsigned number", obj
);
1668 *val
= (unsigned long)v
;
1673 SWIGINTERNSHORT
unsigned long
1674 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1677 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1679 this is needed to make valgrind/purify happier.
1681 memset((void*)&v
, 0, sizeof(unsigned long));
1688 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1690 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1694 SWIGINTERNSHORT PyObject
*
1695 SWIG_From_unsigned_SS_long(unsigned long value
)
1697 return (value
> LONG_MAX
) ?
1698 PyLong_FromUnsignedLong(value
)
1699 : PyInt_FromLong((long)(value
));
1703 bool wxThread_IsMain() {
1704 #ifdef WXP_WITH_THREAD
1705 return wxThread::IsMain();
1712 int wxCaret_GetBlinkTime() {
1713 return wxCaret::GetBlinkTime();
1716 void wxCaret_SetBlinkTime(int milliseconds
) {
1717 wxCaret::SetBlinkTime(milliseconds
);
1721 #include <wx/snglinst.h>
1724 #include <wx/tipdlg.h>
1727 class wxPyTipProvider
: public wxTipProvider
{
1729 wxPyTipProvider(size_t currentTip
)
1730 : wxTipProvider(currentTip
) {}
1732 DEC_PYCALLBACK_STRING__pure(GetTip
);
1733 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1737 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1738 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1741 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1743 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1745 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1746 : wxTimer(owner
, id
)
1748 if (owner
== NULL
) SetOwner(this);
1752 void wxPyTimer::Notify() {
1754 bool blocked
= wxPyBeginBlockThreads();
1755 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1756 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1757 wxPyEndBlockThreads(blocked
);
1761 void wxPyTimer::base_Notify() {
1767 SWIGINTERN PyObject
*
1768 SWIG_FromCharPtr(const char* cptr
)
1771 size_t size
= strlen(cptr
);
1772 if (size
> INT_MAX
) {
1773 return SWIG_NewPointerObj((char*)(cptr
),
1774 SWIG_TypeQuery("char *"), 0);
1777 return PyString_FromStringAndSize(cptr
, size
);
1779 return PyString_FromString(cptr
);
1789 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1790 unsigned long max_value
,
1793 if (value
> max_value
) {
1795 PyErr_Format(PyExc_OverflowError
,
1796 "value %lu is greater than '%s' minimum %lu",
1797 value
, errmsg
, max_value
);
1805 #if UINT_MAX != ULONG_MAX
1807 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1809 const char* errmsg
= val
? "unsigned int" : (char*)0;
1811 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1812 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1813 if (val
) *val
= (unsigned int)(v
);
1820 SWIG_type_error(errmsg
, obj
);
1825 SWIGINTERNSHORT
unsigned int
1826 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1828 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1833 SWIGINTERNSHORT
unsigned int
1834 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1837 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1839 this is needed to make valgrind/purify happier.
1841 memset((void*)&v
, 0, sizeof(unsigned int));
1848 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1850 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1853 static wxString
Log_TimeStamp(){
1855 wxLog::TimeStamp(&msg
);
1858 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1859 // Make somce wrappers that double any % signs so they are 'escaped'
1860 void wxPyLogFatalError(const wxString
& msg
)
1863 m
.Replace(wxT("%"), wxT("%%"));
1867 void wxPyLogError(const wxString
& msg
)
1870 m
.Replace(wxT("%"), wxT("%%"));
1874 void wxPyLogWarning(const wxString
& msg
)
1877 m
.Replace(wxT("%"), wxT("%%"));
1881 void wxPyLogMessage(const wxString
& msg
)
1884 m
.Replace(wxT("%"), wxT("%%"));
1888 void wxPyLogInfo(const wxString
& msg
)
1891 m
.Replace(wxT("%"), wxT("%%"));
1895 void wxPyLogDebug(const wxString
& msg
)
1898 m
.Replace(wxT("%"), wxT("%%"));
1902 void wxPyLogVerbose(const wxString
& msg
)
1905 m
.Replace(wxT("%"), wxT("%%"));
1909 void wxPyLogStatus(const wxString
& msg
)
1912 m
.Replace(wxT("%"), wxT("%%"));
1916 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
1919 m
.Replace(wxT("%"), wxT("%%"));
1920 wxLogStatus(pFrame
, m
);
1923 void wxPyLogSysError(const wxString
& msg
)
1926 m
.Replace(wxT("%"), wxT("%%"));
1930 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
1933 m
.Replace(wxT("%"), wxT("%%"));
1934 wxLogGeneric(level
, m
);
1937 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
1940 m
.Replace(wxT("%"), wxT("%%"));
1941 wxLogTrace(mask
, m
);
1944 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
1947 m
.Replace(wxT("%"), wxT("%%"));
1948 wxLogTrace(mask
, m
);
1953 // A wxLog class that can be derived from in wxPython
1954 class wxPyLog
: public wxLog
{
1956 wxPyLog() : wxLog() {}
1958 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
1960 bool blocked
= wxPyBeginBlockThreads();
1961 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
1962 PyObject
* s
= wx2PyString(szString
);
1963 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
1966 wxPyEndBlockThreads(blocked
);
1968 wxLog::DoLog(level
, szString
, t
);
1971 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
1973 bool blocked
= wxPyBeginBlockThreads();
1974 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
1975 PyObject
* s
= wx2PyString(szString
);
1976 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
1979 wxPyEndBlockThreads(blocked
);
1981 wxLog::DoLogString(szString
, t
);
1990 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1993 #include <wx/joystick.h>
1996 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1997 // A C++ stub class for wxJoystick for platforms that don't have it.
1998 class wxJoystick
: public wxObject
{
2000 wxJoystick(int joystick
= wxJOYSTICK1
) {
2001 bool blocked
= wxPyBeginBlockThreads();
2002 PyErr_SetString(PyExc_NotImplementedError
,
2003 "wxJoystick is not available on this platform.");
2004 wxPyEndBlockThreads(blocked
);
2006 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2007 int GetZPosition() { return -1; }
2008 int GetButtonState() { return -1; }
2009 int GetPOVPosition() { return -1; }
2010 int GetPOVCTSPosition() { return -1; }
2011 int GetRudderPosition() { return -1; }
2012 int GetUPosition() { return -1; }
2013 int GetVPosition() { return -1; }
2014 int GetMovementThreshold() { return -1; }
2015 void SetMovementThreshold(int threshold
) {}
2017 bool IsOk(void) { return false; }
2018 int GetNumberJoysticks() { return -1; }
2019 int GetManufacturerId() { return -1; }
2020 int GetProductId() { return -1; }
2021 wxString
GetProductName() { return wxEmptyString
; }
2022 int GetXMin() { return -1; }
2023 int GetYMin() { return -1; }
2024 int GetZMin() { return -1; }
2025 int GetXMax() { return -1; }
2026 int GetYMax() { return -1; }
2027 int GetZMax() { return -1; }
2028 int GetNumberButtons() { return -1; }
2029 int GetNumberAxes() { return -1; }
2030 int GetMaxButtons() { return -1; }
2031 int GetMaxAxes() { return -1; }
2032 int GetPollingMin() { return -1; }
2033 int GetPollingMax() { return -1; }
2034 int GetRudderMin() { return -1; }
2035 int GetRudderMax() { return -1; }
2036 int GetUMin() { return -1; }
2037 int GetUMax() { return -1; }
2038 int GetVMin() { return -1; }
2039 int GetVMax() { return -1; }
2041 bool HasRudder() { return false; }
2042 bool HasZ() { return false; }
2043 bool HasU() { return false; }
2044 bool HasV() { return false; }
2045 bool HasPOV() { return false; }
2046 bool HasPOV4Dir() { return false; }
2047 bool HasPOVCTS() { return false; }
2049 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2050 bool ReleaseCapture() { return false; }
2055 #include <wx/sound.h>
2059 // A C++ stub class for wxWave for platforms that don't have it.
2060 class wxSound
: public wxObject
2064 bool blocked
= wxPyBeginBlockThreads();
2065 PyErr_SetString(PyExc_NotImplementedError
,
2066 "wxSound is not available on this platform.");
2067 wxPyEndBlockThreads(blocked
);
2069 wxSound(const wxString
&/*, bool*/) {
2070 bool blocked
= wxPyBeginBlockThreads();
2071 PyErr_SetString(PyExc_NotImplementedError
,
2072 "wxSound is not available on this platform.");
2073 wxPyEndBlockThreads(blocked
);
2075 wxSound(int, const wxByte
*) {
2076 bool blocked
= wxPyBeginBlockThreads();
2077 PyErr_SetString(PyExc_NotImplementedError
,
2078 "wxSound is not available on this platform.");
2079 wxPyEndBlockThreads(blocked
);
2084 bool Create(const wxString
&/*, bool*/) { return false; }
2085 bool Create(int, const wxByte
*) { return false; };
2086 bool IsOk() { return false; };
2087 bool Play(unsigned) const { return false; }
2088 static bool Play(const wxString
&, unsigned) { return false; }
2089 static void Stop() {}
2094 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2095 if (fileName
.Length() == 0)
2098 return new wxSound(fileName
);
2100 static wxSound
*new_wxSound(PyObject
*data
){
2101 unsigned char* buffer
; int size
;
2102 wxSound
*sound
= NULL
;
2104 bool blocked
= wxPyBeginBlockThreads();
2105 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2107 sound
= new wxSound(size
, buffer
);
2109 wxPyEndBlockThreads(blocked
);
2112 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2114 unsigned char* buffer
;
2118 bool blocked
= wxPyBeginBlockThreads();
2119 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2121 rv
= self
->Create(size
, buffer
);
2123 wxPyEndBlockThreads(blocked
);
2126 bool blocked
= wxPyBeginBlockThreads();
2127 PyErr_SetString(PyExc_NotImplementedError
,
2128 "Create from data is not available on this platform.");
2129 wxPyEndBlockThreads(blocked
);
2134 #include <wx/mimetype.h>
2136 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2138 if (self
->GetMimeType(&str
))
2139 return wx2PyString(str
);
2143 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2145 if (self
->GetMimeTypes(arr
))
2146 return wxArrayString2PyList_helper(arr
);
2150 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2152 if (self
->GetExtensions(arr
))
2153 return wxArrayString2PyList_helper(arr
);
2157 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2159 if (self
->GetIcon(&loc
))
2160 return new wxIcon(loc
);
2164 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2166 if (self
->GetIcon(&loc
)) {
2167 wxString iconFile
= loc
.GetFileName();
2170 iconIndex
= loc
.GetIndex();
2172 // Make a tuple and put the values in it
2173 bool blocked
= wxPyBeginBlockThreads();
2174 PyObject
* tuple
= PyTuple_New(3);
2175 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2176 wxT("wxIcon"), true));
2177 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2178 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2179 wxPyEndBlockThreads(blocked
);
2185 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2187 if (self
->GetDescription(&str
))
2188 return wx2PyString(str
);
2192 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2194 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2195 return wx2PyString(str
);
2199 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2201 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2202 return wx2PyString(str
);
2206 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2207 wxArrayString verbs
;
2208 wxArrayString commands
;
2209 if (self
->GetAllCommands(&verbs
, &commands
,
2210 wxFileType::MessageParameters(filename
, mimetype
))) {
2211 bool blocked
= wxPyBeginBlockThreads();
2212 PyObject
* tuple
= PyTuple_New(2);
2213 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2214 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2215 wxPyEndBlockThreads(blocked
);
2221 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2222 return wxFileType::ExpandCommand(command
,
2223 wxFileType::MessageParameters(filename
, mimetype
));
2225 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2227 self
->EnumAllFileTypes(arr
);
2228 return wxArrayString2PyList_helper(arr
);
2231 #include <wx/artprov.h>
2233 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2234 static const wxString
wxPyART_MENU(wxART_MENU
);
2235 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2236 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2237 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2238 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2239 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2240 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2241 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2242 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2243 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2244 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2245 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2246 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2247 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2248 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2249 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2250 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2251 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2252 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2253 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2254 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2255 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2256 static const wxString
wxPyART_HELP(wxART_HELP
);
2257 static const wxString
wxPyART_TIP(wxART_TIP
);
2258 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2259 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2260 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2261 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2262 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2263 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2264 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2265 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2266 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2267 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2268 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2269 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2270 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2271 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2272 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2273 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2274 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2275 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2276 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2277 // Python aware wxArtProvider
2278 class wxPyArtProvider
: public wxArtProvider
{
2281 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2282 const wxArtClient
& client
,
2283 const wxSize
& size
) {
2284 wxBitmap rval
= wxNullBitmap
;
2285 bool blocked
= wxPyBeginBlockThreads();
2286 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2287 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2291 s1
= wx2PyString(id
);
2292 s2
= wx2PyString(client
);
2293 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2298 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2303 wxPyEndBlockThreads(blocked
);
2310 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2314 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2315 PyObject
* ret
= PyTuple_New(3);
2317 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2318 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2319 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2324 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2329 cont
= self
->GetFirstGroup(value
, index
);
2330 return __EnumerationHelper(cont
, value
, index
);
2332 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2336 cont
= self
->GetNextGroup(value
, index
);
2337 return __EnumerationHelper(cont
, value
, index
);
2339 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2344 cont
= self
->GetFirstEntry(value
, index
);
2345 return __EnumerationHelper(cont
, value
, index
);
2347 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2351 cont
= self
->GetNextEntry(value
, index
);
2352 return __EnumerationHelper(cont
, value
, index
);
2354 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2356 self
->Read(key
, &rv
, defaultVal
);
2361 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2363 if (PyNumber_Check(obj
)) {
2364 if (val
) *val
= PyFloat_AsDouble(obj
);
2368 SWIG_type_error("number", obj
);
2374 SWIGINTERNSHORT
double
2375 SWIG_As_double(PyObject
* obj
)
2378 if (!SWIG_AsVal_double(obj
, &v
)) {
2380 this is needed to make valgrind/purify happier.
2382 memset((void*)&v
, 0, sizeof(double));
2389 SWIG_Check_double(PyObject
* obj
)
2391 return SWIG_AsVal_double(obj
, (double*)0);
2394 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2396 self
->Read(key
, &rv
, defaultVal
);
2400 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2401 #define SWIG_From_double PyFloat_FromDouble
2404 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2406 self
->Read(key
, &rv
, defaultVal
);
2410 #include <wx/datetime.h>
2412 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2413 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2415 #define LOCAL_TZ wxDateTime::Local
2418 #if UINT_MAX < LONG_MAX
2419 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2420 #define SWIG_From_unsigned_SS_int SWIG_From_long
2423 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2424 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2428 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2429 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2430 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2431 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2432 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2433 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2434 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2435 return (*self
< *other
);
2437 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2438 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2439 return (*self
<= *other
);
2441 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2442 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2443 return (*self
> *other
);
2445 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2446 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2447 return (*self
>= *other
);
2449 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2450 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2451 return (*self
== *other
);
2453 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2454 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2455 return (*self
!= *other
);
2457 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2459 const wxChar
* _date
= date
;
2460 rv
= self
->ParseRfc822Date(_date
);
2461 if (rv
== NULL
) return -1;
2464 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2466 const wxChar
* _date
= date
;
2467 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2468 if (rv
== NULL
) return -1;
2471 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2473 const wxChar
* _datetime
= datetime
;
2474 rv
= self
->ParseDateTime(_datetime
);
2475 if (rv
== NULL
) return -1;
2476 return rv
- _datetime
;
2478 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2480 const wxChar
* _date
= date
;
2481 rv
= self
->ParseDate(_date
);
2482 if (rv
== NULL
) return -1;
2485 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2487 const wxChar
* _time
= time
;
2488 rv
= self
->ParseTime(_time
);
2489 if (rv
== NULL
) return -1;
2492 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2493 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2494 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2495 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2496 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2497 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2498 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2499 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2500 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2501 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2502 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2503 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2504 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2505 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2506 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2507 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2509 #include <wx/dataobj.h>
2511 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2512 size_t count
= self
->GetFormatCount(dir
);
2513 wxDataFormat
* formats
= new wxDataFormat
[count
];
2514 self
->GetAllFormats(formats
, dir
);
2516 bool blocked
= wxPyBeginBlockThreads();
2517 PyObject
* list
= PyList_New(count
);
2518 for (size_t i
=0; i
<count
; i
++) {
2519 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2520 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2521 PyList_Append(list
, obj
);
2524 wxPyEndBlockThreads(blocked
);
2528 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2529 PyObject
* rval
= NULL
;
2530 size_t size
= self
->GetDataSize(format
);
2531 bool blocked
= wxPyBeginBlockThreads();
2533 char* buf
= new char[size
];
2534 if (self
->GetDataHere(format
, buf
))
2535 rval
= PyString_FromStringAndSize(buf
, size
);
2542 wxPyEndBlockThreads(blocked
);
2545 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2547 bool blocked
= wxPyBeginBlockThreads();
2548 if (PyString_Check(data
)) {
2549 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2552 // raise a TypeError if not a string
2553 PyErr_SetString(PyExc_TypeError
, "String expected.");
2556 wxPyEndBlockThreads(blocked
);
2559 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2560 PyObject
* rval
= NULL
;
2561 size_t size
= self
->GetDataSize();
2562 bool blocked
= wxPyBeginBlockThreads();
2564 char* buf
= new char[size
];
2565 if (self
->GetDataHere(buf
))
2566 rval
= PyString_FromStringAndSize(buf
, size
);
2573 wxPyEndBlockThreads(blocked
);
2576 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2578 bool blocked
= wxPyBeginBlockThreads();
2579 if (PyString_Check(data
)) {
2580 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2583 // raise a TypeError if not a string
2584 PyErr_SetString(PyExc_TypeError
, "String expected.");
2587 wxPyEndBlockThreads(blocked
);
2590 // Create a new class for wxPython to use
2591 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2593 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2594 : wxDataObjectSimple(format
) {}
2596 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2597 bool GetDataHere(void *buf
) const;
2598 bool SetData(size_t len
, const void *buf
) const;
2602 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2604 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2605 // We need to get the data for this object and write it to buf. I think
2606 // the best way to do this for wxPython is to have the Python method
2607 // return either a string or None and then act appropriately with the
2611 bool blocked
= wxPyBeginBlockThreads();
2612 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2614 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2616 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2618 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2622 wxPyEndBlockThreads(blocked
);
2626 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2627 // For this one we simply need to make a string from buf and len
2628 // and send it to the Python method.
2630 bool blocked
= wxPyBeginBlockThreads();
2631 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2632 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2633 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2636 wxPyEndBlockThreads(blocked
);
2640 // Create a new class for wxPython to use
2641 class wxPyTextDataObject
: public wxTextDataObject
{
2643 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2644 : wxTextDataObject(text
) {}
2646 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2647 DEC_PYCALLBACK_STRING__const(GetText
);
2648 DEC_PYCALLBACK__STRING(SetText
);
2652 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2653 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2654 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2657 // Create a new class for wxPython to use
2658 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2660 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2661 : wxBitmapDataObject(bitmap
) {}
2663 wxBitmap
GetBitmap() const;
2664 void SetBitmap(const wxBitmap
& bitmap
);
2668 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2669 wxBitmap
* rval
= &wxNullBitmap
;
2670 bool blocked
= wxPyBeginBlockThreads();
2671 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2674 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2676 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2681 wxPyEndBlockThreads(blocked
);
2685 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2686 bool blocked
= wxPyBeginBlockThreads();
2687 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2688 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2689 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2692 wxPyEndBlockThreads(blocked
);
2695 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2696 return new wxCustomDataObject(wxDataFormat(formatName
));
2698 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2700 bool blocked
= wxPyBeginBlockThreads();
2701 if (PyString_Check(data
)) {
2702 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2705 // raise a TypeError if not a string
2706 PyErr_SetString(PyExc_TypeError
, "String expected.");
2709 wxPyEndBlockThreads(blocked
);
2712 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2714 bool blocked
= wxPyBeginBlockThreads();
2715 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2716 wxPyEndBlockThreads(blocked
);
2720 #include <wx/metafile.h>
2723 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2726 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2727 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2728 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2729 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2730 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2733 class wxPyTextDropTarget
: public wxTextDropTarget
{
2735 wxPyTextDropTarget() {}
2737 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2739 DEC_PYCALLBACK__(OnLeave
);
2740 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2741 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2742 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2743 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2748 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2749 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2750 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2751 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2752 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2753 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2757 class wxPyFileDropTarget
: public wxFileDropTarget
{
2759 wxPyFileDropTarget() {}
2761 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2763 DEC_PYCALLBACK__(OnLeave
);
2764 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2765 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2766 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2767 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2772 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2773 const wxArrayString
& filenames
) {
2775 bool blocked
= wxPyBeginBlockThreads();
2776 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2777 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2778 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2781 wxPyEndBlockThreads(blocked
);
2787 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2788 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2789 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2790 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2791 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2796 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2798 #include <wx/display.h>
2800 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2801 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2803 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2805 #include <wx/dynarray.h>
2806 #include <wx/vidmode.h>
2808 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2809 #include "wx/arrimpl.cpp"
2810 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2811 const wxVideoMode wxDefaultVideoMode
;
2816 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2819 static size_t GetCount()
2820 { wxPyRaiseNotImplemented(); return 0; }
2822 static int GetFromPoint(const wxPoint
& pt
)
2823 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2824 static int GetFromWindow(wxWindow
*window
)
2825 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2827 virtual bool IsOk() const { return false; }
2828 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2829 virtual wxString
GetName() const { return wxEmptyString
; }
2830 bool IsPrimary() const { return false; }
2832 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2833 { wxArrayVideoModes a
; return a
; }
2835 virtual wxVideoMode
GetCurrentMode() const
2836 { return wxDefaultVideoMode
; }
2838 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2845 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2846 PyObject
* pyList
= NULL
;
2847 wxArrayVideoModes arr
= self
->GetModes(mode
);
2848 bool blocked
= wxPyBeginBlockThreads();
2849 pyList
= PyList_New(0);
2850 for (int i
=0; i
< arr
.GetCount(); i
++) {
2851 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2852 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2853 PyList_Append(pyList
, pyObj
);
2856 wxPyEndBlockThreads(blocked
);
2860 #include <wx/stdpaths.h>
2862 static wxStandardPaths
*StandardPaths_Get(){
2863 return (wxStandardPaths
*) &wxStandardPaths::Get();
2865 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2866 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2870 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxSystemColour arg1
;
2874 PyObject
* obj0
= 0 ;
2876 (char *) "index", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2881 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2882 if (SWIG_arg_fail(1)) SWIG_fail
;
2885 if (!wxPyCheckForApp()) SWIG_fail
;
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2893 wxColour
* resultptr
;
2894 resultptr
= new wxColour((wxColour
&)(result
));
2895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2903 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "index", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
2914 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
2915 if (SWIG_arg_fail(1)) SWIG_fail
;
2918 if (!wxPyCheckForApp()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2927 resultptr
= new wxFont((wxFont
&)(result
));
2928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
2936 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 wxSystemMetric arg1
;
2940 PyObject
* obj0
= 0 ;
2942 (char *) "index", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
2947 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
2948 if (SWIG_arg_fail(1)) SWIG_fail
;
2951 if (!wxPyCheckForApp()) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= SWIG_From_int((int)(result
));
2967 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxSystemFeature arg1
;
2971 PyObject
* obj0
= 0 ;
2973 (char *) "index", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
2978 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
2979 if (SWIG_arg_fail(1)) SWIG_fail
;
2982 if (!wxPyCheckForApp()) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2998 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxSystemScreenType result
;
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3007 if (!wxPyCheckForApp()) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= SWIG_From_int((result
));
3021 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxSystemScreenType arg1
;
3024 PyObject
* obj0
= 0 ;
3026 (char *) "screen", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3031 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3032 if (SWIG_arg_fail(1)) SWIG_fail
;
3035 if (!wxPyCheckForApp()) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 Py_INCREF(Py_None
); resultobj
= Py_None
;
3049 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3052 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3054 return Py_BuildValue((char *)"");
3056 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3057 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3062 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3067 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3069 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3076 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxSystemOptions
*result
;
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (wxSystemOptions
*)new wxSystemOptions();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3098 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxString
*arg1
= 0 ;
3101 wxString
*arg2
= 0 ;
3102 bool temp1
= false ;
3103 bool temp2
= false ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "name",(char *) "value", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3112 arg1
= wxString_in_helper(obj0
);
3113 if (arg1
== NULL
) SWIG_fail
;
3117 arg2
= wxString_in_helper(obj1
);
3118 if (arg2
== NULL
) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxString
*arg1
= 0 ;
3155 bool temp1
= false ;
3156 PyObject
* obj0
= 0 ;
3157 PyObject
* obj1
= 0 ;
3159 (char *) "name",(char *) "value", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3164 arg1
= wxString_in_helper(obj0
);
3165 if (arg1
== NULL
) SWIG_fail
;
3169 arg2
= (int)(SWIG_As_int(obj1
));
3170 if (SWIG_arg_fail(2)) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 Py_INCREF(Py_None
); resultobj
= Py_None
;
3194 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxString
*arg1
= 0 ;
3198 bool temp1
= false ;
3199 PyObject
* obj0
= 0 ;
3201 (char *) "name", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3206 arg1
= wxString_in_helper(obj0
);
3207 if (arg1
== NULL
) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3238 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxString
*arg1
= 0 ;
3242 bool temp1
= false ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "name", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3250 arg1
= wxString_in_helper(obj0
);
3251 if (arg1
== NULL
) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 resultobj
= SWIG_From_int((int)(result
));
3278 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxString
*arg1
= 0 ;
3282 bool temp1
= false ;
3283 PyObject
* obj0
= 0 ;
3285 (char *) "name", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3290 arg1
= wxString_in_helper(obj0
);
3291 if (arg1
== NULL
) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3318 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3321 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3323 return Py_BuildValue((char *)"");
3325 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3326 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3331 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3336 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3338 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3345 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3346 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3351 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3356 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3358 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3365 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3366 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3371 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3376 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3378 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3385 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= (long)wxNewId();
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= SWIG_From_long((long)(result
));
3409 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3412 PyObject
* obj0
= 0 ;
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3419 arg1
= (long)(SWIG_As_long(obj0
));
3420 if (SWIG_arg_fail(1)) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 Py_INCREF(Py_None
); resultobj
= Py_None
;
3436 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (long)wxGetCurrentId();
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_From_long((long)(result
));
3460 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3464 PyObject
* obj0
= 0 ;
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3471 arg1
= (int)(SWIG_As_int(obj0
));
3472 if (SWIG_arg_fail(1)) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (bool)wxIsStockID(arg1
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3490 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3493 wxString
*arg2
= 0 ;
3495 bool temp2
= false ;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3499 (char *) "id",(char *) "label", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3504 arg1
= (int)(SWIG_As_int(obj0
));
3505 if (SWIG_arg_fail(1)) SWIG_fail
;
3508 arg2
= wxString_in_helper(obj1
);
3509 if (arg2
== NULL
) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3536 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3539 bool arg2
= (bool) true ;
3540 wxString arg3
= (wxString
) wxPyEmptyString
;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3544 PyObject
* obj2
= 0 ;
3546 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3551 arg1
= (int)(SWIG_As_int(obj0
));
3552 if (SWIG_arg_fail(1)) SWIG_fail
;
3556 arg2
= (bool)(SWIG_As_bool(obj1
));
3557 if (SWIG_arg_fail(2)) SWIG_fail
;
3562 wxString
* sptr
= wxString_in_helper(obj2
);
3563 if (sptr
== NULL
) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3588 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3596 if (!wxPyCheckForApp()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 Py_INCREF(Py_None
); resultobj
= Py_None
;
3610 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3618 if (!wxPyCheckForApp()) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 Py_INCREF(Py_None
); resultobj
= Py_None
;
3632 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 bool arg1
= (bool) true ;
3636 PyObject
* obj0
= 0 ;
3638 (char *) "resetTimer", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3644 arg1
= (bool)(SWIG_As_bool(obj0
));
3645 if (SWIG_arg_fail(1)) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (long)wxGetElapsedTime(arg1
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_From_long((long)(result
));
3664 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 int *arg1
= (int *) 0 ;
3667 int *arg2
= (int *) 0 ;
3676 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3677 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3680 if (!wxPyCheckForApp()) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 wxGetMousePosition(arg1
,arg2
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3689 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3690 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3691 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3698 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 result
= (bool)wxIsBusy();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3722 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3750 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3753 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3755 bool temp1
= false ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "command", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3764 arg1
= wxString_in_helper(obj0
);
3765 if (arg1
== NULL
) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (bool)wxShell((wxString
const &)*arg1
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3793 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 Py_INCREF(Py_None
); resultobj
= Py_None
;
3814 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 int *arg1
= (int *) 0 ;
3817 int *arg2
= (int *) 0 ;
3827 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3828 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (int)wxGetOsVersion(arg1
,arg2
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 resultobj
= SWIG_From_int((int)(result
));
3840 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3841 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3842 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3843 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3850 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= wxGetOsDescription();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3878 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (long)wxGetFreeMemory();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_From_long((long)(result
));
3902 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxShutdownFlags arg1
;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "wFlags", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3913 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3914 if (SWIG_arg_fail(1)) SWIG_fail
;
3917 if (!wxPyCheckForApp()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3933 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3936 PyObject
* obj0
= 0 ;
3938 (char *) "secs", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
3943 arg1
= (int)(SWIG_As_int(obj0
));
3944 if (SWIG_arg_fail(1)) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 Py_INCREF(Py_None
); resultobj
= Py_None
;
3960 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 unsigned long arg1
;
3963 PyObject
* obj0
= 0 ;
3965 (char *) "milliseconds", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
3970 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3971 if (SWIG_arg_fail(1)) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 unsigned long arg1
;
3990 PyObject
* obj0
= 0 ;
3992 (char *) "microseconds", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
3997 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3998 if (SWIG_arg_fail(1)) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 Py_INCREF(Py_None
); resultobj
= Py_None
;
4014 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4017 PyObject
* obj0
= 0 ;
4019 (char *) "enable", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4024 arg1
= (bool)(SWIG_As_bool(obj0
));
4025 if (SWIG_arg_fail(1)) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 wxEnableTopLevelWindows(arg1
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 Py_INCREF(Py_None
); resultobj
= Py_None
;
4041 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxString
*arg1
= 0 ;
4045 bool temp1
= false ;
4046 PyObject
* obj0
= 0 ;
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4053 arg1
= wxString_in_helper(obj0
);
4054 if (arg1
== NULL
) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4085 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= wxGetEmailAddress();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4113 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= wxGetHostName();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4141 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= wxGetFullHostName();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4169 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= wxGetUserId();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4197 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= wxGetUserName();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4225 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= wxGetHomeDir();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4253 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4256 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4258 bool temp1
= false ;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "user", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4267 arg1
= wxString_in_helper(obj0
);
4268 if (arg1
== NULL
) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= wxGetUserHome((wxString
const &)*arg1
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4300 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 unsigned long result
;
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (unsigned long)wxGetProcessId();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4324 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 Py_INCREF(Py_None
); resultobj
= Py_None
;
4345 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4348 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4349 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4350 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4351 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4352 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4353 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4354 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4355 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4356 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4357 int arg6
= (int) 0 ;
4358 wxWindow
*arg7
= (wxWindow
*) NULL
;
4359 int arg8
= (int) -1 ;
4360 int arg9
= (int) -1 ;
4362 bool temp1
= false ;
4363 bool temp2
= false ;
4364 bool temp3
= false ;
4365 bool temp4
= false ;
4366 bool temp5
= false ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4369 PyObject
* obj2
= 0 ;
4370 PyObject
* obj3
= 0 ;
4371 PyObject
* obj4
= 0 ;
4372 PyObject
* obj5
= 0 ;
4373 PyObject
* obj6
= 0 ;
4374 PyObject
* obj7
= 0 ;
4375 PyObject
* obj8
= 0 ;
4377 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4383 arg1
= wxString_in_helper(obj0
);
4384 if (arg1
== NULL
) SWIG_fail
;
4390 arg2
= wxString_in_helper(obj1
);
4391 if (arg2
== NULL
) SWIG_fail
;
4397 arg3
= wxString_in_helper(obj2
);
4398 if (arg3
== NULL
) SWIG_fail
;
4404 arg4
= wxString_in_helper(obj3
);
4405 if (arg4
== NULL
) SWIG_fail
;
4411 arg5
= wxString_in_helper(obj4
);
4412 if (arg5
== NULL
) SWIG_fail
;
4418 arg6
= (int)(SWIG_As_int(obj5
));
4419 if (SWIG_arg_fail(6)) SWIG_fail
;
4423 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4424 if (SWIG_arg_fail(7)) SWIG_fail
;
4428 arg8
= (int)(SWIG_As_int(obj7
));
4429 if (SWIG_arg_fail(8)) SWIG_fail
;
4434 arg9
= (int)(SWIG_As_int(obj8
));
4435 if (SWIG_arg_fail(9)) SWIG_fail
;
4439 if (!wxPyCheckForApp()) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4499 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4501 wxString
*arg1
= 0 ;
4502 wxString
*arg2
= 0 ;
4503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4505 wxWindow
*arg4
= (wxWindow
*) NULL
;
4507 bool temp1
= false ;
4508 bool temp2
= false ;
4509 bool temp3
= false ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4512 PyObject
* obj2
= 0 ;
4513 PyObject
* obj3
= 0 ;
4515 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4520 arg1
= wxString_in_helper(obj0
);
4521 if (arg1
== NULL
) SWIG_fail
;
4525 arg2
= wxString_in_helper(obj1
);
4526 if (arg2
== NULL
) SWIG_fail
;
4531 arg3
= wxString_in_helper(obj2
);
4532 if (arg3
== NULL
) SWIG_fail
;
4537 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4538 if (SWIG_arg_fail(4)) SWIG_fail
;
4541 if (!wxPyCheckForApp()) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4585 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxString
*arg1
= 0 ;
4588 wxString
*arg2
= 0 ;
4589 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4590 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4591 wxWindow
*arg4
= (wxWindow
*) NULL
;
4593 bool temp1
= false ;
4594 bool temp2
= false ;
4595 bool temp3
= false ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4598 PyObject
* obj2
= 0 ;
4599 PyObject
* obj3
= 0 ;
4601 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4606 arg1
= wxString_in_helper(obj0
);
4607 if (arg1
== NULL
) SWIG_fail
;
4611 arg2
= wxString_in_helper(obj1
);
4612 if (arg2
== NULL
) SWIG_fail
;
4617 arg3
= wxString_in_helper(obj2
);
4618 if (arg3
== NULL
) SWIG_fail
;
4623 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4624 if (SWIG_arg_fail(4)) SWIG_fail
;
4627 if (!wxPyCheckForApp()) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4671 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4674 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4675 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4676 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4677 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4678 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4679 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4680 wxWindow
*arg5
= (wxWindow
*) NULL
;
4682 bool temp1
= false ;
4683 bool temp2
= false ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 PyObject
* obj3
= 0 ;
4689 PyObject
* obj4
= 0 ;
4691 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4697 arg1
= wxString_in_helper(obj0
);
4698 if (arg1
== NULL
) SWIG_fail
;
4704 arg2
= wxString_in_helper(obj1
);
4705 if (arg2
== NULL
) SWIG_fail
;
4711 arg3
= (long)(SWIG_As_long(obj2
));
4712 if (SWIG_arg_fail(3)) SWIG_fail
;
4718 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4722 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4723 if (SWIG_arg_fail(5)) SWIG_fail
;
4726 if (!wxPyCheckForApp()) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4762 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxString
*arg1
= 0 ;
4765 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4766 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4769 wxWindow
*arg4
= (wxWindow
*) NULL
;
4770 int arg5
= (int) -1 ;
4771 int arg6
= (int) -1 ;
4772 bool arg7
= (bool) true ;
4774 bool temp1
= false ;
4775 bool temp2
= false ;
4776 bool temp3
= false ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4780 PyObject
* obj3
= 0 ;
4781 PyObject
* obj4
= 0 ;
4782 PyObject
* obj5
= 0 ;
4783 PyObject
* obj6
= 0 ;
4785 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4790 arg1
= wxString_in_helper(obj0
);
4791 if (arg1
== NULL
) SWIG_fail
;
4796 arg2
= wxString_in_helper(obj1
);
4797 if (arg2
== NULL
) SWIG_fail
;
4803 arg3
= wxString_in_helper(obj2
);
4804 if (arg3
== NULL
) SWIG_fail
;
4809 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4810 if (SWIG_arg_fail(4)) SWIG_fail
;
4814 arg5
= (int)(SWIG_As_int(obj4
));
4815 if (SWIG_arg_fail(5)) SWIG_fail
;
4820 arg6
= (int)(SWIG_As_int(obj5
));
4821 if (SWIG_arg_fail(6)) SWIG_fail
;
4826 arg7
= (bool)(SWIG_As_bool(obj6
));
4827 if (SWIG_arg_fail(7)) SWIG_fail
;
4831 if (!wxPyCheckForApp()) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4875 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxString
*arg1
= 0 ;
4878 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4879 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4880 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4881 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4882 wxWindow
*arg4
= (wxWindow
*) NULL
;
4884 bool temp1
= false ;
4885 bool temp2
= false ;
4886 bool temp3
= false ;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4890 PyObject
* obj3
= 0 ;
4892 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4897 arg1
= wxString_in_helper(obj0
);
4898 if (arg1
== NULL
) SWIG_fail
;
4903 arg2
= wxString_in_helper(obj1
);
4904 if (arg2
== NULL
) SWIG_fail
;
4910 arg3
= wxString_in_helper(obj2
);
4911 if (arg3
== NULL
) SWIG_fail
;
4916 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4917 if (SWIG_arg_fail(4)) SWIG_fail
;
4920 if (!wxPyCheckForApp()) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4964 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxString
*arg1
= 0 ;
4967 wxString
*arg2
= 0 ;
4969 wxString
*arg4
= (wxString
*) 0 ;
4970 wxWindow
*arg5
= (wxWindow
*) NULL
;
4971 int arg6
= (int) -1 ;
4972 int arg7
= (int) -1 ;
4973 bool arg8
= (bool) true ;
4974 int arg9
= (int) 150 ;
4975 int arg10
= (int) 200 ;
4977 bool temp1
= false ;
4978 bool temp2
= false ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 PyObject
* obj2
= 0 ;
4982 PyObject
* obj3
= 0 ;
4983 PyObject
* obj4
= 0 ;
4984 PyObject
* obj5
= 0 ;
4985 PyObject
* obj6
= 0 ;
4986 PyObject
* obj7
= 0 ;
4987 PyObject
* obj8
= 0 ;
4989 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4994 arg1
= wxString_in_helper(obj0
);
4995 if (arg1
== NULL
) SWIG_fail
;
4999 arg2
= wxString_in_helper(obj1
);
5000 if (arg2
== NULL
) SWIG_fail
;
5004 arg3
= PyList_Size(obj2
);
5005 arg4
= wxString_LIST_helper(obj2
);
5006 if (arg4
== NULL
) SWIG_fail
;
5009 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5010 if (SWIG_arg_fail(5)) SWIG_fail
;
5014 arg6
= (int)(SWIG_As_int(obj4
));
5015 if (SWIG_arg_fail(6)) SWIG_fail
;
5020 arg7
= (int)(SWIG_As_int(obj5
));
5021 if (SWIG_arg_fail(7)) SWIG_fail
;
5026 arg8
= (bool)(SWIG_As_bool(obj6
));
5027 if (SWIG_arg_fail(8)) SWIG_fail
;
5032 arg9
= (int)(SWIG_As_int(obj7
));
5033 if (SWIG_arg_fail(9)) SWIG_fail
;
5038 arg10
= (int)(SWIG_As_int(obj8
));
5039 if (SWIG_arg_fail(10)) SWIG_fail
;
5043 if (!wxPyCheckForApp()) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5066 if (arg4
) delete [] arg4
;
5079 if (arg4
) delete [] arg4
;
5085 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxString
*arg1
= 0 ;
5088 wxString
*arg2
= 0 ;
5090 wxString
*arg4
= (wxString
*) 0 ;
5091 wxWindow
*arg5
= (wxWindow
*) NULL
;
5092 int arg6
= (int) -1 ;
5093 int arg7
= (int) -1 ;
5094 bool arg8
= (bool) true ;
5095 int arg9
= (int) 150 ;
5096 int arg10
= (int) 200 ;
5098 bool temp1
= false ;
5099 bool temp2
= false ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 PyObject
* obj2
= 0 ;
5103 PyObject
* obj3
= 0 ;
5104 PyObject
* obj4
= 0 ;
5105 PyObject
* obj5
= 0 ;
5106 PyObject
* obj6
= 0 ;
5107 PyObject
* obj7
= 0 ;
5108 PyObject
* obj8
= 0 ;
5110 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5115 arg1
= wxString_in_helper(obj0
);
5116 if (arg1
== NULL
) SWIG_fail
;
5120 arg2
= wxString_in_helper(obj1
);
5121 if (arg2
== NULL
) SWIG_fail
;
5125 arg3
= PyList_Size(obj2
);
5126 arg4
= wxString_LIST_helper(obj2
);
5127 if (arg4
== NULL
) SWIG_fail
;
5130 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5131 if (SWIG_arg_fail(5)) SWIG_fail
;
5135 arg6
= (int)(SWIG_As_int(obj4
));
5136 if (SWIG_arg_fail(6)) SWIG_fail
;
5141 arg7
= (int)(SWIG_As_int(obj5
));
5142 if (SWIG_arg_fail(7)) SWIG_fail
;
5147 arg8
= (bool)(SWIG_As_bool(obj6
));
5148 if (SWIG_arg_fail(8)) SWIG_fail
;
5153 arg9
= (int)(SWIG_As_int(obj7
));
5154 if (SWIG_arg_fail(9)) SWIG_fail
;
5159 arg10
= (int)(SWIG_As_int(obj8
));
5160 if (SWIG_arg_fail(10)) SWIG_fail
;
5164 if (!wxPyCheckForApp()) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_From_int((int)(result
));
5183 if (arg4
) delete [] arg4
;
5196 if (arg4
) delete [] arg4
;
5202 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxString
*arg1
= 0 ;
5205 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5206 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5207 int arg3
= (int) wxOK
|wxCENTRE
;
5208 wxWindow
*arg4
= (wxWindow
*) NULL
;
5209 int arg5
= (int) -1 ;
5210 int arg6
= (int) -1 ;
5212 bool temp1
= false ;
5213 bool temp2
= false ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 PyObject
* obj2
= 0 ;
5217 PyObject
* obj3
= 0 ;
5218 PyObject
* obj4
= 0 ;
5219 PyObject
* obj5
= 0 ;
5221 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5226 arg1
= wxString_in_helper(obj0
);
5227 if (arg1
== NULL
) SWIG_fail
;
5232 arg2
= wxString_in_helper(obj1
);
5233 if (arg2
== NULL
) SWIG_fail
;
5239 arg3
= (int)(SWIG_As_int(obj2
));
5240 if (SWIG_arg_fail(3)) SWIG_fail
;
5244 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5245 if (SWIG_arg_fail(4)) SWIG_fail
;
5249 arg5
= (int)(SWIG_As_int(obj4
));
5250 if (SWIG_arg_fail(5)) SWIG_fail
;
5255 arg6
= (int)(SWIG_As_int(obj5
));
5256 if (SWIG_arg_fail(6)) SWIG_fail
;
5260 if (!wxPyCheckForApp()) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_From_int((int)(result
));
5292 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxString
*arg1
= 0 ;
5295 wxString
*arg2
= 0 ;
5296 wxString
*arg3
= 0 ;
5298 long arg5
= (long) 0 ;
5299 long arg6
= (long) 100 ;
5300 wxWindow
*arg7
= (wxWindow
*) NULL
;
5301 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5302 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5304 bool temp1
= false ;
5305 bool temp2
= false ;
5306 bool temp3
= false ;
5308 PyObject
* obj0
= 0 ;
5309 PyObject
* obj1
= 0 ;
5310 PyObject
* obj2
= 0 ;
5311 PyObject
* obj3
= 0 ;
5312 PyObject
* obj4
= 0 ;
5313 PyObject
* obj5
= 0 ;
5314 PyObject
* obj6
= 0 ;
5315 PyObject
* obj7
= 0 ;
5317 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5322 arg1
= wxString_in_helper(obj0
);
5323 if (arg1
== NULL
) SWIG_fail
;
5327 arg2
= wxString_in_helper(obj1
);
5328 if (arg2
== NULL
) SWIG_fail
;
5332 arg3
= wxString_in_helper(obj2
);
5333 if (arg3
== NULL
) SWIG_fail
;
5337 arg4
= (long)(SWIG_As_long(obj3
));
5338 if (SWIG_arg_fail(4)) SWIG_fail
;
5342 arg5
= (long)(SWIG_As_long(obj4
));
5343 if (SWIG_arg_fail(5)) SWIG_fail
;
5348 arg6
= (long)(SWIG_As_long(obj5
));
5349 if (SWIG_arg_fail(6)) SWIG_fail
;
5353 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5354 if (SWIG_arg_fail(7)) SWIG_fail
;
5359 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5363 if (!wxPyCheckForApp()) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_From_long((long)(result
));
5403 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5412 if (!wxPyCheckForApp()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (bool)wxColourDisplay();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5428 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (int)wxDisplayDepth();
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_From_int((int)(result
));
5453 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5462 if (!wxPyCheckForApp()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)wxGetDisplayDepth();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int((int)(result
));
5478 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 int *arg1
= (int *) 0 ;
5481 int *arg2
= (int *) 0 ;
5490 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5491 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5494 if (!wxPyCheckForApp()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 wxDisplaySize(arg1
,arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 Py_INCREF(Py_None
); resultobj
= Py_None
;
5502 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5503 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5504 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5505 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5512 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5521 if (!wxPyCheckForApp()) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= wxGetDisplaySize();
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5530 resultptr
= new wxSize((wxSize
&)(result
));
5531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5539 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 int *arg1
= (int *) 0 ;
5542 int *arg2
= (int *) 0 ;
5551 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5552 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5555 if (!wxPyCheckForApp()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 wxDisplaySizeMM(arg1
,arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5563 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5564 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5565 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5566 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5573 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5582 if (!wxPyCheckForApp()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= wxGetDisplaySizeMM();
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5591 resultptr
= new wxSize((wxSize
&)(result
));
5592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5600 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 int *arg1
= (int *) 0 ;
5603 int *arg2
= (int *) 0 ;
5604 int *arg3
= (int *) 0 ;
5605 int *arg4
= (int *) 0 ;
5618 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5619 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5620 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5621 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5624 if (!wxPyCheckForApp()) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5633 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5634 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5635 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5636 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5637 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5638 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5639 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5646 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5655 if (!wxPyCheckForApp()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= wxGetClientDisplayRect();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5664 resultptr
= new wxRect((wxRect
&)(result
));
5665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5673 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxCursor
*arg1
= 0 ;
5676 PyObject
* obj0
= 0 ;
5678 (char *) "cursor", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5684 if (SWIG_arg_fail(1)) SWIG_fail
;
5686 SWIG_null_ref("wxCursor");
5688 if (SWIG_arg_fail(1)) SWIG_fail
;
5691 if (!wxPyCheckForApp()) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5708 PyObject
* obj0
= 0 ;
5710 (char *) "cursor", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5716 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 if (!wxPyCheckForApp()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 wxBeginBusyCursor(arg1
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 Py_INCREF(Py_None
); resultobj
= Py_None
;
5733 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5742 if (!wxPyCheckForApp()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (wxWindow
*)wxGetActiveWindow();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= wxPyMake_wxObject(result
, 0);
5758 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5763 PyObject
* obj0
= 0 ;
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5771 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5774 if (!wxPyCheckForApp()) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= wxPyMake_wxObject(result
, 0);
5790 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5795 PyObject
* obj0
= 0 ;
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5803 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5806 if (!wxPyCheckForApp()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= wxPyMake_wxObject(result
, 0);
5822 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxWindow
*arg1
= (wxWindow
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "win", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail
;
5835 if (!wxPyCheckForApp()) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= wxPyMake_wxObject(result
, 0);
5851 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5855 PyObject
* obj0
= 0 ;
5857 (char *) "key", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5862 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5863 if (SWIG_arg_fail(1)) SWIG_fail
;
5866 if (!wxPyCheckForApp()) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5882 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5890 if (!wxPyCheckForApp()) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 wxWakeUpMainThread();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 Py_INCREF(Py_None
); resultobj
= Py_None
;
5904 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5912 if (!wxPyCheckForApp()) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
5934 if (!wxPyCheckForApp()) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxMutexGuiLocker
*result
;
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
5957 if (!wxPyCheckForApp()) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
5971 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5976 (char *) "self", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
5980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
5981 if (SWIG_arg_fail(1)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
5998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6001 return Py_BuildValue((char *)"");
6003 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (bool)wxThread_IsMain();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6027 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxString
*arg1
= 0 ;
6031 bool temp1
= false ;
6032 PyObject
* obj0
= 0 ;
6034 (char *) "tip", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6039 arg1
= wxString_in_helper(obj0
);
6040 if (arg1
== NULL
) SWIG_fail
;
6044 if (!wxPyCheckForApp()) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= wxPyMake_wxObject(result
, 1);
6068 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6071 wxString
*arg2
= 0 ;
6072 bool temp2
= false ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6076 (char *) "self",(char *) "tip", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6081 if (SWIG_arg_fail(1)) SWIG_fail
;
6083 arg2
= wxString_in_helper(obj1
);
6084 if (arg2
== NULL
) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 (arg1
)->SetTip((wxString
const &)*arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 Py_INCREF(Py_None
); resultobj
= Py_None
;
6109 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (arg1
)->GetTip();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6141 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6147 (char *) "self", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6152 if (SWIG_arg_fail(1)) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (wxWindow
*)(arg1
)->GetWindow();
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= wxPyMake_wxObject(result
, 0);
6169 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "flag", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6179 arg1
= (bool)(SWIG_As_bool(obj0
));
6180 if (SWIG_arg_fail(1)) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxToolTip::Enable(arg1
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "milliseconds", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6206 arg1
= (long)(SWIG_As_long(obj0
));
6207 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 wxToolTip::SetDelay(arg1
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6226 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6228 return Py_BuildValue((char *)"");
6230 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxWindow
*arg1
= (wxWindow
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6239 (char *) "window",(char *) "size", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6244 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6250 if (!wxPyCheckForApp()) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6264 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxCaret
*arg1
= (wxCaret
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "self", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
6273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6274 if (SWIG_arg_fail(1)) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 Py_INCREF(Py_None
); resultobj
= Py_None
;
6289 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxCaret
*arg1
= (wxCaret
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6295 (char *) "self", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (bool)(arg1
)->IsOk();
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6317 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxCaret
*arg1
= (wxCaret
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6328 if (SWIG_arg_fail(1)) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (bool)(arg1
)->IsVisible();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6345 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
;
6347 wxCaret
*arg1
= (wxCaret
*) 0 ;
6349 PyObject
* obj0
= 0 ;
6351 (char *) "self", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6356 if (SWIG_arg_fail(1)) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (arg1
)->GetPosition();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6365 wxPoint
* resultptr
;
6366 resultptr
= new wxPoint((wxPoint
&)(result
));
6367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6375 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxCaret
*arg1
= (wxCaret
*) 0 ;
6378 int *arg2
= (int *) 0 ;
6379 int *arg3
= (int *) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6390 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 (arg1
)->GetPosition(arg2
,arg3
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6403 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6404 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6405 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6412 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxCaret
*arg1
= (wxCaret
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "self", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (arg1
)->GetSize();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6433 resultptr
= new wxSize((wxSize
&)(result
));
6434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6442 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxCaret
*arg1
= (wxCaret
*) 0 ;
6445 int *arg2
= (int *) 0 ;
6446 int *arg3
= (int *) 0 ;
6451 PyObject
* obj0
= 0 ;
6453 (char *) "self", NULL
6456 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6457 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6460 if (SWIG_arg_fail(1)) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->GetSize(arg2
,arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6470 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6471 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6472 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6479 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6481 wxCaret
*arg1
= (wxCaret
*) 0 ;
6483 PyObject
* obj0
= 0 ;
6485 (char *) "self", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6490 if (SWIG_arg_fail(1)) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (wxWindow
*)(arg1
)->GetWindow();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= wxPyMake_wxObject(result
, 0);
6507 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxCaret
*arg1
= (wxCaret
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6514 PyObject
* obj2
= 0 ;
6516 (char *) "self",(char *) "x",(char *) "y", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6521 if (SWIG_arg_fail(1)) SWIG_fail
;
6523 arg2
= (int)(SWIG_As_int(obj1
));
6524 if (SWIG_arg_fail(2)) SWIG_fail
;
6527 arg3
= (int)(SWIG_As_int(obj2
));
6528 if (SWIG_arg_fail(3)) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->Move(arg2
,arg3
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxCaret
*arg1
= (wxCaret
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6552 (char *) "self",(char *) "pt", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6557 if (SWIG_arg_fail(1)) SWIG_fail
;
6560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 (arg1
)->Move((wxPoint
const &)*arg2
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 Py_INCREF(Py_None
); resultobj
= Py_None
;
6576 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxCaret
*arg1
= (wxCaret
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6583 PyObject
* obj2
= 0 ;
6585 (char *) "self",(char *) "width",(char *) "height", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 arg2
= (int)(SWIG_As_int(obj1
));
6593 if (SWIG_arg_fail(2)) SWIG_fail
;
6596 arg3
= (int)(SWIG_As_int(obj2
));
6597 if (SWIG_arg_fail(3)) SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 (arg1
)->SetSize(arg2
,arg3
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxCaret
*arg1
= (wxCaret
*) 0 ;
6618 PyObject
* obj0
= 0 ;
6619 PyObject
* obj1
= 0 ;
6621 (char *) "self",(char *) "size", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail
;
6629 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 (arg1
)->SetSize((wxSize
const &)*arg2
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 Py_INCREF(Py_None
); resultobj
= Py_None
;
6645 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxCaret
*arg1
= (wxCaret
*) 0 ;
6648 int arg2
= (int) true ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6652 (char *) "self",(char *) "show", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail
;
6660 arg2
= (int)(SWIG_As_int(obj1
));
6661 if (SWIG_arg_fail(2)) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxCaret
*arg1
= (wxCaret
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6706 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6708 return Py_BuildValue((char *)"");
6710 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (int)wxCaret_GetBlinkTime();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_From_int((int)(result
));
6734 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "milliseconds", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6744 arg1
= (int)(SWIG_As_int(obj0
));
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 wxCaret_SetBlinkTime(arg1
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 Py_INCREF(Py_None
); resultobj
= Py_None
;
6761 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6763 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6764 wxBusyCursor
*result
;
6765 PyObject
* obj0
= 0 ;
6767 (char *) "cursor", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 if (!wxPyCheckForApp()) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6790 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6800 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 Py_INCREF(Py_None
); resultobj
= Py_None
;
6815 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6818 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6820 return Py_BuildValue((char *)"");
6822 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxWindow
*arg1
= (wxWindow
*) NULL
;
6825 wxWindowDisabler
*result
;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "winToSkip", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 if (!wxPyCheckForApp()) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6851 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6856 (char *) "self", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6861 if (SWIG_arg_fail(1)) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6879 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6881 return Py_BuildValue((char *)"");
6883 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxString
*arg1
= 0 ;
6887 bool temp1
= false ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "message", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6895 arg1
= wxString_in_helper(obj0
);
6896 if (arg1
== NULL
) SWIG_fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6922 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
6931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
6949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6950 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
6952 return Py_BuildValue((char *)"");
6954 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxStopWatch
*result
;
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (wxStopWatch
*)new wxStopWatch();
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
6976 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
6979 long arg2
= (long) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6983 (char *) "self",(char *) "t0", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail
;
6991 arg2
= (long)(SWIG_As_long(obj1
));
6992 if (SWIG_arg_fail(2)) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->Start(arg2
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 Py_INCREF(Py_None
); resultobj
= Py_None
;
7009 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7014 (char *) "self", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7019 if (SWIG_arg_fail(1)) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7065 (char *) "self", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_From_long((long)(result
));
7087 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7090 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7092 return Py_BuildValue((char *)"");
7094 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 int arg1
= (int) 9 ;
7097 int arg2
= (int) wxID_FILE1
;
7098 wxFileHistory
*result
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "maxFiles",(char *) "idBase", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 arg1
= (int)(SWIG_As_int(obj0
));
7109 if (SWIG_arg_fail(1)) SWIG_fail
;
7114 arg2
= (int)(SWIG_As_int(obj1
));
7115 if (SWIG_arg_fail(2)) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7132 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7142 if (SWIG_arg_fail(1)) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 Py_INCREF(Py_None
); resultobj
= Py_None
;
7157 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7160 wxString
*arg2
= 0 ;
7161 bool temp2
= false ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "file", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(1)) SWIG_fail
;
7172 arg2
= wxString_in_helper(obj1
);
7173 if (arg2
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7198 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "i", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 arg2
= (int)(SWIG_As_int(obj1
));
7213 if (SWIG_arg_fail(2)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 (arg1
)->RemoveFileFromHistory(arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7235 (char *) "self", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_From_int((int)(result
));
7257 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7260 wxMenu
*arg2
= (wxMenu
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7264 (char *) "self",(char *) "menu", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7269 if (SWIG_arg_fail(1)) SWIG_fail
;
7270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7271 if (SWIG_arg_fail(2)) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->UseMenu(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7289 wxMenu
*arg2
= (wxMenu
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7293 (char *) "self",(char *) "menu", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7298 if (SWIG_arg_fail(1)) SWIG_fail
;
7299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7300 if (SWIG_arg_fail(2)) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 (arg1
)->RemoveMenu(arg2
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7318 wxConfigBase
*arg2
= 0 ;
7319 PyObject
* obj0
= 0 ;
7320 PyObject
* obj1
= 0 ;
7322 (char *) "self",(char *) "config", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7327 if (SWIG_arg_fail(1)) SWIG_fail
;
7329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7330 if (SWIG_arg_fail(2)) SWIG_fail
;
7332 SWIG_null_ref("wxConfigBase");
7334 if (SWIG_arg_fail(2)) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 (arg1
)->Load(*arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 Py_INCREF(Py_None
); resultobj
= Py_None
;
7350 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7353 wxConfigBase
*arg2
= 0 ;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7357 (char *) "self",(char *) "config", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail
;
7364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7365 if (SWIG_arg_fail(2)) SWIG_fail
;
7367 SWIG_null_ref("wxConfigBase");
7369 if (SWIG_arg_fail(2)) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 (arg1
)->Save(*arg2
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 Py_INCREF(Py_None
); resultobj
= Py_None
;
7385 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7390 (char *) "self", NULL
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7395 if (SWIG_arg_fail(1)) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->AddFilesToMenu();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7410 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7413 wxMenu
*arg2
= (wxMenu
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7417 (char *) "self",(char *) "menu", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7424 if (SWIG_arg_fail(2)) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 (arg1
)->AddFilesToMenu(arg2
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "i", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 arg2
= (int)(SWIG_As_int(obj1
));
7455 if (SWIG_arg_fail(2)) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7477 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7488 if (SWIG_arg_fail(1)) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_From_int((int)(result
));
7505 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7508 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7510 return Py_BuildValue((char *)"");
7512 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxString
*arg1
= 0 ;
7515 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7516 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7517 wxSingleInstanceChecker
*result
;
7518 bool temp1
= false ;
7519 bool temp2
= false ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7523 (char *) "name",(char *) "path", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7528 arg1
= wxString_in_helper(obj0
);
7529 if (arg1
== NULL
) SWIG_fail
;
7534 arg2
= wxString_in_helper(obj1
);
7535 if (arg2
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7569 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxSingleInstanceChecker
*result
;
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7591 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7596 (char *) "self", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 Py_INCREF(Py_None
); resultobj
= Py_None
;
7616 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7619 wxString
*arg2
= 0 ;
7620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7623 bool temp2
= false ;
7624 bool temp3
= false ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7627 PyObject
* obj2
= 0 ;
7629 (char *) "self",(char *) "name",(char *) "path", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7634 if (SWIG_arg_fail(1)) SWIG_fail
;
7636 arg2
= wxString_in_helper(obj1
);
7637 if (arg2
== NULL
) SWIG_fail
;
7642 arg3
= wxString_in_helper(obj2
);
7643 if (arg3
== NULL
) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7679 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7690 if (SWIG_arg_fail(1)) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7707 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7710 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7712 return Py_BuildValue((char *)"");
7714 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "self", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (arg1
)->GetTip();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7771 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (size_t)(arg1
)->GetCurrentTip();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7799 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7802 wxString
*arg2
= 0 ;
7804 bool temp2
= false ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "tip", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7813 if (SWIG_arg_fail(1)) SWIG_fail
;
7815 arg2
= wxString_in_helper(obj1
);
7816 if (arg2
== NULL
) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7847 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7850 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7852 return Py_BuildValue((char *)"");
7854 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7857 wxPyTipProvider
*result
;
7858 PyObject
* obj0
= 0 ;
7860 (char *) "currentTip", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7865 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7866 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7882 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7885 PyObject
*arg2
= (PyObject
*) 0 ;
7886 PyObject
*arg3
= (PyObject
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7889 PyObject
* obj2
= 0 ;
7891 (char *) "self",(char *) "self",(char *) "_class", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7896 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
7915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
7918 return Py_BuildValue((char *)"");
7920 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxWindow
*arg1
= (wxWindow
*) 0 ;
7923 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
7924 bool arg3
= (bool) true ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7928 PyObject
* obj2
= 0 ;
7930 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(2)) SWIG_fail
;
7940 arg3
= (bool)(SWIG_As_bool(obj2
));
7941 if (SWIG_arg_fail(3)) SWIG_fail
;
7945 if (!wxPyCheckForApp()) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7961 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxString
*arg1
= 0 ;
7965 wxTipProvider
*result
;
7966 bool temp1
= false ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7970 (char *) "filename",(char *) "currentTip", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 arg1
= wxString_in_helper(obj0
);
7976 if (arg1
== NULL
) SWIG_fail
;
7980 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7981 if (SWIG_arg_fail(2)) SWIG_fail
;
7984 if (!wxPyCheckForApp()) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8006 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8009 int arg2
= (int) -1 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "owner",(char *) "id", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8020 if (SWIG_arg_fail(1)) SWIG_fail
;
8024 arg2
= (int)(SWIG_As_int(obj1
));
8025 if (SWIG_arg_fail(2)) SWIG_fail
;
8029 if (!wxPyCheckForApp()) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8043 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8068 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8071 PyObject
*arg2
= (PyObject
*) 0 ;
8072 PyObject
*arg3
= (PyObject
*) 0 ;
8073 int arg4
= (int) 1 ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8077 PyObject
* obj3
= 0 ;
8079 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 arg4
= (int)(SWIG_As_int(obj3
));
8090 if (SWIG_arg_fail(4)) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 Py_INCREF(Py_None
); resultobj
= Py_None
;
8107 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8110 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8111 int arg3
= (int) -1 ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8116 (char *) "self",(char *) "owner",(char *) "id", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(2)) SWIG_fail
;
8126 arg3
= (int)(SWIG_As_int(obj2
));
8127 if (SWIG_arg_fail(3)) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 (arg1
)->SetOwner(arg2
,arg3
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 Py_INCREF(Py_None
); resultobj
= Py_None
;
8144 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8147 wxEvtHandler
*result
;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= wxPyMake_wxObject(result
, 0);
8172 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8175 int arg2
= (int) -1 ;
8176 bool arg3
= (bool) false ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8180 PyObject
* obj2
= 0 ;
8182 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8187 if (SWIG_arg_fail(1)) SWIG_fail
;
8190 arg2
= (int)(SWIG_As_int(obj1
));
8191 if (SWIG_arg_fail(2)) SWIG_fail
;
8196 arg3
= (bool)(SWIG_As_bool(obj2
));
8197 if (SWIG_arg_fail(3)) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8216 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "self", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8252 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8269 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8275 (char *) "self", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_From_int((int)(result
));
8297 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8303 (char *) "self", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8325 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8329 PyObject
* obj0
= 0 ;
8331 (char *) "self", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8336 if (SWIG_arg_fail(1)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_From_int((int)(result
));
8353 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8356 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8358 return Py_BuildValue((char *)"");
8360 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 int arg1
= (int) 0 ;
8363 int arg2
= (int) 0 ;
8364 wxTimerEvent
*result
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 (char *) "timerid",(char *) "interval", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8374 arg1
= (int)(SWIG_As_int(obj0
));
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8380 arg2
= (int)(SWIG_As_int(obj1
));
8381 if (SWIG_arg_fail(2)) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8398 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_From_int((int)(result
));
8426 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8431 return Py_BuildValue((char *)"");
8433 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8434 PyObject
*resultobj
;
8436 wxTimerRunner
*result
;
8437 PyObject
* obj0
= 0 ;
8439 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8442 if (SWIG_arg_fail(1)) SWIG_fail
;
8444 SWIG_null_ref("wxTimer");
8446 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 if (!wxPyCheckForApp()) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8463 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8464 PyObject
*resultobj
;
8467 bool arg3
= (bool) false ;
8468 wxTimerRunner
*result
;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8471 PyObject
* obj2
= 0 ;
8473 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8476 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 SWIG_null_ref("wxTimer");
8480 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 arg2
= (int)(SWIG_As_int(obj1
));
8484 if (SWIG_arg_fail(2)) SWIG_fail
;
8488 arg3
= (bool)(SWIG_As_bool(obj2
));
8489 if (SWIG_arg_fail(3)) SWIG_fail
;
8493 if (!wxPyCheckForApp()) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8507 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8512 argc
= PyObject_Length(args
);
8513 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8514 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8520 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8528 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8531 if ((argc
>= 2) && (argc
<= 3)) {
8535 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8543 _v
= SWIG_Check_int(argv
[1]);
8546 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8548 _v
= SWIG_Check_bool(argv
[2]);
8550 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8556 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8561 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8566 (char *) "self", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8571 if (SWIG_arg_fail(1)) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8590 bool arg3
= (bool) false ;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8593 PyObject
* obj2
= 0 ;
8595 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8600 if (SWIG_arg_fail(1)) SWIG_fail
;
8602 arg2
= (int)(SWIG_As_int(obj1
));
8603 if (SWIG_arg_fail(2)) SWIG_fail
;
8607 arg3
= (bool)(SWIG_As_bool(obj2
));
8608 if (SWIG_arg_fail(3)) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->Start(arg2
,arg3
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8625 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8628 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8630 return Py_BuildValue((char *)"");
8632 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (wxLog
*)new wxLog();
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8654 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (bool)wxLog::IsEnabled();
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8678 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 bool arg1
= (bool) true ;
8682 PyObject
* obj0
= 0 ;
8684 (char *) "doIt", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8690 arg1
= (bool)(SWIG_As_bool(obj0
));
8691 if (SWIG_arg_fail(1)) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (bool)wxLog::EnableLogging(arg1
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8710 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8713 wxChar
*arg2
= (wxChar
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8719 (char *) "level",(char *) "szString",(char *) "t", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8724 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8725 if (SWIG_arg_fail(1)) SWIG_fail
;
8727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8728 if (SWIG_arg_fail(2)) SWIG_fail
;
8730 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8731 if (SWIG_arg_fail(3)) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8747 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxLog
*arg1
= (wxLog
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8752 (char *) "self", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8757 if (SWIG_arg_fail(1)) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 Py_INCREF(Py_None
); resultobj
= Py_None
;
8772 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 wxLog::FlushActive();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= (wxLog
*)wxLog::GetActiveTarget();
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8815 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxLog
*arg1
= (wxLog
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8821 (char *) "pLogger", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8826 if (SWIG_arg_fail(1)) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8841 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 bool arg1
= (bool) true ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "bVerbose", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
8894 arg1
= (bool)(SWIG_As_bool(obj0
));
8895 if (SWIG_arg_fail(1)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 wxLog::SetVerbose(arg1
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "logLevel", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
8922 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8923 if (SWIG_arg_fail(1)) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxLog::SetLogLevel(arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 wxLog::DontCreateOnDemand();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 Py_INCREF(Py_None
); resultobj
= Py_None
;
8960 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8963 PyObject
* obj0
= 0 ;
8965 (char *) "ulMask", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
8970 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
8971 if (SWIG_arg_fail(1)) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 wxLog::SetTraceMask(arg1
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxString
*arg1
= 0 ;
8990 bool temp1
= false ;
8991 PyObject
* obj0
= 0 ;
8993 (char *) "str", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
8998 arg1
= wxString_in_helper(obj0
);
8999 if (arg1
== NULL
) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 wxLog::AddTraceMask((wxString
const &)*arg1
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 Py_INCREF(Py_None
); resultobj
= Py_None
;
9024 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxString
*arg1
= 0 ;
9027 bool temp1
= false ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "str", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9035 arg1
= wxString_in_helper(obj0
);
9036 if (arg1
== NULL
) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 wxLog::ClearTraceMasks();
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 Py_INCREF(Py_None
); resultobj
= Py_None
;
9082 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxArrayString
*result
;
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9094 result
= (wxArrayString
*) &_result_ref
;
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= wxArrayString2PyList_helper(*result
);
9109 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxChar
*arg1
= (wxChar
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9119 if (SWIG_arg_fail(1)) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxLog::SetTimestamp((wxChar
const *)arg1
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9134 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 result
= (bool)wxLog::GetVerbose();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9158 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (wxTraceMask
)wxLog::GetTraceMask();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9182 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxChar
*arg1
= (wxChar
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "mask", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9210 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (wxLogLevel
)wxLog::GetLogLevel();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9234 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxChar
*)wxLog::GetTimestamp();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9256 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= Log_TimeStamp();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9284 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxLog
*arg1
= (wxLog
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 wxLog_Destroy(arg1
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9312 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9314 return Py_BuildValue((char *)"");
9316 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxLogStderr
*result
;
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (wxLogStderr
*)new wxLogStderr();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9338 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9341 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9343 return Py_BuildValue((char *)"");
9345 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9348 wxLogTextCtrl
*result
;
9349 PyObject
* obj0
= 0 ;
9351 (char *) "pTextCtrl", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9371 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9374 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9376 return Py_BuildValue((char *)"");
9378 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (wxLogGui
*)new wxLogGui();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9400 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9403 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9405 return Py_BuildValue((char *)"");
9407 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxFrame
*arg1
= (wxFrame
*) 0 ;
9410 wxString
*arg2
= 0 ;
9411 bool arg3
= (bool) true ;
9412 bool arg4
= (bool) true ;
9413 wxLogWindow
*result
;
9414 bool temp2
= false ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 PyObject
* obj2
= 0 ;
9418 PyObject
* obj3
= 0 ;
9420 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail
;
9427 arg2
= wxString_in_helper(obj1
);
9428 if (arg2
== NULL
) SWIG_fail
;
9433 arg3
= (bool)(SWIG_As_bool(obj2
));
9434 if (SWIG_arg_fail(3)) SWIG_fail
;
9439 arg4
= (bool)(SWIG_As_bool(obj3
));
9440 if (SWIG_arg_fail(4)) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9465 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9468 bool arg2
= (bool) true ;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9472 (char *) "self",(char *) "bShow", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9477 if (SWIG_arg_fail(1)) SWIG_fail
;
9480 arg2
= (bool)(SWIG_As_bool(obj1
));
9481 if (SWIG_arg_fail(2)) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 Py_INCREF(Py_None
); resultobj
= Py_None
;
9498 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= wxPyMake_wxObject(result
, 0);
9526 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9537 if (SWIG_arg_fail(1)) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9552 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9580 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "self",(char *) "bDoPass", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9592 if (SWIG_arg_fail(1)) SWIG_fail
;
9594 arg2
= (bool)(SWIG_As_bool(obj1
));
9595 if (SWIG_arg_fail(2)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 (arg1
)->PassMessages(arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9611 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9614 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9616 return Py_BuildValue((char *)"");
9618 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxLog
*arg1
= (wxLog
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "logger", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (wxLogChain
*)new wxLogChain(arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9644 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9647 wxLog
*arg2
= (wxLog
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9651 (char *) "self",(char *) "logger", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9658 if (SWIG_arg_fail(2)) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 (arg1
)->SetLog(arg2
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 Py_INCREF(Py_None
); resultobj
= Py_None
;
9673 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9680 (char *) "self",(char *) "bDoPass", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9685 if (SWIG_arg_fail(1)) SWIG_fail
;
9687 arg2
= (bool)(SWIG_As_bool(obj1
));
9688 if (SWIG_arg_fail(2)) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 (arg1
)->PassMessages(arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 Py_INCREF(Py_None
); resultobj
= Py_None
;
9704 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (bool)(arg1
)->IsPassingMessages();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9732 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (wxLog
*)(arg1
)->GetOldLog();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9758 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9761 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9763 return Py_BuildValue((char *)"");
9765 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 unsigned long result
;
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (unsigned long)wxSysErrorCode();
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9789 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 unsigned long arg1
= (unsigned long) 0 ;
9793 PyObject
* obj0
= 0 ;
9795 (char *) "nErrCode", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9801 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9802 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= wxSysErrorMsg(arg1
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9825 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxString
*arg1
= 0 ;
9828 bool temp1
= false ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "msg", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9836 arg1
= wxString_in_helper(obj0
);
9837 if (arg1
== NULL
) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 wxPyLogFatalError((wxString
const &)*arg1
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxString
*arg1
= 0 ;
9865 bool temp1
= false ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "msg", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9873 arg1
= wxString_in_helper(obj0
);
9874 if (arg1
== NULL
) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 wxPyLogError((wxString
const &)*arg1
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 Py_INCREF(Py_None
); resultobj
= Py_None
;
9899 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxString
*arg1
= 0 ;
9902 bool temp1
= false ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "msg", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
9910 arg1
= wxString_in_helper(obj0
);
9911 if (arg1
== NULL
) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxPyLogWarning((wxString
const &)*arg1
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxString
*arg1
= 0 ;
9939 bool temp1
= false ;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "msg", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
9947 arg1
= wxString_in_helper(obj0
);
9948 if (arg1
== NULL
) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 wxPyLogMessage((wxString
const &)*arg1
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 Py_INCREF(Py_None
); resultobj
= Py_None
;
9973 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxString
*arg1
= 0 ;
9976 bool temp1
= false ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "msg", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
9984 arg1
= wxString_in_helper(obj0
);
9985 if (arg1
== NULL
) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 wxPyLogInfo((wxString
const &)*arg1
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 Py_INCREF(Py_None
); resultobj
= Py_None
;
10010 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxString
*arg1
= 0 ;
10013 bool temp1
= false ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "msg", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10021 arg1
= wxString_in_helper(obj0
);
10022 if (arg1
== NULL
) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 wxPyLogDebug((wxString
const &)*arg1
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10047 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxString
*arg1
= 0 ;
10050 bool temp1
= false ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "msg", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10058 arg1
= wxString_in_helper(obj0
);
10059 if (arg1
== NULL
) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxPyLogVerbose((wxString
const &)*arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 Py_INCREF(Py_None
); resultobj
= Py_None
;
10084 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxString
*arg1
= 0 ;
10087 bool temp1
= false ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "msg", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10095 arg1
= wxString_in_helper(obj0
);
10096 if (arg1
== NULL
) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 wxPyLogStatus((wxString
const &)*arg1
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxFrame
*arg1
= (wxFrame
*) 0 ;
10124 wxString
*arg2
= 0 ;
10125 bool temp2
= false ;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "pFrame",(char *) "msg", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail
;
10136 arg2
= wxString_in_helper(obj1
);
10137 if (arg2
== NULL
) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 Py_INCREF(Py_None
); resultobj
= Py_None
;
10162 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxString
*arg1
= 0 ;
10165 bool temp1
= false ;
10166 PyObject
* obj0
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "msg", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10173 arg1
= wxString_in_helper(obj0
);
10174 if (arg1
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 wxPyLogSysError((wxString
const &)*arg1
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 unsigned long arg1
;
10202 wxString
*arg2
= 0 ;
10203 bool temp2
= false ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "level",(char *) "msg", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10212 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10213 if (SWIG_arg_fail(1)) SWIG_fail
;
10216 arg2
= wxString_in_helper(obj1
);
10217 if (arg2
== NULL
) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 Py_INCREF(Py_None
); resultobj
= Py_None
;
10242 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10243 PyObject
*resultobj
;
10244 unsigned long arg1
;
10245 wxString
*arg2
= 0 ;
10246 bool temp2
= false ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10250 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10252 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10253 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 arg2
= wxString_in_helper(obj1
);
10257 if (arg2
== NULL
) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10283 PyObject
*resultobj
;
10284 wxString
*arg1
= 0 ;
10285 wxString
*arg2
= 0 ;
10286 bool temp1
= false ;
10287 bool temp2
= false ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10291 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10293 arg1
= wxString_in_helper(obj0
);
10294 if (arg1
== NULL
) SWIG_fail
;
10298 arg2
= wxString_in_helper(obj1
);
10299 if (arg2
== NULL
) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 Py_INCREF(Py_None
); resultobj
= Py_None
;
10332 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10337 argc
= PyObject_Length(args
);
10338 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10339 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10344 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10348 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10351 return _wrap_LogTrace__SWIG_1(self
,args
);
10357 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10360 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10363 return _wrap_LogTrace__SWIG_0(self
,args
);
10368 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10373 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxString
*arg1
= 0 ;
10376 wxString
*arg2
= 0 ;
10377 bool temp1
= false ;
10378 bool temp2
= false ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "title",(char *) "text", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10387 arg1
= wxString_in_helper(obj0
);
10388 if (arg1
== NULL
) SWIG_fail
;
10392 arg2
= wxString_in_helper(obj1
);
10393 if (arg2
== NULL
) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 Py_INCREF(Py_None
); resultobj
= Py_None
;
10426 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10429 char *kwnames
[] = {
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxLogNull
*)new wxLogNull();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10448 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10451 PyObject
* obj0
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 Py_INCREF(Py_None
); resultobj
= Py_None
;
10473 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10476 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10478 return Py_BuildValue((char *)"");
10480 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10483 char *kwnames
[] = {
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (wxPyLog
*)new wxPyLog();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10502 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10505 PyObject
*arg2
= (PyObject
*) 0 ;
10506 PyObject
*arg3
= (PyObject
*) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 PyObject
* obj2
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self",(char *) "self",(char *) "_class", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10536 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10538 return Py_BuildValue((char *)"");
10540 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10543 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10544 int arg3
= (int) wxKILL_NOCHILDREN
;
10545 wxKillError result
;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 PyObject
* obj2
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10555 arg1
= (int)(SWIG_As_int(obj0
));
10556 if (SWIG_arg_fail(1)) SWIG_fail
;
10560 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10561 if (SWIG_arg_fail(2)) SWIG_fail
;
10566 arg3
= (int)(SWIG_As_int(obj2
));
10567 if (SWIG_arg_fail(3)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_From_int((result
));
10584 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "pid", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10595 arg1
= (int)(SWIG_As_int(obj0
));
10596 if (SWIG_arg_fail(1)) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (bool)wxPyProcess::Exists(arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10614 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
;
10616 wxString
*arg1
= 0 ;
10617 int arg2
= (int) wxEXEC_ASYNC
;
10618 wxPyProcess
*result
;
10619 bool temp1
= false ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "cmd",(char *) "flags", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 arg1
= wxString_in_helper(obj0
);
10629 if (arg1
== NULL
) SWIG_fail
;
10634 arg2
= (int)(SWIG_As_int(obj1
));
10635 if (SWIG_arg_fail(2)) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10660 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10663 int arg2
= (int) -1 ;
10664 wxPyProcess
*result
;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "parent",(char *) "id", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail
;
10678 arg2
= (int)(SWIG_As_int(obj1
));
10679 if (SWIG_arg_fail(2)) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10696 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10699 PyObject
*arg2
= (PyObject
*) 0 ;
10700 PyObject
*arg3
= (PyObject
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self",(char *) "self",(char *) "_class", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10710 if (SWIG_arg_fail(1)) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 PyObject
* obj1
= 0 ;
10734 PyObject
* obj2
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self",(char *) "pid",(char *) "status", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail
;
10743 arg2
= (int)(SWIG_As_int(obj1
));
10744 if (SWIG_arg_fail(2)) SWIG_fail
;
10747 arg3
= (int)(SWIG_As_int(obj2
));
10748 if (SWIG_arg_fail(3)) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->base_OnTerminate(arg2
,arg3
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->Redirect();
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 Py_INCREF(Py_None
); resultobj
= Py_None
;
10789 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (bool)(arg1
)->IsRedirected();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10817 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10827 if (SWIG_arg_fail(1)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 Py_INCREF(Py_None
); resultobj
= Py_None
;
10842 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10845 wxInputStream
*result
;
10846 PyObject
* obj0
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10853 if (SWIG_arg_fail(1)) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10862 wxPyInputStream
* _ptr
= NULL
;
10865 _ptr
= new wxPyInputStream(result
);
10867 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10875 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10878 wxInputStream
*result
;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10886 if (SWIG_arg_fail(1)) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 wxPyInputStream
* _ptr
= NULL
;
10898 _ptr
= new wxPyInputStream(result
);
10900 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10908 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10911 wxOutputStream
*result
;
10912 PyObject
* obj0
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
10918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10919 if (SWIG_arg_fail(1)) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
10934 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
10943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10944 if (SWIG_arg_fail(1)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->CloseOutput();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
10969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10970 if (SWIG_arg_fail(1)) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10987 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
10997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10998 if (SWIG_arg_fail(1)) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11048 return Py_BuildValue((char *)"");
11050 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 int arg1
= (int) 0 ;
11053 int arg2
= (int) 0 ;
11054 int arg3
= (int) 0 ;
11055 wxProcessEvent
*result
;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11066 arg1
= (int)(SWIG_As_int(obj0
));
11067 if (SWIG_arg_fail(1)) SWIG_fail
;
11072 arg2
= (int)(SWIG_As_int(obj1
));
11073 if (SWIG_arg_fail(2)) SWIG_fail
;
11078 arg3
= (int)(SWIG_As_int(obj2
));
11079 if (SWIG_arg_fail(3)) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11096 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11107 if (SWIG_arg_fail(1)) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (int)(arg1
)->GetPid();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_From_int((int)(result
));
11124 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11135 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (int)(arg1
)->GetExitCode();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_From_int((int)(result
));
11152 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "m_pid", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11164 if (SWIG_arg_fail(1)) SWIG_fail
;
11166 arg2
= (int)(SWIG_As_int(obj1
));
11167 if (SWIG_arg_fail(2)) SWIG_fail
;
11169 if (arg1
) (arg1
)->m_pid
= arg2
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11190 result
= (int) ((arg1
)->m_pid
);
11193 resultobj
= SWIG_From_int((int)(result
));
11201 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self",(char *) "m_exitcode", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11213 if (SWIG_arg_fail(1)) SWIG_fail
;
11215 arg2
= (int)(SWIG_As_int(obj1
));
11216 if (SWIG_arg_fail(2)) SWIG_fail
;
11218 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11239 result
= (int) ((arg1
)->m_exitcode
);
11242 resultobj
= SWIG_From_int((int)(result
));
11250 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11253 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11255 return Py_BuildValue((char *)"");
11257 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxString
*arg1
= 0 ;
11260 int arg2
= (int) wxEXEC_ASYNC
;
11261 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11263 bool temp1
= false ;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 PyObject
* obj2
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "command",(char *) "flags",(char *) "process", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11273 arg1
= wxString_in_helper(obj0
);
11274 if (arg1
== NULL
) SWIG_fail
;
11279 arg2
= (int)(SWIG_As_int(obj1
));
11280 if (SWIG_arg_fail(2)) SWIG_fail
;
11284 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(3)) SWIG_fail
;
11288 if (!wxPyCheckForApp()) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= SWIG_From_long((long)(result
));
11312 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11315 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11316 wxKillError
*arg3
= (wxKillError
*) 0 ;
11317 int arg4
= (int) wxKILL_NOCHILDREN
;
11319 wxKillError temp3
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11332 arg1
= (long)(SWIG_As_long(obj0
));
11333 if (SWIG_arg_fail(1)) SWIG_fail
;
11337 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11338 if (SWIG_arg_fail(2)) SWIG_fail
;
11343 arg4
= (int)(SWIG_As_int(obj2
));
11344 if (SWIG_arg_fail(4)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_From_int((int)(result
));
11359 o
= PyInt_FromLong((long) (*arg3
));
11360 resultobj
= t_output_helper(resultobj
, o
);
11368 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 int arg1
= (int) wxJOYSTICK1
;
11371 wxJoystick
*result
;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "joystick", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11380 arg1
= (int)(SWIG_As_int(obj0
));
11381 if (SWIG_arg_fail(1)) SWIG_fail
;
11385 if (!wxPyCheckForApp()) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (wxJoystick
*)new wxJoystick(arg1
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11399 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11409 if (SWIG_arg_fail(1)) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (arg1
)->GetPosition();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11444 wxPoint
* resultptr
;
11445 resultptr
= new wxPoint((wxPoint
&)(result
));
11446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11454 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (int)(arg1
)->GetZPosition();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_From_int((int)(result
));
11482 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 result
= (int)(arg1
)->GetButtonState();
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11502 resultobj
= SWIG_From_int((int)(result
));
11510 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11514 PyObject
* obj0
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (int)(arg1
)->GetPOVPosition();
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= SWIG_From_int((int)(result
));
11538 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11549 if (SWIG_arg_fail(1)) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (int)(arg1
)->GetPOVCTSPosition();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_From_int((int)(result
));
11566 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11570 PyObject
* obj0
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11577 if (SWIG_arg_fail(1)) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (int)(arg1
)->GetRudderPosition();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_From_int((int)(result
));
11594 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (int)(arg1
)->GetUPosition();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_From_int((int)(result
));
11622 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (int)(arg1
)->GetVPosition();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_From_int((int)(result
));
11650 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (int)(arg1
)->GetMovementThreshold();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_From_int((int)(result
));
11678 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "threshold", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 arg2
= (int)(SWIG_As_int(obj1
));
11693 if (SWIG_arg_fail(2)) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SetMovementThreshold(arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11720 if (SWIG_arg_fail(1)) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (bool)(arg1
)->IsOk();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11737 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (int)(arg1
)->GetNumberJoysticks();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_int((int)(result
));
11765 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11769 PyObject
* obj0
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11776 if (SWIG_arg_fail(1)) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (int)(arg1
)->GetManufacturerId();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_From_int((int)(result
));
11793 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11804 if (SWIG_arg_fail(1)) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (int)(arg1
)->GetProductId();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int((int)(result
));
11821 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11832 if (SWIG_arg_fail(1)) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (arg1
)->GetProductName();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11853 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (int)(arg1
)->GetXMin();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_From_int((int)(result
));
11881 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
11891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (int)(arg1
)->GetYMin();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= SWIG_From_int((int)(result
));
11909 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (int)(arg1
)->GetZMin();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_From_int((int)(result
));
11937 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (int)(arg1
)->GetXMax();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_From_int((int)(result
));
11965 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (int)(arg1
)->GetYMax();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int((int)(result
));
11993 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (int)(arg1
)->GetZMax();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int((int)(result
));
12021 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (int)(arg1
)->GetNumberButtons();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_From_int((int)(result
));
12049 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12060 if (SWIG_arg_fail(1)) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (int)(arg1
)->GetNumberAxes();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_From_int((int)(result
));
12077 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (int)(arg1
)->GetMaxButtons();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_From_int((int)(result
));
12105 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (int)(arg1
)->GetMaxAxes();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_From_int((int)(result
));
12133 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (int)(arg1
)->GetPollingMin();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_From_int((int)(result
));
12161 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (int)(arg1
)->GetPollingMax();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= SWIG_From_int((int)(result
));
12189 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12200 if (SWIG_arg_fail(1)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (int)(arg1
)->GetRudderMin();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_From_int((int)(result
));
12217 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12228 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (int)(arg1
)->GetRudderMax();
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= SWIG_From_int((int)(result
));
12245 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 char *kwnames
[] = {
12251 (char *) "self", NULL
12254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12256 if (SWIG_arg_fail(1)) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (int)(arg1
)->GetUMin();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_From_int((int)(result
));
12273 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12284 if (SWIG_arg_fail(1)) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (int)(arg1
)->GetUMax();
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_From_int((int)(result
));
12301 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12312 if (SWIG_arg_fail(1)) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (int)(arg1
)->GetVMin();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_From_int((int)(result
));
12329 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12340 if (SWIG_arg_fail(1)) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 result
= (int)(arg1
)->GetVMax();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_From_int((int)(result
));
12357 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12368 if (SWIG_arg_fail(1)) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (bool)(arg1
)->HasRudder();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12385 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12396 if (SWIG_arg_fail(1)) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (bool)(arg1
)->HasZ();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12413 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (bool)(arg1
)->HasU();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12441 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (bool)(arg1
)->HasV();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12469 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "self", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12480 if (SWIG_arg_fail(1)) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (bool)(arg1
)->HasPOV();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12497 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (bool)(arg1
)->HasPOV4Dir();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12525 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12536 if (SWIG_arg_fail(1)) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (bool)(arg1
)->HasPOVCTS();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12553 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12556 wxWindow
*arg2
= (wxWindow
*) 0 ;
12557 int arg3
= (int) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 PyObject
* obj2
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12568 if (SWIG_arg_fail(1)) SWIG_fail
;
12569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12570 if (SWIG_arg_fail(2)) SWIG_fail
;
12573 arg3
= (int)(SWIG_As_int(obj2
));
12574 if (SWIG_arg_fail(3)) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12593 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12604 if (SWIG_arg_fail(1)) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)(arg1
)->ReleaseCapture();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12621 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12624 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12626 return Py_BuildValue((char *)"");
12628 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12631 int arg2
= (int) 0 ;
12632 int arg3
= (int) wxJOYSTICK1
;
12633 int arg4
= (int) 0 ;
12634 wxJoystickEvent
*result
;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 PyObject
* obj3
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12646 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 arg2
= (int)(SWIG_As_int(obj1
));
12653 if (SWIG_arg_fail(2)) SWIG_fail
;
12658 arg3
= (int)(SWIG_As_int(obj2
));
12659 if (SWIG_arg_fail(3)) SWIG_fail
;
12664 arg4
= (int)(SWIG_As_int(obj3
));
12665 if (SWIG_arg_fail(4)) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12682 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12693 if (SWIG_arg_fail(1)) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12702 wxPoint
* resultptr
;
12703 resultptr
= new wxPoint((wxPoint
&)(result
));
12704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12712 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_From_int((int)(result
));
12740 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_From_int((int)(result
));
12768 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_From_int((int)(result
));
12796 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_From_int((int)(result
));
12824 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self",(char *) "stick", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12836 if (SWIG_arg_fail(1)) SWIG_fail
;
12838 arg2
= (int)(SWIG_As_int(obj1
));
12839 if (SWIG_arg_fail(2)) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 (arg1
)->SetJoystick(arg2
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self",(char *) "state", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
12866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12867 if (SWIG_arg_fail(1)) SWIG_fail
;
12869 arg2
= (int)(SWIG_As_int(obj1
));
12870 if (SWIG_arg_fail(2)) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->SetButtonState(arg2
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "change", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 arg2
= (int)(SWIG_As_int(obj1
));
12901 if (SWIG_arg_fail(2)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 (arg1
)->SetButtonChange(arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12920 wxPoint
*arg2
= 0 ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "pos", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 Py_INCREF(Py_None
); resultobj
= Py_None
;
12949 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self",(char *) "zPos", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail
;
12963 arg2
= (int)(SWIG_As_int(obj1
));
12964 if (SWIG_arg_fail(2)) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 (arg1
)->SetZPosition(arg2
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 Py_INCREF(Py_None
); resultobj
= Py_None
;
12980 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12991 if (SWIG_arg_fail(1)) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
13000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13008 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13012 PyObject
* obj0
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13019 if (SWIG_arg_fail(1)) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13036 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13047 if (SWIG_arg_fail(1)) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13067 int arg2
= (int) wxJOY_BUTTON_ANY
;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self",(char *) "but", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13077 if (SWIG_arg_fail(1)) SWIG_fail
;
13080 arg2
= (int)(SWIG_As_int(obj1
));
13081 if (SWIG_arg_fail(2)) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13100 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13103 int arg2
= (int) wxJOY_BUTTON_ANY
;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "but", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13116 arg2
= (int)(SWIG_As_int(obj1
));
13117 if (SWIG_arg_fail(2)) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13136 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13139 int arg2
= (int) wxJOY_BUTTON_ANY
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "but", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 arg2
= (int)(SWIG_As_int(obj1
));
13153 if (SWIG_arg_fail(2)) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13172 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13175 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13177 return Py_BuildValue((char *)"");
13179 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13182 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13184 bool temp1
= false ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "fileName", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13193 arg1
= wxString_in_helper(obj0
);
13194 if (arg1
== NULL
) SWIG_fail
;
13199 if (!wxPyCheckForApp()) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13221 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 PyObject
*arg1
= (PyObject
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "data", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13233 if (!wxPyCheckForApp()) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (wxSound
*)new_wxSound(arg1
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13247 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxSound
*arg1
= (wxSound
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13257 if (SWIG_arg_fail(1)) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 Py_INCREF(Py_None
); resultobj
= Py_None
;
13272 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxSound
*arg1
= (wxSound
*) 0 ;
13275 wxString
*arg2
= 0 ;
13277 bool temp2
= false ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "fileName", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13286 if (SWIG_arg_fail(1)) SWIG_fail
;
13288 arg2
= wxString_in_helper(obj1
);
13289 if (arg2
== NULL
) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13316 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxSound
*arg1
= (wxSound
*) 0 ;
13319 PyObject
*arg2
= (PyObject
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "data", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13329 if (SWIG_arg_fail(1)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13347 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxSound
*arg1
= (wxSound
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (bool)(arg1
)->IsOk();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13375 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxSound
*arg1
= (wxSound
*) 0 ;
13378 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13380 PyObject
* obj0
= 0 ;
13381 PyObject
* obj1
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "flags", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13388 if (SWIG_arg_fail(1)) SWIG_fail
;
13391 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13392 if (SWIG_arg_fail(2)) SWIG_fail
;
13396 if (!wxPyCheckForApp()) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxString
*arg1
= 0 ;
13415 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13417 bool temp1
= false ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "filename",(char *) "flags", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 arg1
= wxString_in_helper(obj0
);
13427 if (arg1
== NULL
) SWIG_fail
;
13432 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13433 if (SWIG_arg_fail(2)) SWIG_fail
;
13437 if (!wxPyCheckForApp()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13461 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 char *kwnames
[] = {
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13469 if (!wxPyCheckForApp()) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 Py_INCREF(Py_None
); resultobj
= Py_None
;
13483 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13486 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13488 return Py_BuildValue((char *)"");
13490 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxString
*arg1
= 0 ;
13493 wxString
*arg2
= 0 ;
13494 wxString
*arg3
= 0 ;
13495 wxString
*arg4
= 0 ;
13496 wxFileTypeInfo
*result
;
13497 bool temp1
= false ;
13498 bool temp2
= false ;
13499 bool temp3
= false ;
13500 bool temp4
= false ;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 PyObject
* obj2
= 0 ;
13504 PyObject
* obj3
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13511 arg1
= wxString_in_helper(obj0
);
13512 if (arg1
== NULL
) SWIG_fail
;
13516 arg2
= wxString_in_helper(obj1
);
13517 if (arg2
== NULL
) SWIG_fail
;
13521 arg3
= wxString_in_helper(obj2
);
13522 if (arg3
== NULL
) SWIG_fail
;
13526 arg4
= wxString_in_helper(obj3
);
13527 if (arg4
== NULL
) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13576 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxArrayString
*arg1
= 0 ;
13579 wxFileTypeInfo
*result
;
13580 bool temp1
= false ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "sArray", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13588 if (! PySequence_Check(obj0
)) {
13589 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13592 arg1
= new wxArrayString
;
13594 int i
, len
=PySequence_Length(obj0
);
13595 for (i
=0; i
<len
; i
++) {
13596 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13598 PyObject
* str
= PyObject_Unicode(item
);
13600 PyObject
* str
= PyObject_Str(item
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13603 arg1
->Add(Py2wxString(str
));
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13617 if (temp1
) delete arg1
;
13622 if (temp1
) delete arg1
;
13628 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxFileTypeInfo
*result
;
13631 char *kwnames
[] = {
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13650 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13661 if (SWIG_arg_fail(1)) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13678 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13681 wxString
*arg2
= 0 ;
13682 int arg3
= (int) 0 ;
13683 bool temp2
= false ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13693 if (SWIG_arg_fail(1)) SWIG_fail
;
13695 arg2
= wxString_in_helper(obj1
);
13696 if (arg2
== NULL
) SWIG_fail
;
13701 arg3
= (int)(SWIG_As_int(obj2
));
13702 if (SWIG_arg_fail(3)) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 Py_INCREF(Py_None
); resultobj
= Py_None
;
13727 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13730 wxString
*arg2
= 0 ;
13731 bool temp2
= false ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "shortDesc", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13740 if (SWIG_arg_fail(1)) SWIG_fail
;
13742 arg2
= wxString_in_helper(obj1
);
13743 if (arg2
== NULL
) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 Py_INCREF(Py_None
); resultobj
= Py_None
;
13768 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13779 if (SWIG_arg_fail(1)) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13784 result
= (wxString
*) &_result_ref
;
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13803 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13807 PyObject
* obj0
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13814 if (SWIG_arg_fail(1)) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13819 result
= (wxString
*) &_result_ref
;
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13829 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13838 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
13848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
13854 result
= (wxString
*) &_result_ref
;
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13864 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13873 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
13883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13884 if (SWIG_arg_fail(1)) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
13889 result
= (wxString
*) &_result_ref
;
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13899 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13908 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
13918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13919 if (SWIG_arg_fail(1)) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
13924 result
= (wxString
*) &_result_ref
;
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13934 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13943 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13946 wxArrayString
*result
;
13947 PyObject
* obj0
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
13953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13954 if (SWIG_arg_fail(1)) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
13959 result
= (wxArrayString
*) &_result_ref
;
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= wxArrayString2PyList_helper(*result
);
13974 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
13984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_From_int((int)(result
));
14002 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14013 if (SWIG_arg_fail(1)) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14018 result
= (wxString
*) &_result_ref
;
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14037 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14048 if (SWIG_arg_fail(1)) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_From_int((int)(result
));
14065 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14068 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14070 return Py_BuildValue((char *)"");
14072 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxFileTypeInfo
*arg1
= 0 ;
14075 wxFileType
*result
;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "ftInfo", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14084 if (SWIG_arg_fail(1)) SWIG_fail
;
14085 if (arg1
== NULL
) {
14086 SWIG_null_ref("wxFileTypeInfo");
14088 if (SWIG_arg_fail(1)) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14104 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxFileType
*arg1
= (wxFileType
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxFileType
*arg1
= (wxFileType
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14140 if (SWIG_arg_fail(1)) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= result
;
14155 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxFileType
*arg1
= (wxFileType
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14166 if (SWIG_arg_fail(1)) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= result
;
14181 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxFileType
*arg1
= (wxFileType
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14192 if (SWIG_arg_fail(1)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
;
14207 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxFileType
*arg1
= (wxFileType
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14233 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxFileType
*arg1
= (wxFileType
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
;
14259 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxFileType
*arg1
= (wxFileType
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= result
;
14285 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxFileType
*arg1
= (wxFileType
*) 0 ;
14288 wxString
*arg2
= 0 ;
14289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14292 bool temp2
= false ;
14293 bool temp3
= false ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14303 if (SWIG_arg_fail(1)) SWIG_fail
;
14305 arg2
= wxString_in_helper(obj1
);
14306 if (arg2
== NULL
) SWIG_fail
;
14311 arg3
= wxString_in_helper(obj2
);
14312 if (arg3
== NULL
) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
;
14346 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxFileType
*arg1
= (wxFileType
*) 0 ;
14349 wxString
*arg2
= 0 ;
14350 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14351 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14353 bool temp2
= false ;
14354 bool temp3
= false ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 PyObject
* obj2
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14366 arg2
= wxString_in_helper(obj1
);
14367 if (arg2
== NULL
) SWIG_fail
;
14372 arg3
= wxString_in_helper(obj2
);
14373 if (arg3
== NULL
) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
;
14407 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxFileType
*arg1
= (wxFileType
*) 0 ;
14410 wxString
*arg2
= 0 ;
14411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14414 bool temp2
= false ;
14415 bool temp3
= false ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 PyObject
* obj2
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14425 if (SWIG_arg_fail(1)) SWIG_fail
;
14427 arg2
= wxString_in_helper(obj1
);
14428 if (arg2
== NULL
) SWIG_fail
;
14433 arg3
= wxString_in_helper(obj2
);
14434 if (arg3
== NULL
) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= result
;
14468 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxFileType
*arg1
= (wxFileType
*) 0 ;
14471 wxString
*arg2
= 0 ;
14472 wxString
*arg3
= 0 ;
14473 bool arg4
= (bool) true ;
14475 bool temp2
= false ;
14476 bool temp3
= false ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 PyObject
* obj2
= 0 ;
14480 PyObject
* obj3
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 arg2
= wxString_in_helper(obj1
);
14490 if (arg2
== NULL
) SWIG_fail
;
14494 arg3
= wxString_in_helper(obj2
);
14495 if (arg3
== NULL
) SWIG_fail
;
14500 arg4
= (bool)(SWIG_As_bool(obj3
));
14501 if (SWIG_arg_fail(4)) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxFileType
*arg1
= (wxFileType
*) 0 ;
14539 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14540 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14541 int arg3
= (int) 0 ;
14543 bool temp2
= false ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 PyObject
* obj2
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "cmd",(char *) "index", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14556 arg2
= wxString_in_helper(obj1
);
14557 if (arg2
== NULL
) SWIG_fail
;
14563 arg3
= (int)(SWIG_As_int(obj2
));
14564 if (SWIG_arg_fail(3)) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxFileType
*arg1
= (wxFileType
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14602 if (SWIG_arg_fail(1)) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (bool)(arg1
)->Unassociate();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxString
*arg1
= 0 ;
14622 wxString
*arg2
= 0 ;
14623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14626 bool temp1
= false ;
14627 bool temp2
= false ;
14628 bool temp3
= false ;
14629 PyObject
* obj0
= 0 ;
14630 PyObject
* obj1
= 0 ;
14631 PyObject
* obj2
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14638 arg1
= wxString_in_helper(obj0
);
14639 if (arg1
== NULL
) SWIG_fail
;
14643 arg2
= wxString_in_helper(obj1
);
14644 if (arg2
== NULL
) SWIG_fail
;
14649 arg3
= wxString_in_helper(obj2
);
14650 if (arg3
== NULL
) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14698 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14703 return Py_BuildValue((char *)"");
14705 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14706 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14711 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14714 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14719 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxString
*arg1
= 0 ;
14722 wxString
*arg2
= 0 ;
14724 bool temp1
= false ;
14725 bool temp2
= false ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "mimeType",(char *) "wildcard", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14734 arg1
= wxString_in_helper(obj0
);
14735 if (arg1
== NULL
) SWIG_fail
;
14739 arg2
= wxString_in_helper(obj1
);
14740 if (arg2
== NULL
) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14775 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxMimeTypesManager
*result
;
14778 char *kwnames
[] = {
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14797 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14800 int arg2
= (int) wxMAILCAP_ALL
;
14801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14803 bool temp3
= false ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 PyObject
* obj2
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14813 if (SWIG_arg_fail(1)) SWIG_fail
;
14816 arg2
= (int)(SWIG_As_int(obj1
));
14817 if (SWIG_arg_fail(2)) SWIG_fail
;
14822 arg3
= wxString_in_helper(obj2
);
14823 if (arg3
== NULL
) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 Py_INCREF(Py_None
); resultobj
= Py_None
;
14849 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
14858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14859 if (SWIG_arg_fail(1)) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 (arg1
)->ClearData();
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 Py_INCREF(Py_None
); resultobj
= Py_None
;
14874 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14877 wxString
*arg2
= 0 ;
14878 wxFileType
*result
;
14879 bool temp2
= false ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self",(char *) "ext", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
14887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14888 if (SWIG_arg_fail(1)) SWIG_fail
;
14890 arg2
= wxString_in_helper(obj1
);
14891 if (arg2
== NULL
) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14916 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14919 wxString
*arg2
= 0 ;
14920 wxFileType
*result
;
14921 bool temp2
= false ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self",(char *) "mimeType", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
14929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14930 if (SWIG_arg_fail(1)) SWIG_fail
;
14932 arg2
= wxString_in_helper(obj1
);
14933 if (arg2
== NULL
) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14958 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14961 wxString
*arg2
= 0 ;
14962 bool arg3
= (bool) false ;
14964 bool temp2
= false ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self",(char *) "filename",(char *) "fallback", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14974 if (SWIG_arg_fail(1)) SWIG_fail
;
14976 arg2
= wxString_in_helper(obj1
);
14977 if (arg2
== NULL
) SWIG_fail
;
14982 arg3
= (bool)(SWIG_As_bool(obj2
));
14983 if (SWIG_arg_fail(3)) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15010 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15013 wxString
*arg2
= 0 ;
15015 bool temp2
= false ;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self",(char *) "filename", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15024 if (SWIG_arg_fail(1)) SWIG_fail
;
15026 arg2
= wxString_in_helper(obj1
);
15027 if (arg2
== NULL
) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15054 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15065 if (SWIG_arg_fail(1)) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= result
;
15080 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15083 wxFileTypeInfo
*arg2
= 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "ft", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(2)) SWIG_fail
;
15096 if (arg2
== NULL
) {
15097 SWIG_null_ref("wxFileTypeInfo");
15099 if (SWIG_arg_fail(2)) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 Py_INCREF(Py_None
); resultobj
= Py_None
;
15115 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15118 wxFileTypeInfo
*arg2
= 0 ;
15119 wxFileType
*result
;
15120 PyObject
* obj0
= 0 ;
15121 PyObject
* obj1
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self",(char *) "ftInfo", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(1)) SWIG_fail
;
15130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(2)) SWIG_fail
;
15132 if (arg2
== NULL
) {
15133 SWIG_null_ref("wxFileTypeInfo");
15135 if (SWIG_arg_fail(2)) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15151 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15154 wxFileType
*arg2
= (wxFileType
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "ft", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15164 if (SWIG_arg_fail(1)) SWIG_fail
;
15165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15166 if (SWIG_arg_fail(2)) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->Unassociate(arg2
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15183 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15211 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15213 return Py_BuildValue((char *)"");
15215 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15216 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15221 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15226 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15228 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15235 static int _wrap_ART_MENU_set(PyObject
*) {
15236 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15241 static PyObject
*_wrap_ART_MENU_get(void) {
15246 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15248 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15255 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15256 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15261 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15266 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15268 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15275 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15276 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15281 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15286 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15288 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15295 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15296 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15301 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15306 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15308 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15315 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15316 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15321 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15326 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15328 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15335 static int _wrap_ART_BUTTON_set(PyObject
*) {
15336 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15341 static PyObject
*_wrap_ART_BUTTON_get(void) {
15346 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15348 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15355 static int _wrap_ART_OTHER_set(PyObject
*) {
15356 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15361 static PyObject
*_wrap_ART_OTHER_get(void) {
15366 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15368 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15375 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15376 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15381 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15386 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15388 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15395 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15396 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15401 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15406 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15408 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15415 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15416 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15421 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15426 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15428 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15435 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15436 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15441 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15446 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15448 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15455 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15456 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15461 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15466 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15468 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15475 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15476 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15481 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15486 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15488 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15495 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15496 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15501 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15506 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15508 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15515 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15516 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15521 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15526 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15528 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15535 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15536 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15541 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15546 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15548 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15555 static int _wrap_ART_GO_UP_set(PyObject
*) {
15556 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15561 static PyObject
*_wrap_ART_GO_UP_get(void) {
15566 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15568 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15575 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15576 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15581 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15586 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15588 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15595 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15596 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15601 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15606 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15608 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15615 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15616 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15621 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15626 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15628 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15635 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15636 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15641 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15646 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15648 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15655 static int _wrap_ART_PRINT_set(PyObject
*) {
15656 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15661 static PyObject
*_wrap_ART_PRINT_get(void) {
15666 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15668 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15675 static int _wrap_ART_HELP_set(PyObject
*) {
15676 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15681 static PyObject
*_wrap_ART_HELP_get(void) {
15686 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15688 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15695 static int _wrap_ART_TIP_set(PyObject
*) {
15696 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15701 static PyObject
*_wrap_ART_TIP_get(void) {
15706 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15708 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15715 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15716 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15721 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15726 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15728 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15735 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15736 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15741 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15746 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15748 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15755 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15756 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15761 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15766 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15768 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15775 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15776 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15781 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15786 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15788 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15795 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15796 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15801 static PyObject
*_wrap_ART_FLOPPY_get(void) {
15806 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15808 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15815 static int _wrap_ART_CDROM_set(PyObject
*) {
15816 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
15821 static PyObject
*_wrap_ART_CDROM_get(void) {
15826 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15828 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15835 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
15836 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
15841 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
15846 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15848 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15855 static int _wrap_ART_FOLDER_set(PyObject
*) {
15856 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
15861 static PyObject
*_wrap_ART_FOLDER_get(void) {
15866 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15868 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15875 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
15876 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
15881 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
15886 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15888 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15895 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
15896 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
15901 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
15906 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15908 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15915 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
15916 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
15921 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
15926 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15928 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15935 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
15936 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
15941 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
15946 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
15948 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
15955 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
15956 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
15961 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
15966 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
15968 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
15975 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
15976 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
15981 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
15986 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
15988 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
15995 static int _wrap_ART_ERROR_set(PyObject
*) {
15996 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16001 static PyObject
*_wrap_ART_ERROR_get(void) {
16006 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16008 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16015 static int _wrap_ART_QUESTION_set(PyObject
*) {
16016 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16021 static PyObject
*_wrap_ART_QUESTION_get(void) {
16026 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16028 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16035 static int _wrap_ART_WARNING_set(PyObject
*) {
16036 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16041 static PyObject
*_wrap_ART_WARNING_get(void) {
16046 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16048 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16055 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16056 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16061 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16066 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16068 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16075 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16076 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16081 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16086 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16088 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16095 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxPyArtProvider
*result
;
16098 char *kwnames
[] = {
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16104 if (!wxPyCheckForApp()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16118 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16121 PyObject
*arg2
= (PyObject
*) 0 ;
16122 PyObject
*arg3
= (PyObject
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 PyObject
* obj2
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "self",(char *) "_class", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16132 if (SWIG_arg_fail(1)) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16149 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "provider", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16159 if (SWIG_arg_fail(1)) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 wxPyArtProvider::PushProvider(arg1
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 Py_INCREF(Py_None
); resultobj
= Py_None
;
16174 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16177 char *kwnames
[] = {
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (bool)wxPyArtProvider::PopProvider();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "provider", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16226 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxString
*arg1
= 0 ;
16229 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16230 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16231 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16232 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16234 bool temp1
= false ;
16235 bool temp2
= false ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 PyObject
* obj2
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "id",(char *) "client",(char *) "size", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16246 arg1
= wxString_in_helper(obj0
);
16247 if (arg1
== NULL
) SWIG_fail
;
16252 arg2
= wxString_in_helper(obj1
);
16253 if (arg2
== NULL
) SWIG_fail
;
16260 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16264 if (!wxPyCheckForApp()) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 wxBitmap
* resultptr
;
16273 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16298 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxString
*arg1
= 0 ;
16301 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16302 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16303 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16304 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16306 bool temp1
= false ;
16307 bool temp2
= false ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 PyObject
* obj2
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "id",(char *) "client",(char *) "size", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16318 arg1
= wxString_in_helper(obj0
);
16319 if (arg1
== NULL
) SWIG_fail
;
16324 arg2
= wxString_in_helper(obj1
);
16325 if (arg2
== NULL
) SWIG_fail
;
16332 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16336 if (!wxPyCheckForApp()) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16344 wxIcon
* resultptr
;
16345 resultptr
= new wxIcon((wxIcon
&)(result
));
16346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16370 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 wxPyArtProvider_Destroy(arg1
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 Py_INCREF(Py_None
); resultobj
= Py_None
;
16395 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16398 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16400 return Py_BuildValue((char *)"");
16402 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 Py_INCREF(Py_None
); resultobj
= Py_None
;
16427 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16430 wxConfigBase
*result
;
16431 PyObject
* obj0
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "config", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16438 if (SWIG_arg_fail(1)) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16453 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 bool arg1
= (bool) true ;
16456 wxConfigBase
*result
;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "createOnDemand", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16465 arg1
= (bool)(SWIG_As_bool(obj0
));
16466 if (SWIG_arg_fail(1)) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16483 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxConfigBase
*result
;
16486 char *kwnames
[] = {
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (wxConfigBase
*)wxConfigBase::Create();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16505 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 char *kwnames
[] = {
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 wxConfigBase::DontCreateOnDemand();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 Py_INCREF(Py_None
); resultobj
= Py_None
;
16526 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16529 wxString
*arg2
= 0 ;
16530 bool temp2
= false ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "path", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(1)) SWIG_fail
;
16541 arg2
= wxString_in_helper(obj1
);
16542 if (arg2
== NULL
) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 (arg1
)->SetPath((wxString
const &)*arg2
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16583 result
= (wxString
*) &_result_ref
;
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16602 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= result
;
16628 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self",(char *) "index", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16641 if (SWIG_arg_fail(1)) SWIG_fail
;
16643 arg2
= (long)(SWIG_As_long(obj1
));
16644 if (SWIG_arg_fail(2)) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= result
;
16660 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
16670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16671 if (SWIG_arg_fail(1)) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
;
16686 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self",(char *) "index", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16699 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 arg2
= (long)(SWIG_As_long(obj1
));
16702 if (SWIG_arg_fail(2)) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
;
16718 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16721 bool arg2
= (bool) false ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "recursive", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
16730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16731 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 arg2
= (bool)(SWIG_As_bool(obj1
));
16735 if (SWIG_arg_fail(2)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16754 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16757 bool arg2
= (bool) false ;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "recursive", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16770 arg2
= (bool)(SWIG_As_bool(obj1
));
16771 if (SWIG_arg_fail(2)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16790 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16793 wxString
*arg2
= 0 ;
16795 bool temp2
= false ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self",(char *) "name", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16804 if (SWIG_arg_fail(1)) SWIG_fail
;
16806 arg2
= wxString_in_helper(obj1
);
16807 if (arg2
== NULL
) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16834 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16837 wxString
*arg2
= 0 ;
16839 bool temp2
= false ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self",(char *) "name", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16848 if (SWIG_arg_fail(1)) SWIG_fail
;
16850 arg2
= wxString_in_helper(obj1
);
16851 if (arg2
== NULL
) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16878 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16881 wxString
*arg2
= 0 ;
16883 bool temp2
= false ;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self",(char *) "name", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
16891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16892 if (SWIG_arg_fail(1)) SWIG_fail
;
16894 arg2
= wxString_in_helper(obj1
);
16895 if (arg2
== NULL
) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16922 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16925 wxString
*arg2
= 0 ;
16926 wxConfigBase::EntryType result
;
16927 bool temp2
= false ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "self",(char *) "name", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
16935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16936 if (SWIG_arg_fail(1)) SWIG_fail
;
16938 arg2
= wxString_in_helper(obj1
);
16939 if (arg2
== NULL
) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_From_int((result
));
16964 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16967 wxString
*arg2
= 0 ;
16968 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16969 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16971 bool temp2
= false ;
16972 bool temp3
= false ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 PyObject
* obj2
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16982 if (SWIG_arg_fail(1)) SWIG_fail
;
16984 arg2
= wxString_in_helper(obj1
);
16985 if (arg2
== NULL
) SWIG_fail
;
16990 arg3
= wxString_in_helper(obj2
);
16991 if (arg3
== NULL
) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17031 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17034 wxString
*arg2
= 0 ;
17035 long arg3
= (long) 0 ;
17037 bool temp2
= false ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 PyObject
* obj2
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail
;
17049 arg2
= wxString_in_helper(obj1
);
17050 if (arg2
== NULL
) SWIG_fail
;
17055 arg3
= (long)(SWIG_As_long(obj2
));
17056 if (SWIG_arg_fail(3)) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= SWIG_From_long((long)(result
));
17083 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17086 wxString
*arg2
= 0 ;
17087 double arg3
= (double) 0.0 ;
17089 bool temp2
= false ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 PyObject
* obj2
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17101 arg2
= wxString_in_helper(obj1
);
17102 if (arg2
== NULL
) SWIG_fail
;
17107 arg3
= (double)(SWIG_As_double(obj2
));
17108 if (SWIG_arg_fail(3)) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_From_double((double)(result
));
17135 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17138 wxString
*arg2
= 0 ;
17139 bool arg3
= (bool) false ;
17141 bool temp2
= false ;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 PyObject
* obj2
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17151 if (SWIG_arg_fail(1)) SWIG_fail
;
17153 arg2
= wxString_in_helper(obj1
);
17154 if (arg2
== NULL
) SWIG_fail
;
17159 arg3
= (bool)(SWIG_As_bool(obj2
));
17160 if (SWIG_arg_fail(3)) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17187 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17190 wxString
*arg2
= 0 ;
17191 wxString
*arg3
= 0 ;
17193 bool temp2
= false ;
17194 bool temp3
= false ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 PyObject
* obj2
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self",(char *) "key",(char *) "value", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17204 if (SWIG_arg_fail(1)) SWIG_fail
;
17206 arg2
= wxString_in_helper(obj1
);
17207 if (arg2
== NULL
) SWIG_fail
;
17211 arg3
= wxString_in_helper(obj2
);
17212 if (arg3
== NULL
) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17247 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17250 wxString
*arg2
= 0 ;
17253 bool temp2
= false ;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 PyObject
* obj2
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "key",(char *) "value", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail
;
17265 arg2
= wxString_in_helper(obj1
);
17266 if (arg2
== NULL
) SWIG_fail
;
17270 arg3
= (long)(SWIG_As_long(obj2
));
17271 if (SWIG_arg_fail(3)) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17297 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17300 wxString
*arg2
= 0 ;
17303 bool temp2
= false ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 PyObject
* obj2
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self",(char *) "key",(char *) "value", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17313 if (SWIG_arg_fail(1)) SWIG_fail
;
17315 arg2
= wxString_in_helper(obj1
);
17316 if (arg2
== NULL
) SWIG_fail
;
17320 arg3
= (double)(SWIG_As_double(obj2
));
17321 if (SWIG_arg_fail(3)) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17347 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17350 wxString
*arg2
= 0 ;
17353 bool temp2
= false ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 PyObject
* obj2
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "key",(char *) "value", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17365 arg2
= wxString_in_helper(obj1
);
17366 if (arg2
== NULL
) SWIG_fail
;
17370 arg3
= (bool)(SWIG_As_bool(obj2
));
17371 if (SWIG_arg_fail(3)) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17397 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17400 bool arg2
= (bool) false ;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self",(char *) "currentOnly", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail
;
17413 arg2
= (bool)(SWIG_As_bool(obj1
));
17414 if (SWIG_arg_fail(2)) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (bool)(arg1
)->Flush(arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17436 wxString
*arg2
= 0 ;
17437 wxString
*arg3
= 0 ;
17439 bool temp2
= false ;
17440 bool temp3
= false ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 PyObject
* obj2
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17450 if (SWIG_arg_fail(1)) SWIG_fail
;
17452 arg2
= wxString_in_helper(obj1
);
17453 if (arg2
== NULL
) SWIG_fail
;
17457 arg3
= wxString_in_helper(obj2
);
17458 if (arg3
== NULL
) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17493 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17496 wxString
*arg2
= 0 ;
17497 wxString
*arg3
= 0 ;
17499 bool temp2
= false ;
17500 bool temp3
= false ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17512 arg2
= wxString_in_helper(obj1
);
17513 if (arg2
== NULL
) SWIG_fail
;
17517 arg3
= wxString_in_helper(obj2
);
17518 if (arg3
== NULL
) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17553 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17556 wxString
*arg2
= 0 ;
17557 bool arg3
= (bool) true ;
17559 bool temp2
= false ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 PyObject
* obj2
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17569 if (SWIG_arg_fail(1)) SWIG_fail
;
17571 arg2
= wxString_in_helper(obj1
);
17572 if (arg2
== NULL
) SWIG_fail
;
17577 arg3
= (bool)(SWIG_As_bool(obj2
));
17578 if (SWIG_arg_fail(3)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17608 wxString
*arg2
= 0 ;
17610 bool temp2
= false ;
17611 PyObject
* obj0
= 0 ;
17612 PyObject
* obj1
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "key", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17619 if (SWIG_arg_fail(1)) SWIG_fail
;
17621 arg2
= wxString_in_helper(obj1
);
17622 if (arg2
== NULL
) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
17659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17660 if (SWIG_arg_fail(1)) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (bool)(arg1
)->DeleteAll();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17677 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17680 bool arg2
= (bool) true ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self",(char *) "doIt", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail
;
17692 arg2
= (bool)(SWIG_As_bool(obj1
));
17693 if (SWIG_arg_fail(2)) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 (arg1
)->SetExpandEnvVars(arg2
);
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 Py_INCREF(Py_None
); resultobj
= Py_None
;
17710 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
17720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17721 if (SWIG_arg_fail(1)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17738 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17741 bool arg2
= (bool) true ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "doIt", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
17749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail
;
17753 arg2
= (bool)(SWIG_As_bool(obj1
));
17754 if (SWIG_arg_fail(2)) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->SetRecordDefaults(arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
17781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17799 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17802 wxString
*arg2
= 0 ;
17804 bool temp2
= false ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "str", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17815 arg2
= wxString_in_helper(obj1
);
17816 if (arg2
== NULL
) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17847 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
17857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17879 static PyObject
*_wrap_ConfigBase_GetVendorName(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_GetVendorName",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
= ((wxConfigBase
const *)arg1
)->GetVendorName();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17911 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17914 wxString
*arg2
= 0 ;
17915 bool temp2
= false ;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "appName", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17924 if (SWIG_arg_fail(1)) SWIG_fail
;
17926 arg2
= wxString_in_helper(obj1
);
17927 if (arg2
== NULL
) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->SetAppName((wxString
const &)*arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17955 wxString
*arg2
= 0 ;
17956 bool temp2
= false ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self",(char *) "vendorName", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17965 if (SWIG_arg_fail(1)) SWIG_fail
;
17967 arg2
= wxString_in_helper(obj1
);
17968 if (arg2
== NULL
) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17993 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self",(char *) "style", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18005 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 arg2
= (long)(SWIG_As_long(obj1
));
18008 if (SWIG_arg_fail(2)) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->SetStyle(arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 Py_INCREF(Py_None
); resultobj
= Py_None
;
18024 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18035 if (SWIG_arg_fail(1)) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_From_long((long)(result
));
18052 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18055 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18057 return Py_BuildValue((char *)"");
18059 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18062 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18063 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18064 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18069 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18071 bool temp1
= false ;
18072 bool temp2
= false ;
18073 bool temp3
= false ;
18074 bool temp4
= false ;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 PyObject
* obj2
= 0 ;
18078 PyObject
* obj3
= 0 ;
18079 PyObject
* obj4
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18087 arg1
= wxString_in_helper(obj0
);
18088 if (arg1
== NULL
) SWIG_fail
;
18094 arg2
= wxString_in_helper(obj1
);
18095 if (arg2
== NULL
) SWIG_fail
;
18101 arg3
= wxString_in_helper(obj2
);
18102 if (arg3
== NULL
) SWIG_fail
;
18108 arg4
= wxString_in_helper(obj3
);
18109 if (arg4
== NULL
) SWIG_fail
;
18115 arg5
= (long)(SWIG_As_long(obj4
));
18116 if (SWIG_arg_fail(5)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18165 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxConfig
*arg1
= (wxConfig
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18193 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18195 return Py_BuildValue((char *)"");
18197 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18200 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18201 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18205 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18206 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18207 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18208 wxFileConfig
*result
;
18209 bool temp1
= false ;
18210 bool temp2
= false ;
18211 bool temp3
= false ;
18212 bool temp4
= false ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 PyObject
* obj2
= 0 ;
18216 PyObject
* obj3
= 0 ;
18217 PyObject
* obj4
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18225 arg1
= wxString_in_helper(obj0
);
18226 if (arg1
== NULL
) SWIG_fail
;
18232 arg2
= wxString_in_helper(obj1
);
18233 if (arg2
== NULL
) SWIG_fail
;
18239 arg3
= wxString_in_helper(obj2
);
18240 if (arg3
== NULL
) SWIG_fail
;
18246 arg4
= wxString_in_helper(obj3
);
18247 if (arg4
== NULL
) SWIG_fail
;
18253 arg5
= (long)(SWIG_As_long(obj4
));
18254 if (SWIG_arg_fail(5)) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18303 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18313 if (SWIG_arg_fail(1)) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 Py_INCREF(Py_None
); resultobj
= Py_None
;
18328 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18331 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18333 return Py_BuildValue((char *)"");
18335 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18338 wxString
*arg2
= 0 ;
18339 wxConfigPathChanger
*result
;
18340 bool temp2
= false ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "config",(char *) "entry", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 arg2
= wxString_in_helper(obj1
);
18352 if (arg2
== NULL
) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18377 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18387 if (SWIG_arg_fail(1)) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 Py_INCREF(Py_None
); resultobj
= Py_None
;
18402 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18418 result
= (wxString
*) &_result_ref
;
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18437 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18440 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18442 return Py_BuildValue((char *)"");
18444 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxString
*arg1
= 0 ;
18448 bool temp1
= false ;
18449 PyObject
* obj0
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "sz", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18456 arg1
= wxString_in_helper(obj0
);
18457 if (arg1
== NULL
) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18488 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18489 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18494 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18499 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18501 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18508 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18509 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18514 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18519 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18521 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18528 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxDateTime::Country arg1
;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "country", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18538 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18539 if (SWIG_arg_fail(1)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxDateTime::Country result
;
18558 char *kwnames
[] = {
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_From_int((result
));
18577 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "country", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18589 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18590 if (SWIG_arg_fail(1)) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18609 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18613 PyObject
* obj0
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "cal", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18621 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18622 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_From_int((int)(result
));
18641 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "year", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
18652 arg1
= (int)(SWIG_As_int(obj0
));
18653 if (SWIG_arg_fail(1)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= SWIG_From_int((int)(result
));
18671 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18674 wxDateTime::Month result
;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "cal", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
18683 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18684 if (SWIG_arg_fail(1)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_From_int((result
));
18701 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 int arg1
= (int) wxDateTime::Inv_Year
;
18704 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "year",(char *) "cal", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 arg1
= (int)(SWIG_As_int(obj0
));
18716 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18722 if (SWIG_arg_fail(2)) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18741 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 int arg1
= (int) wxDateTime::Inv_Year
;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "year", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
18753 arg1
= (int)(SWIG_As_int(obj0
));
18754 if (SWIG_arg_fail(1)) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (int)wxDateTime::GetCentury(arg1
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_From_int((int)(result
));
18773 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18776 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "year",(char *) "cal", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18786 arg1
= (int)(SWIG_As_int(obj0
));
18787 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18792 if (SWIG_arg_fail(2)) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= SWIG_From_int((int)(result
));
18811 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxDateTime::Month arg1
;
18814 int arg2
= (int) wxDateTime::Inv_Year
;
18815 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 PyObject
* obj2
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "month",(char *) "year",(char *) "cal", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18826 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
18827 if (SWIG_arg_fail(1)) SWIG_fail
;
18831 arg2
= (int)(SWIG_As_int(obj1
));
18832 if (SWIG_arg_fail(2)) SWIG_fail
;
18837 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
18838 if (SWIG_arg_fail(3)) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18849 resultobj
= SWIG_From_int((int)(result
));
18857 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxDateTime::Month arg1
;
18860 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "month",(char *) "flags", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
18870 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18875 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
18876 if (SWIG_arg_fail(2)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18899 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxDateTime::WeekDay arg1
;
18902 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "weekday",(char *) "flags", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
18912 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
18913 if (SWIG_arg_fail(1)) SWIG_fail
;
18917 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
18918 if (SWIG_arg_fail(2)) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18941 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxString
*arg1
= (wxString
*) 0 ;
18944 wxString
*arg2
= (wxString
*) 0 ;
18945 bool temp1
= false ;
18946 bool temp2
= false ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "OUTPUT",(char *) "OUTPUT", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 arg1
= wxString_in_helper(obj0
);
18956 if (arg1
== NULL
) SWIG_fail
;
18960 arg2
= wxString_in_helper(obj1
);
18961 if (arg2
== NULL
) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 wxDateTime::GetAmPmStrings(arg1
,arg2
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 Py_INCREF(Py_None
); resultobj
= Py_None
;
18994 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 int arg1
= (int) wxDateTime::Inv_Year
;
18997 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "year",(char *) "country", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 arg1
= (int)(SWIG_As_int(obj0
));
19009 if (SWIG_arg_fail(1)) SWIG_fail
;
19014 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19015 if (SWIG_arg_fail(2)) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 int arg1
= (int) wxDateTime::Inv_Year
;
19037 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "year",(char *) "country", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 arg1
= (int)(SWIG_As_int(obj0
));
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19054 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19055 if (SWIG_arg_fail(2)) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19066 wxDateTime
* resultptr
;
19067 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19076 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 int arg1
= (int) wxDateTime::Inv_Year
;
19079 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "year",(char *) "country", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 arg1
= (int)(SWIG_As_int(obj0
));
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19096 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19097 if (SWIG_arg_fail(2)) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 wxDateTime
* resultptr
;
19109 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19118 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19121 char *kwnames
[] = {
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= wxDateTime::Now();
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19134 wxDateTime
* resultptr
;
19135 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19144 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19147 char *kwnames
[] = {
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= wxDateTime::UNow();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19160 wxDateTime
* resultptr
;
19161 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19170 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19173 char *kwnames
[] = {
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= wxDateTime::Today();
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 wxDateTime
* resultptr
;
19187 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19196 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxDateTime
*result
;
19199 char *kwnames
[] = {
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (wxDateTime
*)new wxDateTime();
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19218 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19221 wxDateTime
*result
;
19222 PyObject
* obj0
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "timet", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19229 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19230 if (SWIG_arg_fail(1)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (wxDateTime
*)new wxDateTime(arg1
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19246 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19249 wxDateTime
*result
;
19250 PyObject
* obj0
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "jdn", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19257 arg1
= (double)(SWIG_As_double(obj0
));
19258 if (SWIG_arg_fail(1)) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (wxDateTime
*)new wxDateTime(arg1
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19274 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19277 int arg2
= (int) 0 ;
19278 int arg3
= (int) 0 ;
19279 int arg4
= (int) 0 ;
19280 wxDateTime
*result
;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 PyObject
* obj2
= 0 ;
19284 PyObject
* obj3
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19291 arg1
= (int)(SWIG_As_int(obj0
));
19292 if (SWIG_arg_fail(1)) SWIG_fail
;
19296 arg2
= (int)(SWIG_As_int(obj1
));
19297 if (SWIG_arg_fail(2)) SWIG_fail
;
19302 arg3
= (int)(SWIG_As_int(obj2
));
19303 if (SWIG_arg_fail(3)) SWIG_fail
;
19308 arg4
= (int)(SWIG_As_int(obj3
));
19309 if (SWIG_arg_fail(4)) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19326 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19329 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19330 int arg3
= (int) wxDateTime::Inv_Year
;
19331 int arg4
= (int) 0 ;
19332 int arg5
= (int) 0 ;
19333 int arg6
= (int) 0 ;
19334 int arg7
= (int) 0 ;
19335 wxDateTime
*result
;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 PyObject
* obj2
= 0 ;
19339 PyObject
* obj3
= 0 ;
19340 PyObject
* obj4
= 0 ;
19341 PyObject
* obj5
= 0 ;
19342 PyObject
* obj6
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19349 arg1
= (int)(SWIG_As_int(obj0
));
19350 if (SWIG_arg_fail(1)) SWIG_fail
;
19354 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19355 if (SWIG_arg_fail(2)) SWIG_fail
;
19360 arg3
= (int)(SWIG_As_int(obj2
));
19361 if (SWIG_arg_fail(3)) SWIG_fail
;
19366 arg4
= (int)(SWIG_As_int(obj3
));
19367 if (SWIG_arg_fail(4)) SWIG_fail
;
19372 arg5
= (int)(SWIG_As_int(obj4
));
19373 if (SWIG_arg_fail(5)) SWIG_fail
;
19378 arg6
= (int)(SWIG_As_int(obj5
));
19379 if (SWIG_arg_fail(6)) SWIG_fail
;
19384 arg7
= (int)(SWIG_As_int(obj6
));
19385 if (SWIG_arg_fail(7)) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19402 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 char *kwnames
[] = {
19407 (char *) "self", NULL
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19412 if (SWIG_arg_fail(1)) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19430 wxDateTime
*result
;
19431 PyObject
* obj0
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19438 if (SWIG_arg_fail(1)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19443 result
= (wxDateTime
*) &_result_ref
;
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19456 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19460 wxDateTime
*result
;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self",(char *) "timet", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19469 if (SWIG_arg_fail(1)) SWIG_fail
;
19471 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19472 if (SWIG_arg_fail(2)) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19478 result
= (wxDateTime
*) &_result_ref
;
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19491 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19495 wxDateTime
*result
;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "jdn", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19506 arg2
= (double)(SWIG_As_double(obj1
));
19507 if (SWIG_arg_fail(2)) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19513 result
= (wxDateTime
*) &_result_ref
;
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19526 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19530 int arg3
= (int) 0 ;
19531 int arg4
= (int) 0 ;
19532 int arg5
= (int) 0 ;
19533 wxDateTime
*result
;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 PyObject
* obj2
= 0 ;
19537 PyObject
* obj3
= 0 ;
19538 PyObject
* obj4
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19545 if (SWIG_arg_fail(1)) SWIG_fail
;
19547 arg2
= (int)(SWIG_As_int(obj1
));
19548 if (SWIG_arg_fail(2)) SWIG_fail
;
19552 arg3
= (int)(SWIG_As_int(obj2
));
19553 if (SWIG_arg_fail(3)) SWIG_fail
;
19558 arg4
= (int)(SWIG_As_int(obj3
));
19559 if (SWIG_arg_fail(4)) SWIG_fail
;
19564 arg5
= (int)(SWIG_As_int(obj4
));
19565 if (SWIG_arg_fail(5)) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19572 result
= (wxDateTime
*) &_result_ref
;
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19585 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19589 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19590 int arg4
= (int) wxDateTime::Inv_Year
;
19591 int arg5
= (int) 0 ;
19592 int arg6
= (int) 0 ;
19593 int arg7
= (int) 0 ;
19594 int arg8
= (int) 0 ;
19595 wxDateTime
*result
;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 PyObject
* obj2
= 0 ;
19599 PyObject
* obj3
= 0 ;
19600 PyObject
* obj4
= 0 ;
19601 PyObject
* obj5
= 0 ;
19602 PyObject
* obj6
= 0 ;
19603 PyObject
* obj7
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(1)) SWIG_fail
;
19612 arg2
= (int)(SWIG_As_int(obj1
));
19613 if (SWIG_arg_fail(2)) SWIG_fail
;
19617 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19618 if (SWIG_arg_fail(3)) SWIG_fail
;
19623 arg4
= (int)(SWIG_As_int(obj3
));
19624 if (SWIG_arg_fail(4)) SWIG_fail
;
19629 arg5
= (int)(SWIG_As_int(obj4
));
19630 if (SWIG_arg_fail(5)) SWIG_fail
;
19635 arg6
= (int)(SWIG_As_int(obj5
));
19636 if (SWIG_arg_fail(6)) SWIG_fail
;
19641 arg7
= (int)(SWIG_As_int(obj6
));
19642 if (SWIG_arg_fail(7)) SWIG_fail
;
19647 arg8
= (int)(SWIG_As_int(obj7
));
19648 if (SWIG_arg_fail(8)) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
19655 result
= (wxDateTime
*) &_result_ref
;
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19668 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19671 wxDateTime
*result
;
19672 PyObject
* obj0
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
19678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19679 if (SWIG_arg_fail(1)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
19684 result
= (wxDateTime
*) &_result_ref
;
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19697 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19701 wxDateTime
*result
;
19702 PyObject
* obj0
= 0 ;
19703 PyObject
* obj1
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self",(char *) "year", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19710 if (SWIG_arg_fail(1)) SWIG_fail
;
19712 arg2
= (int)(SWIG_As_int(obj1
));
19713 if (SWIG_arg_fail(2)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
19719 result
= (wxDateTime
*) &_result_ref
;
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19732 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19735 wxDateTime::Month arg2
;
19736 wxDateTime
*result
;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "month", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail
;
19747 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19748 if (SWIG_arg_fail(2)) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
19754 result
= (wxDateTime
*) &_result_ref
;
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19767 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19771 wxDateTime
*result
;
19772 PyObject
* obj0
= 0 ;
19773 PyObject
* obj1
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self",(char *) "day", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19780 if (SWIG_arg_fail(1)) SWIG_fail
;
19782 arg2
= (int)(SWIG_As_int(obj1
));
19783 if (SWIG_arg_fail(2)) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
19789 result
= (wxDateTime
*) &_result_ref
;
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19802 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19806 wxDateTime
*result
;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self",(char *) "hour", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19817 arg2
= (int)(SWIG_As_int(obj1
));
19818 if (SWIG_arg_fail(2)) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
19824 result
= (wxDateTime
*) &_result_ref
;
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19837 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19841 wxDateTime
*result
;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "minute", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19850 if (SWIG_arg_fail(1)) SWIG_fail
;
19852 arg2
= (int)(SWIG_As_int(obj1
));
19853 if (SWIG_arg_fail(2)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
19859 result
= (wxDateTime
*) &_result_ref
;
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19872 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19876 wxDateTime
*result
;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self",(char *) "second", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 arg2
= (int)(SWIG_As_int(obj1
));
19888 if (SWIG_arg_fail(2)) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
19894 result
= (wxDateTime
*) &_result_ref
;
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19907 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19911 wxDateTime
*result
;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "millisecond", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 arg2
= (int)(SWIG_As_int(obj1
));
19923 if (SWIG_arg_fail(2)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
19929 result
= (wxDateTime
*) &_result_ref
;
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19942 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19945 wxDateTime::WeekDay arg2
;
19946 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
19947 wxDateTime
*result
;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 PyObject
* obj2
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self",(char *) "weekday",(char *) "flags", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19957 if (SWIG_arg_fail(1)) SWIG_fail
;
19959 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
19960 if (SWIG_arg_fail(2)) SWIG_fail
;
19964 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
19965 if (SWIG_arg_fail(3)) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
19972 result
= (wxDateTime
*) &_result_ref
;
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19985 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19988 wxDateTime::WeekDay arg2
;
19989 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "weekday",(char *) "flags", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20003 if (SWIG_arg_fail(2)) SWIG_fail
;
20007 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20008 if (SWIG_arg_fail(3)) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 wxDateTime
* resultptr
;
20020 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20029 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20032 wxDateTime::WeekDay arg2
;
20033 wxDateTime
*result
;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "weekday", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20042 if (SWIG_arg_fail(1)) SWIG_fail
;
20044 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20045 if (SWIG_arg_fail(2)) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20051 result
= (wxDateTime
*) &_result_ref
;
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20064 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20067 wxDateTime::WeekDay arg2
;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self",(char *) "weekday", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20077 if (SWIG_arg_fail(1)) SWIG_fail
;
20079 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20080 if (SWIG_arg_fail(2)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 wxDateTime
* resultptr
;
20091 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20100 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20103 wxDateTime::WeekDay arg2
;
20104 wxDateTime
*result
;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self",(char *) "weekday", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20116 if (SWIG_arg_fail(2)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20122 result
= (wxDateTime
*) &_result_ref
;
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20135 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20138 wxDateTime::WeekDay arg2
;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "weekday", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20148 if (SWIG_arg_fail(1)) SWIG_fail
;
20150 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20151 if (SWIG_arg_fail(2)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 wxDateTime
* resultptr
;
20162 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20171 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20174 wxDateTime::WeekDay arg2
;
20175 int arg3
= (int) 1 ;
20176 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20177 int arg5
= (int) wxDateTime::Inv_Year
;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 PyObject
* obj2
= 0 ;
20182 PyObject
* obj3
= 0 ;
20183 PyObject
* obj4
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20193 if (SWIG_arg_fail(2)) SWIG_fail
;
20197 arg3
= (int)(SWIG_As_int(obj2
));
20198 if (SWIG_arg_fail(3)) SWIG_fail
;
20203 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20204 if (SWIG_arg_fail(4)) SWIG_fail
;
20209 arg5
= (int)(SWIG_As_int(obj4
));
20210 if (SWIG_arg_fail(5)) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20229 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
;
20231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20232 wxDateTime::WeekDay arg2
;
20233 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20234 int arg4
= (int) wxDateTime::Inv_Year
;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 PyObject
* obj2
= 0 ;
20239 PyObject
* obj3
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20246 if (SWIG_arg_fail(1)) SWIG_fail
;
20248 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20249 if (SWIG_arg_fail(2)) SWIG_fail
;
20253 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20254 if (SWIG_arg_fail(3)) SWIG_fail
;
20259 arg4
= (int)(SWIG_As_int(obj3
));
20260 if (SWIG_arg_fail(4)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20279 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20282 wxDateTime::WeekDay arg2
;
20283 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20284 int arg4
= (int) wxDateTime::Inv_Year
;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 PyObject
* obj3
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20296 if (SWIG_arg_fail(1)) SWIG_fail
;
20298 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20299 if (SWIG_arg_fail(2)) SWIG_fail
;
20303 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20304 if (SWIG_arg_fail(3)) SWIG_fail
;
20309 arg4
= (int)(SWIG_As_int(obj3
));
20310 if (SWIG_arg_fail(4)) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20321 wxDateTime
* resultptr
;
20322 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20331 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20335 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20336 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 PyObject
* obj2
= 0 ;
20341 PyObject
* obj3
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20348 if (SWIG_arg_fail(1)) SWIG_fail
;
20350 arg2
= (int)(SWIG_As_int(obj1
));
20351 if (SWIG_arg_fail(2)) SWIG_fail
;
20355 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20356 if (SWIG_arg_fail(3)) SWIG_fail
;
20361 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20362 if (SWIG_arg_fail(4)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20381 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20385 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20386 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 PyObject
* obj2
= 0 ;
20391 PyObject
* obj3
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20398 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 arg2
= (int)(SWIG_As_int(obj1
));
20401 if (SWIG_arg_fail(2)) SWIG_fail
;
20405 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20406 if (SWIG_arg_fail(3)) SWIG_fail
;
20411 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20412 if (SWIG_arg_fail(4)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 wxDateTime
* resultptr
;
20424 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20433 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20437 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 PyObject
* obj2
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20448 arg1
= (int)(SWIG_As_int(obj0
));
20449 if (SWIG_arg_fail(1)) SWIG_fail
;
20452 arg2
= (int)(SWIG_As_int(obj1
));
20453 if (SWIG_arg_fail(2)) SWIG_fail
;
20457 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20458 if (SWIG_arg_fail(3)) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 wxDateTime
* resultptr
;
20470 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20479 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20482 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20483 int arg3
= (int) wxDateTime::Inv_Year
;
20484 wxDateTime
*result
;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20487 PyObject
* obj2
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self",(char *) "month",(char *) "year", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20494 if (SWIG_arg_fail(1)) SWIG_fail
;
20497 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20498 if (SWIG_arg_fail(2)) SWIG_fail
;
20503 arg3
= (int)(SWIG_As_int(obj2
));
20504 if (SWIG_arg_fail(3)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20511 result
= (wxDateTime
*) &_result_ref
;
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20524 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20527 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20528 int arg3
= (int) wxDateTime::Inv_Year
;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 PyObject
* obj2
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self",(char *) "month",(char *) "year", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20539 if (SWIG_arg_fail(1)) SWIG_fail
;
20542 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20543 if (SWIG_arg_fail(2)) SWIG_fail
;
20548 arg3
= (int)(SWIG_As_int(obj2
));
20549 if (SWIG_arg_fail(3)) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 wxDateTime
* resultptr
;
20561 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20570 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20574 wxDateTime
*result
;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "yday", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20583 if (SWIG_arg_fail(1)) SWIG_fail
;
20585 arg2
= (int)(SWIG_As_int(obj1
));
20586 if (SWIG_arg_fail(2)) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20592 result
= (wxDateTime
*) &_result_ref
;
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20605 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self",(char *) "yday", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail
;
20620 arg2
= (int)(SWIG_As_int(obj1
));
20621 if (SWIG_arg_fail(2)) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (arg1
)->GetYearDay(arg2
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 wxDateTime
* resultptr
;
20632 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20641 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (double)(arg1
)->GetJulianDayNumber();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_From_double((double)(result
));
20669 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
20679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20680 if (SWIG_arg_fail(1)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (double)(arg1
)->GetJDN();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_From_double((double)(result
));
20697 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_From_double((double)(result
));
20725 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
20735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (double)(arg1
)->GetMJD();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= SWIG_From_double((double)(result
));
20753 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 char *kwnames
[] = {
20759 (char *) "self", NULL
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
20763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20764 if (SWIG_arg_fail(1)) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (double)(arg1
)->GetRataDie();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_From_double((double)(result
));
20781 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20784 wxDateTime::TimeZone
*arg2
= 0 ;
20785 bool arg3
= (bool) false ;
20787 bool temp2
= false ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 PyObject
* obj2
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "tz",(char *) "noDST", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20797 if (SWIG_arg_fail(1)) SWIG_fail
;
20799 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20804 arg3
= (bool)(SWIG_As_bool(obj2
));
20805 if (SWIG_arg_fail(3)) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20816 wxDateTime
* resultptr
;
20817 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20821 if (temp2
) delete arg2
;
20826 if (temp2
) delete arg2
;
20832 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20835 wxDateTime::TimeZone
*arg2
= 0 ;
20836 bool arg3
= (bool) false ;
20837 wxDateTime
*result
;
20838 bool temp2
= false ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 PyObject
* obj2
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "tz",(char *) "noDST", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20850 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20855 arg3
= (bool)(SWIG_As_bool(obj2
));
20856 if (SWIG_arg_fail(3)) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
20863 result
= (wxDateTime
*) &_result_ref
;
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20871 if (temp2
) delete arg2
;
20876 if (temp2
) delete arg2
;
20882 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20885 bool arg2
= (bool) false ;
20887 PyObject
* obj0
= 0 ;
20888 PyObject
* obj1
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self",(char *) "noDST", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
20894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail
;
20898 arg2
= (bool)(SWIG_As_bool(obj1
));
20899 if (SWIG_arg_fail(2)) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (arg1
)->ToGMT(arg2
);
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20910 wxDateTime
* resultptr
;
20911 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20920 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20923 bool arg2
= (bool) false ;
20924 wxDateTime
*result
;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "noDST", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
20932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 arg2
= (bool)(SWIG_As_bool(obj1
));
20937 if (SWIG_arg_fail(2)) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
20944 result
= (wxDateTime
*) &_result_ref
;
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20957 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20960 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self",(char *) "country", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20970 if (SWIG_arg_fail(1)) SWIG_fail
;
20973 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
20974 if (SWIG_arg_fail(2)) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_From_int((int)(result
));
20993 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20997 PyObject
* obj0
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21004 if (SWIG_arg_fail(1)) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21021 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21049 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21052 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21053 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21055 bool temp2
= false ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "tz", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail
;
21067 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_From_int((int)(result
));
21082 if (temp2
) delete arg2
;
21087 if (temp2
) delete arg2
;
21093 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21096 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21097 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21098 wxDateTime::Month result
;
21099 bool temp2
= false ;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self",(char *) "tz", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail
;
21111 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_From_int((result
));
21124 if (temp2
) delete arg2
;
21129 if (temp2
) delete arg2
;
21135 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21138 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21139 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21141 bool temp2
= false ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self",(char *) "tz", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21150 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_From_int((int)(result
));
21168 if (temp2
) delete arg2
;
21173 if (temp2
) delete arg2
;
21179 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21182 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21183 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21184 wxDateTime::WeekDay result
;
21185 bool temp2
= false ;
21186 PyObject
* obj0
= 0 ;
21187 PyObject
* obj1
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self",(char *) "tz", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21194 if (SWIG_arg_fail(1)) SWIG_fail
;
21197 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_From_int((result
));
21210 if (temp2
) delete arg2
;
21215 if (temp2
) delete arg2
;
21221 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21224 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21225 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21227 bool temp2
= false ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "tz", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_From_int((int)(result
));
21254 if (temp2
) delete arg2
;
21259 if (temp2
) delete arg2
;
21265 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21268 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21269 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21271 bool temp2
= false ;
21272 PyObject
* obj0
= 0 ;
21273 PyObject
* obj1
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "tz", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21280 if (SWIG_arg_fail(1)) SWIG_fail
;
21283 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_From_int((int)(result
));
21298 if (temp2
) delete arg2
;
21303 if (temp2
) delete arg2
;
21309 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21312 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21313 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21315 bool temp2
= false ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "tz", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_From_int((int)(result
));
21342 if (temp2
) delete arg2
;
21347 if (temp2
) delete arg2
;
21353 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21356 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21357 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21359 bool temp2
= false ;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "tz", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21368 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_From_int((int)(result
));
21386 if (temp2
) delete arg2
;
21391 if (temp2
) delete arg2
;
21397 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21400 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21401 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21403 bool temp2
= false ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self",(char *) "tz", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21412 if (SWIG_arg_fail(1)) SWIG_fail
;
21415 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_From_int((int)(result
));
21430 if (temp2
) delete arg2
;
21435 if (temp2
) delete arg2
;
21441 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21444 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21445 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21446 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21448 bool temp3
= false ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "flags",(char *) "tz", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21461 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21462 if (SWIG_arg_fail(2)) SWIG_fail
;
21467 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_From_int((int)(result
));
21482 if (temp3
) delete arg3
;
21487 if (temp3
) delete arg3
;
21493 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21496 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21497 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21498 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21500 bool temp3
= false ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 PyObject
* obj2
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "flags",(char *) "tz", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21514 if (SWIG_arg_fail(2)) SWIG_fail
;
21519 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_From_int((int)(result
));
21534 if (temp3
) delete arg3
;
21539 if (temp3
) delete arg3
;
21545 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21548 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self",(char *) "country", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21558 if (SWIG_arg_fail(1)) SWIG_fail
;
21561 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21562 if (SWIG_arg_fail(2)) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21581 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21584 wxDateTime
*arg2
= 0 ;
21586 PyObject
* obj0
= 0 ;
21587 PyObject
* obj1
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "datetime", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21597 if (SWIG_arg_fail(2)) SWIG_fail
;
21598 if (arg2
== NULL
) {
21599 SWIG_null_ref("wxDateTime");
21601 if (SWIG_arg_fail(2)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21619 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21622 wxDateTime
*arg2
= 0 ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "datetime", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21635 if (SWIG_arg_fail(2)) SWIG_fail
;
21636 if (arg2
== NULL
) {
21637 SWIG_null_ref("wxDateTime");
21639 if (SWIG_arg_fail(2)) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21657 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21660 wxDateTime
*arg2
= 0 ;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "datetime", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21670 if (SWIG_arg_fail(1)) SWIG_fail
;
21672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21673 if (SWIG_arg_fail(2)) SWIG_fail
;
21674 if (arg2
== NULL
) {
21675 SWIG_null_ref("wxDateTime");
21677 if (SWIG_arg_fail(2)) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21695 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21698 wxDateTime
*arg2
= 0 ;
21699 wxDateTime
*arg3
= 0 ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 PyObject
* obj2
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self",(char *) "t1",(char *) "t2", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail
;
21712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21713 if (SWIG_arg_fail(2)) SWIG_fail
;
21714 if (arg2
== NULL
) {
21715 SWIG_null_ref("wxDateTime");
21717 if (SWIG_arg_fail(2)) SWIG_fail
;
21720 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21721 if (SWIG_arg_fail(3)) SWIG_fail
;
21722 if (arg3
== NULL
) {
21723 SWIG_null_ref("wxDateTime");
21725 if (SWIG_arg_fail(3)) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21743 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21746 wxDateTime
*arg2
= 0 ;
21747 wxDateTime
*arg3
= 0 ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 PyObject
* obj2
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "t1",(char *) "t2", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21761 if (SWIG_arg_fail(2)) SWIG_fail
;
21762 if (arg2
== NULL
) {
21763 SWIG_null_ref("wxDateTime");
21765 if (SWIG_arg_fail(2)) SWIG_fail
;
21768 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21769 if (SWIG_arg_fail(3)) SWIG_fail
;
21770 if (arg3
== NULL
) {
21771 SWIG_null_ref("wxDateTime");
21773 if (SWIG_arg_fail(3)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21791 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21794 wxDateTime
*arg2
= 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "dt", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21807 if (SWIG_arg_fail(2)) SWIG_fail
;
21808 if (arg2
== NULL
) {
21809 SWIG_null_ref("wxDateTime");
21811 if (SWIG_arg_fail(2)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21829 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21832 wxDateTime
*arg2
= 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "dt", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21842 if (SWIG_arg_fail(1)) SWIG_fail
;
21844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21845 if (SWIG_arg_fail(2)) SWIG_fail
;
21846 if (arg2
== NULL
) {
21847 SWIG_null_ref("wxDateTime");
21849 if (SWIG_arg_fail(2)) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21867 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21870 wxDateTime
*arg2
= 0 ;
21871 wxTimeSpan
*arg3
= 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "dt",(char *) "ts", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(1)) SWIG_fail
;
21884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21885 if (SWIG_arg_fail(2)) SWIG_fail
;
21886 if (arg2
== NULL
) {
21887 SWIG_null_ref("wxDateTime");
21889 if (SWIG_arg_fail(2)) SWIG_fail
;
21892 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
21893 if (SWIG_arg_fail(3)) SWIG_fail
;
21894 if (arg3
== NULL
) {
21895 SWIG_null_ref("wxTimeSpan");
21897 if (SWIG_arg_fail(3)) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21915 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21918 wxTimeSpan
*arg2
= 0 ;
21919 wxDateTime
*result
;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "diff", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
21927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail
;
21930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
21931 if (SWIG_arg_fail(2)) SWIG_fail
;
21932 if (arg2
== NULL
) {
21933 SWIG_null_ref("wxTimeSpan");
21935 if (SWIG_arg_fail(2)) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21941 result
= (wxDateTime
*) &_result_ref
;
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21954 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21957 wxDateSpan
*arg2
= 0 ;
21958 wxDateTime
*result
;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "diff", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
21970 if (SWIG_arg_fail(2)) SWIG_fail
;
21971 if (arg2
== NULL
) {
21972 SWIG_null_ref("wxDateSpan");
21974 if (SWIG_arg_fail(2)) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21980 result
= (wxDateTime
*) &_result_ref
;
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21993 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21996 wxTimeSpan
*arg2
= 0 ;
21997 wxDateTime
*result
;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "diff", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22006 if (SWIG_arg_fail(1)) SWIG_fail
;
22008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22009 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 if (arg2
== NULL
) {
22011 SWIG_null_ref("wxTimeSpan");
22013 if (SWIG_arg_fail(2)) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22019 result
= (wxDateTime
*) &_result_ref
;
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22032 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22035 wxDateSpan
*arg2
= 0 ;
22036 wxDateTime
*result
;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "diff", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22045 if (SWIG_arg_fail(1)) SWIG_fail
;
22047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22048 if (SWIG_arg_fail(2)) SWIG_fail
;
22049 if (arg2
== NULL
) {
22050 SWIG_null_ref("wxDateSpan");
22052 if (SWIG_arg_fail(2)) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22058 result
= (wxDateTime
*) &_result_ref
;
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22071 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22074 wxDateTime
*arg2
= 0 ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "dt", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22084 if (SWIG_arg_fail(1)) SWIG_fail
;
22086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(2)) SWIG_fail
;
22088 if (arg2
== NULL
) {
22089 SWIG_null_ref("wxDateTime");
22091 if (SWIG_arg_fail(2)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 wxTimeSpan
* resultptr
;
22102 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22111 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22112 PyObject
*resultobj
;
22113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22114 wxTimeSpan
*arg2
= 0 ;
22115 wxDateTime
*result
;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22119 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22121 if (SWIG_arg_fail(1)) SWIG_fail
;
22123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22125 if (arg2
== NULL
) {
22126 SWIG_null_ref("wxTimeSpan");
22128 if (SWIG_arg_fail(2)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22134 result
= (wxDateTime
*) &_result_ref
;
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22147 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22148 PyObject
*resultobj
;
22149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22150 wxDateSpan
*arg2
= 0 ;
22151 wxDateTime
*result
;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22155 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22157 if (SWIG_arg_fail(1)) SWIG_fail
;
22159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22160 if (SWIG_arg_fail(2)) SWIG_fail
;
22161 if (arg2
== NULL
) {
22162 SWIG_null_ref("wxDateSpan");
22164 if (SWIG_arg_fail(2)) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22170 result
= (wxDateTime
*) &_result_ref
;
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22183 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22188 argc
= PyObject_Length(args
);
22189 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22190 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22214 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22222 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22232 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22240 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22245 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22250 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22251 PyObject
*resultobj
;
22252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22253 wxTimeSpan
*arg2
= 0 ;
22254 wxDateTime
*result
;
22255 PyObject
* obj0
= 0 ;
22256 PyObject
* obj1
= 0 ;
22258 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22260 if (SWIG_arg_fail(1)) SWIG_fail
;
22262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22263 if (SWIG_arg_fail(2)) SWIG_fail
;
22264 if (arg2
== NULL
) {
22265 SWIG_null_ref("wxTimeSpan");
22267 if (SWIG_arg_fail(2)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22273 result
= (wxDateTime
*) &_result_ref
;
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22286 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22287 PyObject
*resultobj
;
22288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22289 wxDateSpan
*arg2
= 0 ;
22290 wxDateTime
*result
;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22294 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(2)) SWIG_fail
;
22300 if (arg2
== NULL
) {
22301 SWIG_null_ref("wxDateSpan");
22303 if (SWIG_arg_fail(2)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22309 result
= (wxDateTime
*) &_result_ref
;
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22322 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22327 argc
= PyObject_Length(args
);
22328 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22345 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22353 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22361 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22371 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22379 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22384 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22389 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22390 PyObject
*resultobj
;
22391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22392 wxTimeSpan
*arg2
= 0 ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22397 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22399 if (SWIG_arg_fail(1)) SWIG_fail
;
22401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22402 if (SWIG_arg_fail(2)) SWIG_fail
;
22403 if (arg2
== NULL
) {
22404 SWIG_null_ref("wxTimeSpan");
22406 if (SWIG_arg_fail(2)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 wxDateTime
* resultptr
;
22417 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22426 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22427 PyObject
*resultobj
;
22428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22429 wxDateSpan
*arg2
= 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22434 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22436 if (SWIG_arg_fail(1)) SWIG_fail
;
22438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22439 if (SWIG_arg_fail(2)) SWIG_fail
;
22440 if (arg2
== NULL
) {
22441 SWIG_null_ref("wxDateSpan");
22443 if (SWIG_arg_fail(2)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 wxDateTime
* resultptr
;
22454 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22463 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22468 argc
= PyObject_Length(args
);
22469 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22486 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22494 return _wrap_DateTime___add____SWIG_0(self
,args
);
22502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22512 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22520 return _wrap_DateTime___add____SWIG_1(self
,args
);
22525 Py_INCREF(Py_NotImplemented
);
22526 return Py_NotImplemented
;
22530 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22531 PyObject
*resultobj
;
22532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22533 wxDateTime
*arg2
= 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22538 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22540 if (SWIG_arg_fail(1)) SWIG_fail
;
22542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22543 if (SWIG_arg_fail(2)) SWIG_fail
;
22544 if (arg2
== NULL
) {
22545 SWIG_null_ref("wxDateTime");
22547 if (SWIG_arg_fail(2)) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22557 wxTimeSpan
* resultptr
;
22558 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22567 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22568 PyObject
*resultobj
;
22569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22570 wxTimeSpan
*arg2
= 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22575 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22577 if (SWIG_arg_fail(1)) SWIG_fail
;
22579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22580 if (SWIG_arg_fail(2)) SWIG_fail
;
22581 if (arg2
== NULL
) {
22582 SWIG_null_ref("wxTimeSpan");
22584 if (SWIG_arg_fail(2)) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22594 wxDateTime
* resultptr
;
22595 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22604 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22605 PyObject
*resultobj
;
22606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22607 wxDateSpan
*arg2
= 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22612 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22614 if (SWIG_arg_fail(1)) SWIG_fail
;
22616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22617 if (SWIG_arg_fail(2)) SWIG_fail
;
22618 if (arg2
== NULL
) {
22619 SWIG_null_ref("wxDateSpan");
22621 if (SWIG_arg_fail(2)) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22631 wxDateTime
* resultptr
;
22632 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22641 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22646 argc
= PyObject_Length(args
);
22647 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22648 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22654 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22664 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22672 return _wrap_DateTime___sub____SWIG_0(self
,args
);
22680 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22690 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22698 return _wrap_DateTime___sub____SWIG_1(self
,args
);
22706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22724 return _wrap_DateTime___sub____SWIG_2(self
,args
);
22729 Py_INCREF(Py_NotImplemented
);
22730 return Py_NotImplemented
;
22734 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22737 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "other", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22747 if (SWIG_arg_fail(1)) SWIG_fail
;
22748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22749 if (SWIG_arg_fail(2)) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22766 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22769 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self",(char *) "other", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22779 if (SWIG_arg_fail(1)) SWIG_fail
;
22780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22781 if (SWIG_arg_fail(2)) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22798 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22801 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self",(char *) "other", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22813 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22830 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22833 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self",(char *) "other", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail
;
22844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22845 if (SWIG_arg_fail(2)) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22865 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self",(char *) "other", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22875 if (SWIG_arg_fail(1)) SWIG_fail
;
22876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22877 if (SWIG_arg_fail(2)) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22894 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22897 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "other", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail
;
22908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22909 if (SWIG_arg_fail(2)) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22926 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22929 wxString
*arg2
= 0 ;
22931 bool temp2
= false ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self",(char *) "date", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 arg2
= wxString_in_helper(obj1
);
22943 if (arg2
== NULL
) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_From_int((int)(result
));
22970 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22973 wxString
*arg2
= 0 ;
22974 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
22975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22976 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
22977 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
22979 bool temp2
= false ;
22980 bool temp3
= false ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 PyObject
* obj2
= 0 ;
22984 PyObject
* obj3
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22991 if (SWIG_arg_fail(1)) SWIG_fail
;
22993 arg2
= wxString_in_helper(obj1
);
22994 if (arg2
== NULL
) SWIG_fail
;
22999 arg3
= wxString_in_helper(obj2
);
23000 if (arg3
== NULL
) SWIG_fail
;
23006 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23007 if (SWIG_arg_fail(4)) SWIG_fail
;
23008 if (arg4
== NULL
) {
23009 SWIG_null_ref("wxDateTime");
23011 if (SWIG_arg_fail(4)) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_From_int((int)(result
));
23046 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23049 wxString
*arg2
= 0 ;
23051 bool temp2
= false ;
23052 PyObject
* obj0
= 0 ;
23053 PyObject
* obj1
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self",(char *) "datetime", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23060 if (SWIG_arg_fail(1)) SWIG_fail
;
23062 arg2
= wxString_in_helper(obj1
);
23063 if (arg2
== NULL
) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_From_int((int)(result
));
23090 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23093 wxString
*arg2
= 0 ;
23095 bool temp2
= false ;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self",(char *) "date", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23106 arg2
= wxString_in_helper(obj1
);
23107 if (arg2
== NULL
) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_From_int((int)(result
));
23134 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23137 wxString
*arg2
= 0 ;
23139 bool temp2
= false ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self",(char *) "time", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23148 if (SWIG_arg_fail(1)) SWIG_fail
;
23150 arg2
= wxString_in_helper(obj1
);
23151 if (arg2
== NULL
) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= SWIG_From_int((int)(result
));
23178 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23181 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23182 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23183 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23184 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23186 bool temp2
= false ;
23187 bool temp3
= false ;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 PyObject
* obj2
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "format",(char *) "tz", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23197 if (SWIG_arg_fail(1)) SWIG_fail
;
23200 arg2
= wxString_in_helper(obj1
);
23201 if (arg2
== NULL
) SWIG_fail
;
23207 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23230 if (temp3
) delete arg3
;
23239 if (temp3
) delete arg3
;
23245 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23256 if (SWIG_arg_fail(1)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23277 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23288 if (SWIG_arg_fail(1)) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23309 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23320 if (SWIG_arg_fail(1)) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23341 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23352 if (SWIG_arg_fail(1)) SWIG_fail
;
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23373 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23376 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23378 return Py_BuildValue((char *)"");
23380 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23384 PyObject
* obj0
= 0 ;
23385 char *kwnames
[] = {
23386 (char *) "sec", NULL
23389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23391 arg1
= (long)(SWIG_As_long(obj0
));
23392 if (SWIG_arg_fail(1)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= wxTimeSpan::Seconds(arg1
);
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 wxTimeSpan
* resultptr
;
23403 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23412 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23415 char *kwnames
[] = {
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= wxTimeSpan::Second();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23428 wxTimeSpan
* resultptr
;
23429 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23438 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23442 PyObject
* obj0
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "min", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23449 arg1
= (long)(SWIG_As_long(obj0
));
23450 if (SWIG_arg_fail(1)) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= wxTimeSpan::Minutes(arg1
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 wxTimeSpan
* resultptr
;
23461 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23470 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23473 char *kwnames
[] = {
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 result
= wxTimeSpan::Minute();
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 wxTimeSpan
* resultptr
;
23487 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23496 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23500 PyObject
* obj0
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "hours", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23507 arg1
= (long)(SWIG_As_long(obj0
));
23508 if (SWIG_arg_fail(1)) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= wxTimeSpan::Hours(arg1
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23518 wxTimeSpan
* resultptr
;
23519 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23528 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23531 char *kwnames
[] = {
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= wxTimeSpan::Hour();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23544 wxTimeSpan
* resultptr
;
23545 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23554 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23558 PyObject
* obj0
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "days", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23565 arg1
= (long)(SWIG_As_long(obj0
));
23566 if (SWIG_arg_fail(1)) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= wxTimeSpan::Days(arg1
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 wxTimeSpan
* resultptr
;
23577 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23586 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23589 char *kwnames
[] = {
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= wxTimeSpan::Day();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 wxTimeSpan
* resultptr
;
23603 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23612 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "days", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23623 arg1
= (long)(SWIG_As_long(obj0
));
23624 if (SWIG_arg_fail(1)) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= wxTimeSpan::Weeks(arg1
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 wxTimeSpan
* resultptr
;
23635 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23644 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23647 char *kwnames
[] = {
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 result
= wxTimeSpan::Week();
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23660 wxTimeSpan
* resultptr
;
23661 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23670 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 long arg1
= (long) 0 ;
23673 long arg2
= (long) 0 ;
23674 long arg3
= (long) 0 ;
23675 long arg4
= (long) 0 ;
23676 wxTimeSpan
*result
;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 PyObject
* obj2
= 0 ;
23680 PyObject
* obj3
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23688 arg1
= (long)(SWIG_As_long(obj0
));
23689 if (SWIG_arg_fail(1)) SWIG_fail
;
23694 arg2
= (long)(SWIG_As_long(obj1
));
23695 if (SWIG_arg_fail(2)) SWIG_fail
;
23700 arg3
= (long)(SWIG_As_long(obj2
));
23701 if (SWIG_arg_fail(3)) SWIG_fail
;
23706 arg4
= (long)(SWIG_As_long(obj3
));
23707 if (SWIG_arg_fail(4)) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23724 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
23733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23734 if (SWIG_arg_fail(1)) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 Py_INCREF(Py_None
); resultobj
= Py_None
;
23749 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23752 wxTimeSpan
*arg2
= 0 ;
23753 wxTimeSpan
*result
;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "diff", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23762 if (SWIG_arg_fail(1)) SWIG_fail
;
23764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23765 if (SWIG_arg_fail(2)) SWIG_fail
;
23766 if (arg2
== NULL
) {
23767 SWIG_null_ref("wxTimeSpan");
23769 if (SWIG_arg_fail(2)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23775 result
= (wxTimeSpan
*) &_result_ref
;
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23788 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23791 wxTimeSpan
*arg2
= 0 ;
23792 wxTimeSpan
*result
;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "diff", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23801 if (SWIG_arg_fail(1)) SWIG_fail
;
23803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23804 if (SWIG_arg_fail(2)) SWIG_fail
;
23805 if (arg2
== NULL
) {
23806 SWIG_null_ref("wxTimeSpan");
23808 if (SWIG_arg_fail(2)) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23814 result
= (wxTimeSpan
*) &_result_ref
;
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23827 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23831 wxTimeSpan
*result
;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "n", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23840 if (SWIG_arg_fail(1)) SWIG_fail
;
23842 arg2
= (int)(SWIG_As_int(obj1
));
23843 if (SWIG_arg_fail(2)) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23849 result
= (wxTimeSpan
*) &_result_ref
;
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23862 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23865 wxTimeSpan
*result
;
23866 PyObject
* obj0
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
23872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23873 if (SWIG_arg_fail(1)) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
23878 result
= (wxTimeSpan
*) &_result_ref
;
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23891 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
23901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= ((wxTimeSpan
const *)arg1
)->Abs();
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 wxTimeSpan
* resultptr
;
23912 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23921 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23924 wxTimeSpan
*arg2
= 0 ;
23925 wxTimeSpan
*result
;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self",(char *) "diff", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23934 if (SWIG_arg_fail(1)) SWIG_fail
;
23936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23937 if (SWIG_arg_fail(2)) SWIG_fail
;
23938 if (arg2
== NULL
) {
23939 SWIG_null_ref("wxTimeSpan");
23941 if (SWIG_arg_fail(2)) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23947 result
= (wxTimeSpan
*) &_result_ref
;
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23960 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23963 wxTimeSpan
*arg2
= 0 ;
23964 wxTimeSpan
*result
;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self",(char *) "diff", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23973 if (SWIG_arg_fail(1)) SWIG_fail
;
23975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23976 if (SWIG_arg_fail(2)) SWIG_fail
;
23977 if (arg2
== NULL
) {
23978 SWIG_null_ref("wxTimeSpan");
23980 if (SWIG_arg_fail(2)) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23986 result
= (wxTimeSpan
*) &_result_ref
;
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23999 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24003 wxTimeSpan
*result
;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "n", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24012 if (SWIG_arg_fail(1)) SWIG_fail
;
24014 arg2
= (int)(SWIG_As_int(obj1
));
24015 if (SWIG_arg_fail(2)) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24021 result
= (wxTimeSpan
*) &_result_ref
;
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24034 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24037 wxTimeSpan
*result
;
24038 PyObject
* obj0
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24045 if (SWIG_arg_fail(1)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24050 result
= (wxTimeSpan
*) &_result_ref
;
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24063 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24066 wxTimeSpan
*arg2
= 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "other", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24076 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24079 if (SWIG_arg_fail(2)) SWIG_fail
;
24080 if (arg2
== NULL
) {
24081 SWIG_null_ref("wxTimeSpan");
24083 if (SWIG_arg_fail(2)) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24093 wxTimeSpan
* resultptr
;
24094 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24103 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24106 wxTimeSpan
*arg2
= 0 ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self",(char *) "other", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24116 if (SWIG_arg_fail(1)) SWIG_fail
;
24118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24119 if (SWIG_arg_fail(2)) SWIG_fail
;
24120 if (arg2
== NULL
) {
24121 SWIG_null_ref("wxTimeSpan");
24123 if (SWIG_arg_fail(2)) SWIG_fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 wxTimeSpan
* resultptr
;
24134 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24143 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 char *kwnames
[] = {
24151 (char *) "self",(char *) "n", NULL
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail
;
24158 arg2
= (int)(SWIG_As_int(obj1
));
24159 if (SWIG_arg_fail(2)) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= wxTimeSpan___mul__(arg1
,arg2
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24169 wxTimeSpan
* resultptr
;
24170 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24179 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self",(char *) "n", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail
;
24194 arg2
= (int)(SWIG_As_int(obj1
));
24195 if (SWIG_arg_fail(2)) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 wxTimeSpan
* resultptr
;
24206 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24215 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24218 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self",(char *) "other", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(1)) SWIG_fail
;
24229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24230 if (SWIG_arg_fail(2)) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24247 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24250 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "other", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24260 if (SWIG_arg_fail(1)) SWIG_fail
;
24261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24262 if (SWIG_arg_fail(2)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24279 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24282 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self",(char *) "other", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24292 if (SWIG_arg_fail(1)) SWIG_fail
;
24293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24294 if (SWIG_arg_fail(2)) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24311 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24314 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 PyObject
* obj1
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self",(char *) "other", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(1)) SWIG_fail
;
24325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24326 if (SWIG_arg_fail(2)) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24346 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 char *kwnames
[] = {
24351 (char *) "self",(char *) "other", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24356 if (SWIG_arg_fail(1)) SWIG_fail
;
24357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24358 if (SWIG_arg_fail(2)) SWIG_fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24375 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24378 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self",(char *) "other", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24388 if (SWIG_arg_fail(1)) SWIG_fail
;
24389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24390 if (SWIG_arg_fail(2)) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24407 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24435 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24446 if (SWIG_arg_fail(1)) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24463 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24491 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24494 wxTimeSpan
*arg2
= 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "ts", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",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
;
24506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24508 if (arg2
== NULL
) {
24509 SWIG_null_ref("wxTimeSpan");
24511 if (SWIG_arg_fail(2)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24529 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24532 wxTimeSpan
*arg2
= 0 ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self",(char *) "ts", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24542 if (SWIG_arg_fail(1)) SWIG_fail
;
24544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24545 if (SWIG_arg_fail(2)) SWIG_fail
;
24546 if (arg2
== NULL
) {
24547 SWIG_null_ref("wxTimeSpan");
24549 if (SWIG_arg_fail(2)) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24567 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24569 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24570 wxTimeSpan
*arg2
= 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "t", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24580 if (SWIG_arg_fail(1)) SWIG_fail
;
24582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24583 if (SWIG_arg_fail(2)) SWIG_fail
;
24584 if (arg2
== NULL
) {
24585 SWIG_null_ref("wxTimeSpan");
24587 if (SWIG_arg_fail(2)) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24605 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24616 if (SWIG_arg_fail(1)) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= SWIG_From_int((int)(result
));
24633 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= SWIG_From_int((int)(result
));
24661 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
24671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24672 if (SWIG_arg_fail(1)) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_From_int((int)(result
));
24689 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
24699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24700 if (SWIG_arg_fail(1)) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_From_int((int)(result
));
24717 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24737 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24738 hi
= PyLong_FromLong( (&result
)->GetHi() );
24739 lo
= PyLong_FromLong( (&result
)->GetLo() );
24740 shifter
= PyLong_FromLong(32);
24741 shifted
= PyNumber_Lshift(hi
, shifter
);
24742 resultobj
= PyNumber_Or(shifted
, lo
);
24745 Py_DECREF(shifter
);
24746 Py_DECREF(shifted
);
24754 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
24764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24774 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24775 hi
= PyLong_FromLong( (&result
)->GetHi() );
24776 lo
= PyLong_FromLong( (&result
)->GetLo() );
24777 shifter
= PyLong_FromLong(32);
24778 shifted
= PyNumber_Lshift(hi
, shifter
);
24779 resultobj
= PyNumber_Or(shifted
, lo
);
24782 Py_DECREF(shifter
);
24783 Py_DECREF(shifted
);
24791 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24794 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
24795 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24797 bool temp2
= false ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "format", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
24805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24806 if (SWIG_arg_fail(1)) SWIG_fail
;
24809 arg2
= wxString_in_helper(obj1
);
24810 if (arg2
== NULL
) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24842 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
24844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24845 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
24847 return Py_BuildValue((char *)"");
24849 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 int arg1
= (int) 0 ;
24852 int arg2
= (int) 0 ;
24853 int arg3
= (int) 0 ;
24854 int arg4
= (int) 0 ;
24855 wxDateSpan
*result
;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 PyObject
* obj2
= 0 ;
24859 PyObject
* obj3
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24867 arg1
= (int)(SWIG_As_int(obj0
));
24868 if (SWIG_arg_fail(1)) SWIG_fail
;
24873 arg2
= (int)(SWIG_As_int(obj1
));
24874 if (SWIG_arg_fail(2)) SWIG_fail
;
24879 arg3
= (int)(SWIG_As_int(obj2
));
24880 if (SWIG_arg_fail(3)) SWIG_fail
;
24885 arg4
= (int)(SWIG_As_int(obj3
));
24886 if (SWIG_arg_fail(4)) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24903 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
24912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "days", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
24939 arg1
= (int)(SWIG_As_int(obj0
));
24940 if (SWIG_arg_fail(1)) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= wxDateSpan::Days(arg1
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24950 wxDateSpan
* resultptr
;
24951 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24960 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24963 char *kwnames
[] = {
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= wxDateSpan::Day();
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 wxDateSpan
* resultptr
;
24977 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24986 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "weeks", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24997 arg1
= (int)(SWIG_As_int(obj0
));
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= wxDateSpan::Weeks(arg1
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 wxDateSpan
* resultptr
;
25009 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25018 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25021 char *kwnames
[] = {
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= wxDateSpan::Week();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25034 wxDateSpan
* resultptr
;
25035 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25044 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "mon", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25055 arg1
= (int)(SWIG_As_int(obj0
));
25056 if (SWIG_arg_fail(1)) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= wxDateSpan::Months(arg1
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25066 wxDateSpan
* resultptr
;
25067 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25076 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25079 char *kwnames
[] = {
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= wxDateSpan::Month();
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25092 wxDateSpan
* resultptr
;
25093 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25102 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
;
25106 PyObject
* obj0
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "years", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25113 arg1
= (int)(SWIG_As_int(obj0
));
25114 if (SWIG_arg_fail(1)) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= wxDateSpan::Years(arg1
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25124 wxDateSpan
* resultptr
;
25125 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25134 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25137 char *kwnames
[] = {
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= wxDateSpan::Year();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25150 wxDateSpan
* resultptr
;
25151 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25160 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25164 wxDateSpan
*result
;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "n", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25173 if (SWIG_arg_fail(1)) SWIG_fail
;
25175 arg2
= (int)(SWIG_As_int(obj1
));
25176 if (SWIG_arg_fail(2)) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25182 result
= (wxDateSpan
*) &_result_ref
;
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25195 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25199 wxDateSpan
*result
;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self",(char *) "n", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25208 if (SWIG_arg_fail(1)) SWIG_fail
;
25210 arg2
= (int)(SWIG_As_int(obj1
));
25211 if (SWIG_arg_fail(2)) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25217 result
= (wxDateSpan
*) &_result_ref
;
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25230 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25234 wxDateSpan
*result
;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "n", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25243 if (SWIG_arg_fail(1)) SWIG_fail
;
25245 arg2
= (int)(SWIG_As_int(obj1
));
25246 if (SWIG_arg_fail(2)) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25252 result
= (wxDateSpan
*) &_result_ref
;
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25265 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25269 wxDateSpan
*result
;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self",(char *) "n", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25278 if (SWIG_arg_fail(1)) SWIG_fail
;
25280 arg2
= (int)(SWIG_As_int(obj1
));
25281 if (SWIG_arg_fail(2)) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25287 result
= (wxDateSpan
*) &_result_ref
;
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25300 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_From_int((int)(result
));
25328 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25339 if (SWIG_arg_fail(1)) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_From_int((int)(result
));
25356 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
;
25358 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25360 PyObject
* obj0
= 0 ;
25361 char *kwnames
[] = {
25362 (char *) "self", NULL
25365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25367 if (SWIG_arg_fail(1)) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_From_int((int)(result
));
25384 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 char *kwnames
[] = {
25390 (char *) "self", NULL
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25395 if (SWIG_arg_fail(1)) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_From_int((int)(result
));
25412 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_From_int((int)(result
));
25440 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25443 wxDateSpan
*arg2
= 0 ;
25444 wxDateSpan
*result
;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self",(char *) "other", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25453 if (SWIG_arg_fail(1)) SWIG_fail
;
25455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25456 if (SWIG_arg_fail(2)) SWIG_fail
;
25457 if (arg2
== NULL
) {
25458 SWIG_null_ref("wxDateSpan");
25460 if (SWIG_arg_fail(2)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25466 result
= (wxDateSpan
*) &_result_ref
;
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25479 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25482 wxDateSpan
*arg2
= 0 ;
25483 wxDateSpan
*result
;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "self",(char *) "other", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25492 if (SWIG_arg_fail(1)) SWIG_fail
;
25494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25495 if (SWIG_arg_fail(2)) SWIG_fail
;
25496 if (arg2
== NULL
) {
25497 SWIG_null_ref("wxDateSpan");
25499 if (SWIG_arg_fail(2)) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25505 result
= (wxDateSpan
*) &_result_ref
;
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25518 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25521 wxDateSpan
*result
;
25522 PyObject
* obj0
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25534 result
= (wxDateSpan
*) &_result_ref
;
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25547 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25551 wxDateSpan
*result
;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "factor", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25560 if (SWIG_arg_fail(1)) SWIG_fail
;
25562 arg2
= (int)(SWIG_As_int(obj1
));
25563 if (SWIG_arg_fail(2)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25569 result
= (wxDateSpan
*) &_result_ref
;
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25582 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25585 wxDateSpan
*arg2
= 0 ;
25586 wxDateSpan
*result
;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "other", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25598 if (SWIG_arg_fail(2)) SWIG_fail
;
25599 if (arg2
== NULL
) {
25600 SWIG_null_ref("wxDateSpan");
25602 if (SWIG_arg_fail(2)) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25608 result
= (wxDateSpan
*) &_result_ref
;
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25621 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25624 wxDateSpan
*arg2
= 0 ;
25625 wxDateSpan
*result
;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "other", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25634 if (SWIG_arg_fail(1)) SWIG_fail
;
25636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25637 if (SWIG_arg_fail(2)) SWIG_fail
;
25638 if (arg2
== NULL
) {
25639 SWIG_null_ref("wxDateSpan");
25641 if (SWIG_arg_fail(2)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25647 result
= (wxDateSpan
*) &_result_ref
;
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25660 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25663 wxDateSpan
*result
;
25664 PyObject
* obj0
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
25670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25671 if (SWIG_arg_fail(1)) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 wxDateSpan
&_result_ref
= (arg1
)->operator -();
25676 result
= (wxDateSpan
*) &_result_ref
;
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25689 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
;
25691 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25693 wxDateSpan
*result
;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self",(char *) "factor", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25702 if (SWIG_arg_fail(1)) SWIG_fail
;
25704 arg2
= (int)(SWIG_As_int(obj1
));
25705 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25711 result
= (wxDateSpan
*) &_result_ref
;
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25724 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25727 wxDateSpan
*arg2
= 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self",(char *) "other", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail
;
25739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25740 if (SWIG_arg_fail(2)) SWIG_fail
;
25741 if (arg2
== NULL
) {
25742 SWIG_null_ref("wxDateSpan");
25744 if (SWIG_arg_fail(2)) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25754 wxDateSpan
* resultptr
;
25755 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25764 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25767 wxDateSpan
*arg2
= 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "self",(char *) "other", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25777 if (SWIG_arg_fail(1)) SWIG_fail
;
25779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(2)) SWIG_fail
;
25781 if (arg2
== NULL
) {
25782 SWIG_null_ref("wxDateSpan");
25784 if (SWIG_arg_fail(2)) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxDateSpan
* resultptr
;
25795 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25804 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "n", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25817 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 arg2
= (int)(SWIG_As_int(obj1
));
25820 if (SWIG_arg_fail(2)) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= wxDateSpan___mul__(arg1
,arg2
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 wxDateSpan
* resultptr
;
25831 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25840 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25845 PyObject
* obj0
= 0 ;
25846 PyObject
* obj1
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self",(char *) "n", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 arg2
= (int)(SWIG_As_int(obj1
));
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= wxDateSpan___rmul__(arg1
,arg2
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25866 wxDateSpan
* resultptr
;
25867 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25876 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25879 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "other", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
25888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail
;
25890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(2)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25908 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25911 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "other", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25921 if (SWIG_arg_fail(1)) SWIG_fail
;
25922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25923 if (SWIG_arg_fail(2)) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25940 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
25942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25943 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
25945 return Py_BuildValue((char *)"");
25947 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25950 char *kwnames
[] = {
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (long)wxGetLocalTime();
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_From_long((long)(result
));
25971 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25974 char *kwnames
[] = {
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (long)wxGetUTCTime();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= SWIG_From_long((long)(result
));
25995 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25998 char *kwnames
[] = {
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= (long)wxGetCurrentTime();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_From_long((long)(result
));
26019 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26022 char *kwnames
[] = {
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= wxGetLocalTimeMillis();
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26035 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26036 hi
= PyLong_FromLong( (&result
)->GetHi() );
26037 lo
= PyLong_FromLong( (&result
)->GetLo() );
26038 shifter
= PyLong_FromLong(32);
26039 shifted
= PyNumber_Lshift(hi
, shifter
);
26040 resultobj
= PyNumber_Or(shifted
, lo
);
26043 Py_DECREF(shifter
);
26044 Py_DECREF(shifted
);
26052 static int _wrap_DefaultDateTime_set(PyObject
*) {
26053 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26058 static PyObject
*_wrap_DefaultDateTime_get(void) {
26061 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26066 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxDataFormatId arg1
;
26069 wxDataFormat
*result
;
26070 PyObject
* obj0
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "type", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26077 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26078 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26094 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxString
*arg1
= 0 ;
26097 wxDataFormat
*result
;
26098 bool temp1
= false ;
26099 PyObject
* obj0
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "format", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26106 arg1
= wxString_in_helper(obj0
);
26107 if (arg1
== NULL
) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26132 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26135 PyObject
* obj0
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26142 if (SWIG_arg_fail(1)) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 Py_INCREF(Py_None
); resultobj
= Py_None
;
26157 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26158 PyObject
*resultobj
;
26159 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26160 wxDataFormatId arg2
;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26165 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26170 if (SWIG_arg_fail(2)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26188 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26189 PyObject
*resultobj
;
26190 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26191 wxDataFormatId arg2
;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26196 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26198 if (SWIG_arg_fail(1)) SWIG_fail
;
26200 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26201 if (SWIG_arg_fail(2)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26219 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26220 PyObject
*resultobj
;
26221 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26222 wxDataFormat
*arg2
= 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26227 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26232 if (SWIG_arg_fail(2)) SWIG_fail
;
26233 if (arg2
== NULL
) {
26234 SWIG_null_ref("wxDataFormat");
26236 if (SWIG_arg_fail(2)) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26254 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26259 argc
= PyObject_Length(args
);
26260 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26261 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26267 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26277 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26285 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26293 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26301 _v
= SWIG_Check_int(argv
[1]);
26303 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26308 Py_INCREF(Py_NotImplemented
);
26309 return Py_NotImplemented
;
26313 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26314 PyObject
*resultobj
;
26315 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26316 wxDataFormat
*arg2
= 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26321 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail
;
26325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(2)) SWIG_fail
;
26327 if (arg2
== NULL
) {
26328 SWIG_null_ref("wxDataFormat");
26330 if (SWIG_arg_fail(2)) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26348 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26353 argc
= PyObject_Length(args
);
26354 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26355 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26361 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26371 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26379 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26387 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26395 _v
= SWIG_Check_int(argv
[1]);
26397 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26402 Py_INCREF(Py_NotImplemented
);
26403 return Py_NotImplemented
;
26407 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26410 wxDataFormatId arg2
;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self",(char *) "format", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26419 if (SWIG_arg_fail(1)) SWIG_fail
;
26421 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26422 if (SWIG_arg_fail(2)) SWIG_fail
;
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 (arg1
)->SetType((wxDataFormatId
)arg2
);
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 Py_INCREF(Py_None
); resultobj
= Py_None
;
26438 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
;
26440 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26441 wxDataFormatId result
;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_From_int((result
));
26464 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26475 if (SWIG_arg_fail(1)) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= ((wxDataFormat
const *)arg1
)->GetId();
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26496 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26499 wxString
*arg2
= 0 ;
26500 bool temp2
= false ;
26501 PyObject
* obj0
= 0 ;
26502 PyObject
* obj1
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self",(char *) "format", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail
;
26511 arg2
= wxString_in_helper(obj1
);
26512 if (arg2
== NULL
) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 (arg1
)->SetId((wxString
const &)*arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 Py_INCREF(Py_None
); resultobj
= Py_None
;
26537 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26540 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26542 return Py_BuildValue((char *)"");
26544 static int _wrap_FormatInvalid_set(PyObject
*) {
26545 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26550 static PyObject
*_wrap_FormatInvalid_get(void) {
26553 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26558 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail
;
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 Py_INCREF(Py_None
); resultobj
= Py_None
;
26583 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
;
26585 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26586 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26587 SwigValueWrapper
<wxDataFormat
> result
;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self",(char *) "dir", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26596 if (SWIG_arg_fail(1)) SWIG_fail
;
26599 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26600 if (SWIG_arg_fail(2)) SWIG_fail
;
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26611 wxDataFormat
* resultptr
;
26612 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26621 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26624 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "dir", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26638 if (SWIG_arg_fail(2)) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26657 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26660 wxDataFormat
*arg2
= 0 ;
26661 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 PyObject
* obj2
= 0 ;
26666 char *kwnames
[] = {
26667 (char *) "self",(char *) "format",(char *) "dir", NULL
26670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26672 if (SWIG_arg_fail(1)) SWIG_fail
;
26674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26675 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 if (arg2
== NULL
) {
26677 SWIG_null_ref("wxDataFormat");
26679 if (SWIG_arg_fail(2)) SWIG_fail
;
26683 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
26684 if (SWIG_arg_fail(3)) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26703 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26706 wxDataFormat
*arg2
= 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self",(char *) "format", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26716 if (SWIG_arg_fail(1)) SWIG_fail
;
26718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26719 if (SWIG_arg_fail(2)) SWIG_fail
;
26720 if (arg2
== NULL
) {
26721 SWIG_null_ref("wxDataFormat");
26723 if (SWIG_arg_fail(2)) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26733 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26741 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26744 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self",(char *) "dir", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
26753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26754 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26758 if (SWIG_arg_fail(2)) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= result
;
26775 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26778 wxDataFormat
*arg2
= 0 ;
26780 PyObject
* obj0
= 0 ;
26781 PyObject
* obj1
= 0 ;
26782 char *kwnames
[] = {
26783 (char *) "self",(char *) "format", NULL
26786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
26787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26788 if (SWIG_arg_fail(1)) SWIG_fail
;
26790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26791 if (SWIG_arg_fail(2)) SWIG_fail
;
26792 if (arg2
== NULL
) {
26793 SWIG_null_ref("wxDataFormat");
26795 if (SWIG_arg_fail(2)) SWIG_fail
;
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26804 resultobj
= result
;
26811 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26814 wxDataFormat
*arg2
= 0 ;
26815 PyObject
*arg3
= (PyObject
*) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 PyObject
* obj2
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self",(char *) "format",(char *) "data", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26826 if (SWIG_arg_fail(1)) SWIG_fail
;
26828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26829 if (SWIG_arg_fail(2)) SWIG_fail
;
26830 if (arg2
== NULL
) {
26831 SWIG_null_ref("wxDataFormat");
26833 if (SWIG_arg_fail(2)) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26852 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
26854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26855 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
26857 return Py_BuildValue((char *)"");
26859 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26862 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26863 wxDataObjectSimple
*result
;
26864 PyObject
* obj0
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "format", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
26872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26873 if (SWIG_arg_fail(1)) SWIG_fail
;
26874 if (arg1
== NULL
) {
26875 SWIG_null_ref("wxDataFormat");
26877 if (SWIG_arg_fail(1)) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
26894 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26897 wxDataFormat
*result
;
26898 PyObject
* obj0
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
26904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
26910 result
= (wxDataFormat
*) &_result_ref
;
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
26923 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26926 wxDataFormat
*arg2
= 0 ;
26927 PyObject
* obj0
= 0 ;
26928 PyObject
* obj1
= 0 ;
26929 char *kwnames
[] = {
26930 (char *) "self",(char *) "format", NULL
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26935 if (SWIG_arg_fail(1)) SWIG_fail
;
26937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26938 if (SWIG_arg_fail(2)) SWIG_fail
;
26939 if (arg2
== NULL
) {
26940 SWIG_null_ref("wxDataFormat");
26942 if (SWIG_arg_fail(2)) SWIG_fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 Py_INCREF(Py_None
); resultobj
= Py_None
;
26958 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26962 PyObject
* obj0
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
26968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26969 if (SWIG_arg_fail(1)) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26986 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
26996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26997 if (SWIG_arg_fail(1)) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= result
;
27012 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27015 PyObject
*arg2
= (PyObject
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char *kwnames
[] = {
27020 (char *) "self",(char *) "data", NULL
27023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27025 if (SWIG_arg_fail(1)) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27043 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27046 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27048 return Py_BuildValue((char *)"");
27050 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27053 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27054 wxPyDataObjectSimple
*result
;
27055 PyObject
* obj0
= 0 ;
27056 char *kwnames
[] = {
27057 (char *) "format", NULL
27060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 if (arg1
== NULL
) {
27066 SWIG_null_ref("wxDataFormat");
27068 if (SWIG_arg_fail(1)) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27085 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27088 PyObject
*arg2
= (PyObject
*) 0 ;
27089 PyObject
*arg3
= (PyObject
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 PyObject
* obj2
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "self",(char *) "_class", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27099 if (SWIG_arg_fail(1)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27116 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27119 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27121 return Py_BuildValue((char *)"");
27123 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxDataObjectComposite
*result
;
27126 char *kwnames
[] = {
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27145 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27148 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27149 bool arg3
= (bool) false ;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj1
= 0 ;
27152 PyObject
* obj2
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27159 if (SWIG_arg_fail(1)) SWIG_fail
;
27160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27161 if (SWIG_arg_fail(2)) SWIG_fail
;
27164 arg3
= (bool)(SWIG_As_bool(obj2
));
27165 if (SWIG_arg_fail(3)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->Add(arg2
,arg3
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27185 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27187 return Py_BuildValue((char *)"");
27189 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27192 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27193 wxTextDataObject
*result
;
27194 bool temp1
= false ;
27195 PyObject
* obj0
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "text", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27203 arg1
= wxString_in_helper(obj0
);
27204 if (arg1
== NULL
) SWIG_fail
;
27209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27210 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27230 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27234 PyObject
* obj0
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (size_t)(arg1
)->GetTextLength();
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27258 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (arg1
)->GetText();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27290 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27293 wxString
*arg2
= 0 ;
27294 bool temp2
= false ;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "text", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(1)) SWIG_fail
;
27305 arg2
= wxString_in_helper(obj1
);
27306 if (arg2
== NULL
) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 (arg1
)->SetText((wxString
const &)*arg2
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 Py_INCREF(Py_None
); resultobj
= Py_None
;
27331 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27334 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27336 return Py_BuildValue((char *)"");
27338 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27341 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27342 wxPyTextDataObject
*result
;
27343 bool temp1
= false ;
27344 PyObject
* obj0
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "text", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27352 arg1
= wxString_in_helper(obj0
);
27353 if (arg1
== NULL
) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27379 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27382 PyObject
*arg2
= (PyObject
*) 0 ;
27383 PyObject
*arg3
= (PyObject
*) 0 ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 PyObject
* obj2
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "self",(char *) "_class", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 Py_INCREF(Py_None
); resultobj
= Py_None
;
27410 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27413 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27415 return Py_BuildValue((char *)"");
27417 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27420 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27421 wxBitmapDataObject
*result
;
27422 PyObject
* obj0
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "bitmap", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail
;
27432 if (arg1
== NULL
) {
27433 SWIG_null_ref("wxBitmap");
27435 if (SWIG_arg_fail(1)) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27452 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail
;
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 wxBitmap
* resultptr
;
27473 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27482 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27485 wxBitmap
*arg2
= 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "bitmap", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27497 if (SWIG_arg_fail(2)) SWIG_fail
;
27498 if (arg2
== NULL
) {
27499 SWIG_null_ref("wxBitmap");
27501 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 Py_INCREF(Py_None
); resultobj
= Py_None
;
27517 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27520 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27522 return Py_BuildValue((char *)"");
27524 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
;
27526 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27527 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27528 wxPyBitmapDataObject
*result
;
27529 PyObject
* obj0
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "bitmap", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27538 if (SWIG_arg_fail(1)) SWIG_fail
;
27539 if (arg1
== NULL
) {
27540 SWIG_null_ref("wxBitmap");
27542 if (SWIG_arg_fail(1)) SWIG_fail
;
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27559 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27562 PyObject
*arg2
= (PyObject
*) 0 ;
27563 PyObject
*arg3
= (PyObject
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 PyObject
* obj2
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self",(char *) "self",(char *) "_class", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27573 if (SWIG_arg_fail(1)) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 Py_INCREF(Py_None
); resultobj
= Py_None
;
27590 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27593 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27595 return Py_BuildValue((char *)"");
27597 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxFileDataObject
*result
;
27600 char *kwnames
[] = {
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (wxFileDataObject
*)new wxFileDataObject();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27619 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27622 wxArrayString
*result
;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27630 if (SWIG_arg_fail(1)) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27635 result
= (wxArrayString
*) &_result_ref
;
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= wxArrayString2PyList_helper(*result
);
27650 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27653 wxString
*arg2
= 0 ;
27654 bool temp2
= false ;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "self",(char *) "filename", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27663 if (SWIG_arg_fail(1)) SWIG_fail
;
27665 arg2
= wxString_in_helper(obj1
);
27666 if (arg2
== NULL
) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->AddFile((wxString
const &)*arg2
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
27693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27694 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
27696 return Py_BuildValue((char *)"");
27698 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
27699 PyObject
*resultobj
;
27700 wxDataFormat
*arg1
= 0 ;
27701 wxCustomDataObject
*result
;
27702 PyObject
* obj0
= 0 ;
27704 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27707 if (SWIG_arg_fail(1)) SWIG_fail
;
27708 if (arg1
== NULL
) {
27709 SWIG_null_ref("wxDataFormat");
27711 if (SWIG_arg_fail(1)) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27727 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
27728 PyObject
*resultobj
;
27729 wxString
*arg1
= 0 ;
27730 wxCustomDataObject
*result
;
27731 bool temp1
= false ;
27732 PyObject
* obj0
= 0 ;
27734 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27736 arg1
= wxString_in_helper(obj0
);
27737 if (arg1
== NULL
) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27762 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
27763 PyObject
*resultobj
;
27764 wxCustomDataObject
*result
;
27766 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 result
= (wxCustomDataObject
*)new wxCustomDataObject();
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27781 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
27786 argc
= PyObject_Length(args
);
27787 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
27788 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27791 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
27796 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
27799 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
27806 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27814 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
27818 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
27823 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
;
27825 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27826 PyObject
*arg2
= (PyObject
*) 0 ;
27828 PyObject
* obj0
= 0 ;
27829 PyObject
* obj1
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self",(char *) "data", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27836 if (SWIG_arg_fail(1)) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27854 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
27864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27865 if (SWIG_arg_fail(1)) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (size_t)(arg1
)->GetSize();
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27882 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
27892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27893 if (SWIG_arg_fail(1)) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= result
;
27908 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
27910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27911 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
27913 return Py_BuildValue((char *)"");
27915 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxURLDataObject
*result
;
27918 char *kwnames
[] = {
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (wxURLDataObject
*)new wxURLDataObject();
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
27937 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
27947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27948 if (SWIG_arg_fail(1)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (arg1
)->GetURL();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27969 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
27972 wxString
*arg2
= 0 ;
27973 bool temp2
= false ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "url", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
27981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27982 if (SWIG_arg_fail(1)) SWIG_fail
;
27984 arg2
= wxString_in_helper(obj1
);
27985 if (arg2
== NULL
) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->SetURL((wxString
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28010 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28013 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28015 return Py_BuildValue((char *)"");
28017 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxMetafileDataObject
*result
;
28020 char *kwnames
[] = {
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28039 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
;
28041 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28042 wxMetafile
*arg2
= 0 ;
28043 PyObject
* obj0
= 0 ;
28044 PyObject
* obj1
= 0 ;
28045 char *kwnames
[] = {
28046 (char *) "self",(char *) "metafile", NULL
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28051 if (SWIG_arg_fail(1)) SWIG_fail
;
28053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28054 if (SWIG_arg_fail(2)) SWIG_fail
;
28055 if (arg2
== NULL
) {
28056 SWIG_null_ref("wxMetafile");
28058 if (SWIG_arg_fail(2)) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 Py_INCREF(Py_None
); resultobj
= Py_None
;
28074 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 char *kwnames
[] = {
28080 (char *) "self", NULL
28083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28085 if (SWIG_arg_fail(1)) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28094 wxMetafile
* resultptr
;
28095 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28104 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28107 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28109 return Py_BuildValue((char *)"");
28111 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
;
28113 wxDragResult arg1
;
28115 PyObject
* obj0
= 0 ;
28116 char *kwnames
[] = {
28117 (char *) "res", NULL
28120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28122 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28123 if (SWIG_arg_fail(1)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28141 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxWindow
*arg1
= (wxWindow
*) 0 ;
28144 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28145 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28146 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28147 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28148 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28149 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28150 wxPyDropSource
*result
;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 PyObject
* obj2
= 0 ;
28154 PyObject
* obj3
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail
;
28164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28165 if (SWIG_arg_fail(2)) SWIG_fail
;
28166 if (arg2
== NULL
) {
28167 SWIG_null_ref("wxCursor");
28169 if (SWIG_arg_fail(2)) SWIG_fail
;
28174 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28175 if (SWIG_arg_fail(3)) SWIG_fail
;
28176 if (arg3
== NULL
) {
28177 SWIG_null_ref("wxCursor");
28179 if (SWIG_arg_fail(3)) SWIG_fail
;
28184 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28185 if (SWIG_arg_fail(4)) SWIG_fail
;
28186 if (arg4
== NULL
) {
28187 SWIG_null_ref("wxCursor");
28189 if (SWIG_arg_fail(4)) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28206 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28209 PyObject
*arg2
= (PyObject
*) 0 ;
28210 PyObject
*arg3
= (PyObject
*) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 PyObject
* obj1
= 0 ;
28214 PyObject
* obj2
= 0 ;
28215 PyObject
* obj3
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail
;
28226 arg4
= (int)(SWIG_As_int(obj3
));
28227 if (SWIG_arg_fail(4)) SWIG_fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 Py_INCREF(Py_None
); resultobj
= Py_None
;
28243 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28246 PyObject
* obj0
= 0 ;
28247 char *kwnames
[] = {
28248 (char *) "self", NULL
28251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28253 if (SWIG_arg_fail(1)) SWIG_fail
;
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 Py_INCREF(Py_None
); resultobj
= Py_None
;
28268 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28271 wxDataObject
*arg2
= 0 ;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self",(char *) "data", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28280 if (SWIG_arg_fail(1)) SWIG_fail
;
28282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28283 if (SWIG_arg_fail(2)) SWIG_fail
;
28284 if (arg2
== NULL
) {
28285 SWIG_null_ref("wxDataObject");
28287 if (SWIG_arg_fail(2)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 (arg1
)->SetData(*arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 Py_INCREF(Py_None
); resultobj
= Py_None
;
28303 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28306 wxDataObject
*result
;
28307 PyObject
* obj0
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28329 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28332 wxDragResult arg2
;
28333 wxCursor
*arg3
= 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 PyObject
* obj2
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self",(char *) "res",(char *) "cursor", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28343 if (SWIG_arg_fail(1)) SWIG_fail
;
28345 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28346 if (SWIG_arg_fail(2)) SWIG_fail
;
28349 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(3)) SWIG_fail
;
28351 if (arg3
== NULL
) {
28352 SWIG_null_ref("wxCursor");
28354 if (SWIG_arg_fail(3)) SWIG_fail
;
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 Py_INCREF(Py_None
); resultobj
= Py_None
;
28370 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28373 int arg2
= (int) wxDrag_CopyOnly
;
28374 wxDragResult result
;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "flags", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail
;
28386 arg2
= (int)(SWIG_As_int(obj1
));
28387 if (SWIG_arg_fail(2)) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= SWIG_From_int((result
));
28404 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28407 wxDragResult arg2
;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "effect", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28417 if (SWIG_arg_fail(1)) SWIG_fail
;
28419 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28420 if (SWIG_arg_fail(2)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28438 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28441 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28443 return Py_BuildValue((char *)"");
28445 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
;
28447 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28448 wxPyDropTarget
*result
;
28449 PyObject
* obj0
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "dataObject", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28457 if (SWIG_arg_fail(1)) SWIG_fail
;
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28473 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
;
28475 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28476 PyObject
*arg2
= (PyObject
*) 0 ;
28477 PyObject
*arg3
= (PyObject
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 PyObject
* obj2
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self",(char *) "self",(char *) "_class", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(1)) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 Py_INCREF(Py_None
); resultobj
= Py_None
;
28504 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28514 if (SWIG_arg_fail(1)) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 Py_INCREF(Py_None
); resultobj
= Py_None
;
28529 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28532 wxDataObject
*result
;
28533 PyObject
* obj0
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(1)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28555 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
;
28557 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28558 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self",(char *) "dataObject", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28567 if (SWIG_arg_fail(1)) SWIG_fail
;
28568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28569 if (SWIG_arg_fail(2)) SWIG_fail
;
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 (arg1
)->SetDataObject(arg2
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 Py_INCREF(Py_None
); resultobj
= Py_None
;
28584 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28589 wxDragResult arg4
;
28590 wxDragResult result
;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 PyObject
* obj2
= 0 ;
28594 PyObject
* obj3
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28601 if (SWIG_arg_fail(1)) SWIG_fail
;
28603 arg2
= (int)(SWIG_As_int(obj1
));
28604 if (SWIG_arg_fail(2)) SWIG_fail
;
28607 arg3
= (int)(SWIG_As_int(obj2
));
28608 if (SWIG_arg_fail(3)) SWIG_fail
;
28611 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28612 if (SWIG_arg_fail(4)) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_From_int((result
));
28628 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28633 wxDragResult arg4
;
28634 wxDragResult result
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 PyObject
* obj2
= 0 ;
28638 PyObject
* obj3
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28645 if (SWIG_arg_fail(1)) SWIG_fail
;
28647 arg2
= (int)(SWIG_As_int(obj1
));
28648 if (SWIG_arg_fail(2)) SWIG_fail
;
28651 arg3
= (int)(SWIG_As_int(obj2
));
28652 if (SWIG_arg_fail(3)) SWIG_fail
;
28655 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28656 if (SWIG_arg_fail(4)) SWIG_fail
;
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= SWIG_From_int((result
));
28672 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(1)) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 (arg1
)->base_OnLeave();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 Py_INCREF(Py_None
); resultobj
= Py_None
;
28697 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
;
28699 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 PyObject
* obj1
= 0 ;
28705 PyObject
* obj2
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self",(char *) "x",(char *) "y", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail
;
28714 arg2
= (int)(SWIG_As_int(obj1
));
28715 if (SWIG_arg_fail(2)) SWIG_fail
;
28718 arg3
= (int)(SWIG_As_int(obj2
));
28719 if (SWIG_arg_fail(3)) SWIG_fail
;
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28737 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28738 PyObject
*resultobj
;
28739 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28741 PyObject
* obj0
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= (bool)(arg1
)->GetData();
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28765 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
28767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28768 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
28770 return Py_BuildValue((char *)"");
28772 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
;
28774 wxPyTextDropTarget
*result
;
28775 char *kwnames
[] = {
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28782 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
28794 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28797 PyObject
*arg2
= (PyObject
*) 0 ;
28798 PyObject
*arg3
= (PyObject
*) 0 ;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "self",(char *) "_class", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28808 if (SWIG_arg_fail(1)) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 Py_INCREF(Py_None
); resultobj
= Py_None
;
28825 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28830 wxDragResult arg4
;
28831 wxDragResult result
;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 PyObject
* obj2
= 0 ;
28835 PyObject
* obj3
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28842 if (SWIG_arg_fail(1)) SWIG_fail
;
28844 arg2
= (int)(SWIG_As_int(obj1
));
28845 if (SWIG_arg_fail(2)) SWIG_fail
;
28848 arg3
= (int)(SWIG_As_int(obj2
));
28849 if (SWIG_arg_fail(3)) SWIG_fail
;
28852 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28853 if (SWIG_arg_fail(4)) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= SWIG_From_int((result
));
28869 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28874 wxDragResult arg4
;
28875 wxDragResult result
;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 PyObject
* obj2
= 0 ;
28879 PyObject
* obj3
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28886 if (SWIG_arg_fail(1)) SWIG_fail
;
28888 arg2
= (int)(SWIG_As_int(obj1
));
28889 if (SWIG_arg_fail(2)) SWIG_fail
;
28892 arg3
= (int)(SWIG_As_int(obj2
));
28893 if (SWIG_arg_fail(3)) SWIG_fail
;
28896 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28897 if (SWIG_arg_fail(4)) SWIG_fail
;
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_From_int((result
));
28913 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28916 PyObject
* obj0
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 (arg1
)->base_OnLeave();
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 Py_INCREF(Py_None
); resultobj
= Py_None
;
28938 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 PyObject
* obj2
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "x",(char *) "y", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28953 if (SWIG_arg_fail(1)) SWIG_fail
;
28955 arg2
= (int)(SWIG_As_int(obj1
));
28956 if (SWIG_arg_fail(2)) SWIG_fail
;
28959 arg3
= (int)(SWIG_As_int(obj2
));
28960 if (SWIG_arg_fail(3)) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28978 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28983 wxDragResult arg4
;
28984 wxDragResult result
;
28985 PyObject
* obj0
= 0 ;
28986 PyObject
* obj1
= 0 ;
28987 PyObject
* obj2
= 0 ;
28988 PyObject
* obj3
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28995 if (SWIG_arg_fail(1)) SWIG_fail
;
28997 arg2
= (int)(SWIG_As_int(obj1
));
28998 if (SWIG_arg_fail(2)) SWIG_fail
;
29001 arg3
= (int)(SWIG_As_int(obj2
));
29002 if (SWIG_arg_fail(3)) SWIG_fail
;
29005 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29006 if (SWIG_arg_fail(4)) SWIG_fail
;
29009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29010 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_From_int((result
));
29022 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29025 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29027 return Py_BuildValue((char *)"");
29029 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxPyFileDropTarget
*result
;
29032 char *kwnames
[] = {
29036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29051 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29054 PyObject
*arg2
= (PyObject
*) 0 ;
29055 PyObject
*arg3
= (PyObject
*) 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 PyObject
* obj2
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self",(char *) "self",(char *) "_class", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29065 if (SWIG_arg_fail(1)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 Py_INCREF(Py_None
); resultobj
= Py_None
;
29082 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29087 wxDragResult arg4
;
29088 wxDragResult result
;
29089 PyObject
* obj0
= 0 ;
29090 PyObject
* obj1
= 0 ;
29091 PyObject
* obj2
= 0 ;
29092 PyObject
* obj3
= 0 ;
29093 char *kwnames
[] = {
29094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29099 if (SWIG_arg_fail(1)) SWIG_fail
;
29101 arg2
= (int)(SWIG_As_int(obj1
));
29102 if (SWIG_arg_fail(2)) SWIG_fail
;
29105 arg3
= (int)(SWIG_As_int(obj2
));
29106 if (SWIG_arg_fail(3)) SWIG_fail
;
29109 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29110 if (SWIG_arg_fail(4)) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 resultobj
= SWIG_From_int((result
));
29126 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
;
29128 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29131 wxDragResult arg4
;
29132 wxDragResult result
;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 PyObject
* obj2
= 0 ;
29136 PyObject
* obj3
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail
;
29145 arg2
= (int)(SWIG_As_int(obj1
));
29146 if (SWIG_arg_fail(2)) SWIG_fail
;
29149 arg3
= (int)(SWIG_As_int(obj2
));
29150 if (SWIG_arg_fail(3)) SWIG_fail
;
29153 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29154 if (SWIG_arg_fail(4)) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 resultobj
= SWIG_From_int((result
));
29170 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
;
29172 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29173 PyObject
* obj0
= 0 ;
29174 char *kwnames
[] = {
29175 (char *) "self", NULL
29178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29180 if (SWIG_arg_fail(1)) SWIG_fail
;
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 (arg1
)->base_OnLeave();
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 Py_INCREF(Py_None
); resultobj
= Py_None
;
29195 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 PyObject
* obj2
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "self",(char *) "x",(char *) "y", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29210 if (SWIG_arg_fail(1)) SWIG_fail
;
29212 arg2
= (int)(SWIG_As_int(obj1
));
29213 if (SWIG_arg_fail(2)) SWIG_fail
;
29216 arg3
= (int)(SWIG_As_int(obj2
));
29217 if (SWIG_arg_fail(3)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29235 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29240 wxDragResult arg4
;
29241 wxDragResult result
;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 PyObject
* obj2
= 0 ;
29245 PyObject
* obj3
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(1)) SWIG_fail
;
29254 arg2
= (int)(SWIG_As_int(obj1
));
29255 if (SWIG_arg_fail(2)) SWIG_fail
;
29258 arg3
= (int)(SWIG_As_int(obj2
));
29259 if (SWIG_arg_fail(3)) SWIG_fail
;
29262 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29263 if (SWIG_arg_fail(4)) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 resultobj
= SWIG_From_int((result
));
29279 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29282 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29284 return Py_BuildValue((char *)"");
29286 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
;
29288 wxClipboard
*result
;
29289 char *kwnames
[] = {
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (wxClipboard
*)new wxClipboard();
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29308 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29311 PyObject
* obj0
= 0 ;
29312 char *kwnames
[] = {
29313 (char *) "self", NULL
29316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29318 if (SWIG_arg_fail(1)) SWIG_fail
;
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29326 Py_INCREF(Py_None
); resultobj
= Py_None
;
29333 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29337 PyObject
* obj0
= 0 ;
29338 char *kwnames
[] = {
29339 (char *) "self", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29344 if (SWIG_arg_fail(1)) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (bool)(arg1
)->Open();
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29361 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29371 if (SWIG_arg_fail(1)) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 Py_INCREF(Py_None
); resultobj
= Py_None
;
29386 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29397 if (SWIG_arg_fail(1)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29414 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29417 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self",(char *) "data", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29427 if (SWIG_arg_fail(1)) SWIG_fail
;
29428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29429 if (SWIG_arg_fail(2)) SWIG_fail
;
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= (bool)(arg1
)->AddData(arg2
);
29434 wxPyEndAllowThreads(__tstate
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29446 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
;
29448 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29449 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29451 PyObject
* obj0
= 0 ;
29452 PyObject
* obj1
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self",(char *) "data", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29459 if (SWIG_arg_fail(1)) SWIG_fail
;
29460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29461 if (SWIG_arg_fail(2)) SWIG_fail
;
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 result
= (bool)(arg1
)->SetData(arg2
);
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29478 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29481 wxDataFormat
*arg2
= 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 char *kwnames
[] = {
29486 (char *) "self",(char *) "format", NULL
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29491 if (SWIG_arg_fail(1)) SWIG_fail
;
29493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29494 if (SWIG_arg_fail(2)) SWIG_fail
;
29495 if (arg2
== NULL
) {
29496 SWIG_null_ref("wxDataFormat");
29498 if (SWIG_arg_fail(2)) SWIG_fail
;
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29516 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
;
29518 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29519 wxDataObject
*arg2
= 0 ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char *kwnames
[] = {
29524 (char *) "self",(char *) "data", NULL
29527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29529 if (SWIG_arg_fail(1)) SWIG_fail
;
29531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29532 if (SWIG_arg_fail(2)) SWIG_fail
;
29533 if (arg2
== NULL
) {
29534 SWIG_null_ref("wxDataObject");
29536 if (SWIG_arg_fail(2)) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (bool)(arg1
)->GetData(*arg2
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29554 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
;
29556 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29557 PyObject
* obj0
= 0 ;
29558 char *kwnames
[] = {
29559 (char *) "self", NULL
29562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29564 if (SWIG_arg_fail(1)) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 Py_INCREF(Py_None
); resultobj
= Py_None
;
29579 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29590 if (SWIG_arg_fail(1)) SWIG_fail
;
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (bool)(arg1
)->Flush();
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29607 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29610 bool arg2
= (bool) true ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "self",(char *) "primary", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29619 if (SWIG_arg_fail(1)) SWIG_fail
;
29622 arg2
= (bool)(SWIG_As_bool(obj1
));
29623 if (SWIG_arg_fail(2)) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 (arg1
)->UsePrimarySelection(arg2
);
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 Py_INCREF(Py_None
); resultobj
= Py_None
;
29640 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
;
29642 wxClipboard
*result
;
29643 char *kwnames
[] = {
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (wxClipboard
*)wxClipboard::Get();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29662 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29665 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29667 return Py_BuildValue((char *)"");
29669 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29672 wxClipboardLocker
*result
;
29673 PyObject
* obj0
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "clipboard", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29681 if (SWIG_arg_fail(1)) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29697 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29707 if (SWIG_arg_fail(1)) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29715 Py_INCREF(Py_None
); resultobj
= Py_None
;
29722 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
;
29724 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 char *kwnames
[] = {
29728 (char *) "self", NULL
29731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29733 if (SWIG_arg_fail(1)) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29750 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29753 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29755 return Py_BuildValue((char *)"");
29757 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29758 PyObject
*resultobj
;
29759 int arg1
= (int) 0 ;
29760 int arg2
= (int) 0 ;
29761 int arg3
= (int) 0 ;
29762 int arg4
= (int) 0 ;
29763 wxVideoMode
*result
;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 PyObject
* obj2
= 0 ;
29767 PyObject
* obj3
= 0 ;
29768 char *kwnames
[] = {
29769 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
29772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29775 arg1
= (int)(SWIG_As_int(obj0
));
29776 if (SWIG_arg_fail(1)) SWIG_fail
;
29781 arg2
= (int)(SWIG_As_int(obj1
));
29782 if (SWIG_arg_fail(2)) SWIG_fail
;
29787 arg3
= (int)(SWIG_As_int(obj2
));
29788 if (SWIG_arg_fail(3)) SWIG_fail
;
29793 arg4
= (int)(SWIG_As_int(obj3
));
29794 if (SWIG_arg_fail(4)) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
29811 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 char *kwnames
[] = {
29816 (char *) "self", NULL
29819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
29820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29821 if (SWIG_arg_fail(1)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 Py_INCREF(Py_None
); resultobj
= Py_None
;
29836 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29839 wxVideoMode
*arg2
= 0 ;
29841 PyObject
* obj0
= 0 ;
29842 PyObject
* obj1
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "self",(char *) "other", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
29848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29849 if (SWIG_arg_fail(1)) SWIG_fail
;
29851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29852 if (SWIG_arg_fail(2)) SWIG_fail
;
29853 if (arg2
== NULL
) {
29854 SWIG_null_ref("wxVideoMode");
29856 if (SWIG_arg_fail(2)) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29874 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
29884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29885 if (SWIG_arg_fail(1)) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29894 resultobj
= SWIG_From_int((int)(result
));
29902 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29906 PyObject
* obj0
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
29912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29913 if (SWIG_arg_fail(1)) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_From_int((int)(result
));
29930 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29934 PyObject
* obj0
= 0 ;
29935 char *kwnames
[] = {
29936 (char *) "self", NULL
29939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
29940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29941 if (SWIG_arg_fail(1)) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29950 resultobj
= SWIG_From_int((int)(result
));
29958 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
;
29960 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
29968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29969 if (SWIG_arg_fail(1)) SWIG_fail
;
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29986 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
;
29988 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29989 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 char *kwnames
[] = {
29994 (char *) "self",(char *) "other", NULL
29997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
29998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29999 if (SWIG_arg_fail(1)) SWIG_fail
;
30000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30001 if (SWIG_arg_fail(2)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30018 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
;
30020 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30021 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30023 PyObject
* obj0
= 0 ;
30024 PyObject
* obj1
= 0 ;
30025 char *kwnames
[] = {
30026 (char *) "self",(char *) "other", NULL
30029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30031 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30050 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
;
30052 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "w", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(1)) SWIG_fail
;
30064 arg2
= (int)(SWIG_As_int(obj1
));
30065 if (SWIG_arg_fail(2)) SWIG_fail
;
30067 if (arg1
) (arg1
)->w
= arg2
;
30069 Py_INCREF(Py_None
); resultobj
= Py_None
;
30076 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
;
30078 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30080 PyObject
* obj0
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(1)) SWIG_fail
;
30088 result
= (int) ((arg1
)->w
);
30091 resultobj
= SWIG_From_int((int)(result
));
30099 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
;
30101 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self",(char *) "h", NULL
30109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30111 if (SWIG_arg_fail(1)) SWIG_fail
;
30113 arg2
= (int)(SWIG_As_int(obj1
));
30114 if (SWIG_arg_fail(2)) SWIG_fail
;
30116 if (arg1
) (arg1
)->h
= arg2
;
30118 Py_INCREF(Py_None
); resultobj
= Py_None
;
30125 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30129 PyObject
* obj0
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30136 if (SWIG_arg_fail(1)) SWIG_fail
;
30137 result
= (int) ((arg1
)->h
);
30140 resultobj
= SWIG_From_int((int)(result
));
30148 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
;
30150 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self",(char *) "bpp", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30160 if (SWIG_arg_fail(1)) SWIG_fail
;
30162 arg2
= (int)(SWIG_As_int(obj1
));
30163 if (SWIG_arg_fail(2)) SWIG_fail
;
30165 if (arg1
) (arg1
)->bpp
= arg2
;
30167 Py_INCREF(Py_None
); resultobj
= Py_None
;
30174 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30185 if (SWIG_arg_fail(1)) SWIG_fail
;
30186 result
= (int) ((arg1
)->bpp
);
30189 resultobj
= SWIG_From_int((int)(result
));
30197 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
;
30199 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "refresh", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30209 if (SWIG_arg_fail(1)) SWIG_fail
;
30211 arg2
= (int)(SWIG_As_int(obj1
));
30212 if (SWIG_arg_fail(2)) SWIG_fail
;
30214 if (arg1
) (arg1
)->refresh
= arg2
;
30216 Py_INCREF(Py_None
); resultobj
= Py_None
;
30223 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
;
30225 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30227 PyObject
* obj0
= 0 ;
30228 char *kwnames
[] = {
30229 (char *) "self", NULL
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(1)) SWIG_fail
;
30235 result
= (int) ((arg1
)->refresh
);
30238 resultobj
= SWIG_From_int((int)(result
));
30246 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30249 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30251 return Py_BuildValue((char *)"");
30253 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30254 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30259 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30262 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30267 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 size_t arg1
= (size_t) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "index", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30279 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30280 if (SWIG_arg_fail(1)) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (wxDisplay
*)new wxDisplay(arg1
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30297 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
;
30299 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30300 PyObject
* obj0
= 0 ;
30301 char *kwnames
[] = {
30302 (char *) "self", NULL
30305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30307 if (SWIG_arg_fail(1)) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 Py_INCREF(Py_None
); resultobj
= Py_None
;
30322 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30325 char *kwnames
[] = {
30329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= (size_t)wxDisplay::GetCount();
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30346 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
;
30348 wxPoint
*arg1
= 0 ;
30351 PyObject
* obj0
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "pt", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30359 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_From_int((int)(result
));
30377 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
;
30379 wxWindow
*arg1
= (wxWindow
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "window", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30388 if (SWIG_arg_fail(1)) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= (int)wxDisplay::GetFromWindow(arg1
);
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_From_int((int)(result
));
30405 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
;
30407 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 char *kwnames
[] = {
30411 (char *) "self", NULL
30414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30416 if (SWIG_arg_fail(1)) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30433 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30437 PyObject
* obj0
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30444 if (SWIG_arg_fail(1)) SWIG_fail
;
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30449 wxPyEndAllowThreads(__tstate
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30453 wxRect
* resultptr
;
30454 resultptr
= new wxRect((wxRect
&)(result
));
30455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30463 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30467 PyObject
* obj0
= 0 ;
30468 char *kwnames
[] = {
30469 (char *) "self", NULL
30472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30474 if (SWIG_arg_fail(1)) SWIG_fail
;
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 result
= ((wxDisplay
const *)arg1
)->GetName();
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30495 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30499 PyObject
* obj0
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30506 if (SWIG_arg_fail(1)) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30523 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
;
30525 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30526 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30527 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self",(char *) "mode", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30537 if (SWIG_arg_fail(1)) SWIG_fail
;
30540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30541 if (SWIG_arg_fail(2)) SWIG_fail
;
30542 if (arg2
== NULL
) {
30543 SWIG_null_ref("wxVideoMode");
30545 if (SWIG_arg_fail(2)) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= result
;
30562 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
;
30564 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30565 wxVideoMode result
;
30566 PyObject
* obj0
= 0 ;
30567 char *kwnames
[] = {
30568 (char *) "self", NULL
30571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30573 if (SWIG_arg_fail(1)) SWIG_fail
;
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30582 wxVideoMode
* resultptr
;
30583 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30592 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30595 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30596 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30598 PyObject
* obj0
= 0 ;
30599 PyObject
* obj1
= 0 ;
30600 char *kwnames
[] = {
30601 (char *) "self",(char *) "mode", NULL
30604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30606 if (SWIG_arg_fail(1)) SWIG_fail
;
30609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(2)) SWIG_fail
;
30611 if (arg2
== NULL
) {
30612 SWIG_null_ref("wxVideoMode");
30614 if (SWIG_arg_fail(2)) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30633 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "self", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30643 if (SWIG_arg_fail(1)) SWIG_fail
;
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 (arg1
)->ResetMode();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 Py_INCREF(Py_None
); resultobj
= Py_None
;
30658 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30661 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30663 return Py_BuildValue((char *)"");
30665 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxStandardPaths
*result
;
30668 char *kwnames
[] = {
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 result
= (wxStandardPaths
*)StandardPaths_Get();
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30687 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
;
30689 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30691 PyObject
* obj0
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "self", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30698 if (SWIG_arg_fail(1)) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30719 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30730 if (SWIG_arg_fail(1)) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30751 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30783 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
;
30785 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30787 PyObject
* obj0
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
30793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30794 if (SWIG_arg_fail(1)) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30815 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
30825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30826 if (SWIG_arg_fail(1)) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30847 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
;
30849 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
30857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30858 if (SWIG_arg_fail(1)) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30879 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30883 PyObject
* obj0
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
30889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30911 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
;
30913 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30914 wxString
*arg2
= 0 ;
30915 bool temp2
= false ;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "self",(char *) "prefix", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
30923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30924 if (SWIG_arg_fail(1)) SWIG_fail
;
30926 arg2
= wxString_in_helper(obj1
);
30927 if (arg2
== NULL
) SWIG_fail
;
30931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 Py_INCREF(Py_None
); resultobj
= Py_None
;
30952 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 char *kwnames
[] = {
30958 (char *) "self", NULL
30961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
30962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30963 if (SWIG_arg_fail(1)) SWIG_fail
;
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 result
= wxStandardPaths_GetInstallPrefix(arg1
);
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30984 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
30986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30987 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
30989 return Py_BuildValue((char *)"");
30991 static PyMethodDef SwigMethods
[] = {
30992 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
30999 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31006 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31070 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31078 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31094 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31099 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31102 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31105 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31111 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31125 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31131 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31136 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31139 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31153 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31156 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31157 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31160 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31187 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31189 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31191 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31200 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31206 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31220 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31224 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31227 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31244 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31252 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31299 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31317 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31327 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31343 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31359 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31382 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31425 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31428 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31431 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31435 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31528 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31529 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31530 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31531 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31548 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31593 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31627 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31635 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31636 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31650 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31657 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31660 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31668 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31671 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31675 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31678 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
31683 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31687 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31691 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31695 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31705 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31716 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31732 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
31768 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
31782 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
31793 { NULL
, NULL
, 0, NULL
}
31797 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31799 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31802 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31803 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31805 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31806 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31808 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31809 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31811 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31812 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31814 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31815 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31817 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
31818 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
31820 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31821 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31823 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31824 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31826 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31827 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31829 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31832 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
31833 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
31835 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31836 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31838 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31839 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31841 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31842 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31844 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31845 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31847 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31848 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31850 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31851 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31853 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31854 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31856 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31857 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31859 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31860 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31862 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31863 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31865 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31868 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31869 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31871 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31872 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31874 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31875 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31877 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31878 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31880 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31881 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31883 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31884 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31886 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31889 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
31890 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
31892 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31893 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31895 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31896 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31898 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31901 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31902 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31904 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31905 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31907 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31908 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31910 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31911 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31913 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
31914 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
31916 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
31917 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
31919 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
31920 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31922 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
31923 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31925 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
31926 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
31928 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
31929 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31931 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
31932 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
31934 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
31935 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
31937 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
31938 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31940 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
31941 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
31943 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
31944 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31946 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
31947 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
31949 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
31950 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
31952 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
31953 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
31955 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
31956 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
31958 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
31959 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
31961 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
31962 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31964 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
31965 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
31967 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
31968 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31970 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
31971 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
31973 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
31974 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31976 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
31977 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
31979 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
31980 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
31982 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
31983 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
31985 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31986 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31988 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31989 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31991 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31994 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31995 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31997 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
31998 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32000 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32001 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32003 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32004 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32006 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32007 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32009 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32010 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32012 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32013 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32015 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32016 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32018 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32021 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32024 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32027 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32030 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32033 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32036 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32039 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) ((wxSizer
*) x
));
32042 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32045 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32048 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32051 static void *_p_wxEventTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) ((wxEvent
*) x
));
32054 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32057 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32060 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32063 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32066 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32069 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32072 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32075 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32078 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32081 static void *_p_wxControlTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32084 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32087 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32090 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32093 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32096 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32099 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32102 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32105 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32108 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32111 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32114 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32117 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32120 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32123 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32126 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32129 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32132 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32135 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32138 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32141 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32144 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32145 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32147 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32148 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32150 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32153 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32156 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32157 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32159 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32160 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32162 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32163 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32165 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32166 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32168 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32169 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32171 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32174 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32175 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32177 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32178 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32180 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32181 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32183 static void *_p_wxImageTo_p_wxObject(void *x
) {
32184 return (void *)((wxObject
*) ((wxImage
*) x
));
32186 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32187 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32189 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32190 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32192 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32193 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32195 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32198 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32199 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32201 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32202 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32204 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32205 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32207 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32208 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32210 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32213 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32214 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32216 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32217 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32219 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32222 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32223 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32225 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32226 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32228 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32229 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32231 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32232 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32234 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32235 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32237 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32238 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32240 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32243 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32244 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32246 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32247 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32249 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32250 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32252 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32255 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32256 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32258 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32261 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32264 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32265 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32267 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32270 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32271 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32273 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32274 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32276 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32277 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32279 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32280 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32282 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32283 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32285 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32286 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32288 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32289 return (void *)((wxWindow
*) ((wxControl
*) x
));
32291 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32292 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32294 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32295 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32297 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32298 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32300 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32301 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32303 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}};
32304 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}};
32305 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32306 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}};
32307 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}};
32308 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}};
32309 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}};
32310 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}};
32311 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}};
32312 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}};
32313 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}};
32314 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}};
32315 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}};
32316 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}};
32317 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}};
32318 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}};
32319 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}};
32320 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}};
32321 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}};
32322 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}};
32323 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}};
32324 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}};
32325 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}};
32326 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}};
32327 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}};
32328 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}};
32329 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}};
32330 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}};
32331 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}};
32332 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}};
32333 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}};
32334 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}};
32335 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}};
32336 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}};
32337 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}};
32338 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}};
32339 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}};
32340 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}};
32341 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}};
32342 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}};
32343 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}};
32344 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}};
32345 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}};
32346 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}};
32347 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}};
32348 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}};
32349 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}};
32350 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}};
32351 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}};
32352 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}};
32353 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}};
32354 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}};
32355 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}};
32356 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}};
32357 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}};
32358 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}};
32359 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}};
32360 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}};
32361 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}};
32362 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}};
32363 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}};
32364 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}};
32365 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}};
32366 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}};
32367 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}};
32368 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}};
32369 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}};
32370 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}};
32371 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}};
32372 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}};
32373 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}};
32374 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}};
32375 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}};
32376 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}};
32377 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}};
32378 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}};
32379 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}};
32380 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}};
32381 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}};
32382 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}};
32383 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}};
32384 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}};
32385 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}};
32386 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}};
32387 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}};
32388 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}};
32389 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}};
32390 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}};
32391 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}};
32392 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}};
32393 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}};
32394 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}};
32395 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}};
32396 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}};
32397 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}};
32398 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}};
32400 static swig_type_info
*swig_types_initial
[] = {
32401 _swigt__p_wxLogChain
,
32402 _swigt__p_wxMutexGuiLocker
,
32403 _swigt__p_wxMetafile
,
32404 _swigt__p_wxFileHistory
,
32408 _swigt__p_wxDateTime__TimeZone
,
32409 _swigt__p_wxConfigBase
,
32410 _swigt__p_wxDisplay
,
32411 _swigt__p_wxFileType
,
32412 _swigt__p_wxLogGui
,
32414 _swigt__p_wxDataFormat
,
32415 _swigt__p_wxTimerEvent
,
32418 _swigt__std__ptrdiff_t
,
32421 _swigt__p_wxClipboard
,
32422 _swigt__p_wxStopWatch
,
32423 _swigt__p_wxClipboardLocker
,
32425 _swigt__p_wxLogStderr
,
32426 _swigt__p_wxLogTextCtrl
,
32427 _swigt__p_wxTextCtrl
,
32428 _swigt__p_wxBusyCursor
,
32429 _swigt__p_wxBitmapDataObject
,
32430 _swigt__p_wxTextDataObject
,
32431 _swigt__p_wxDataObject
,
32432 _swigt__p_wxPyTextDataObject
,
32433 _swigt__p_wxPyBitmapDataObject
,
32434 _swigt__p_wxFileDataObject
,
32435 _swigt__p_wxCustomDataObject
,
32436 _swigt__p_wxURLDataObject
,
32437 _swigt__p_wxMetafileDataObject
,
32439 _swigt__p_wxTimerRunner
,
32440 _swigt__p_wxLogWindow
,
32441 _swigt__p_wxTimeSpan
,
32442 _swigt__p_wxArrayString
,
32443 _swigt__p_wxWindowDisabler
,
32444 _swigt__p_form_ops_t
,
32445 _swigt__p_wxToolTip
,
32446 _swigt__p_wxDataObjectComposite
,
32447 _swigt__p_wxFileConfig
,
32448 _swigt__p_wxSystemSettings
,
32449 _swigt__p_wxVideoMode
,
32450 _swigt__p_wxDataObjectSimple
,
32451 _swigt__p_wxPyDataObjectSimple
,
32452 _swigt__p_wxDuplexMode
,
32453 _swigt__p_wxEvtHandler
,
32456 _swigt__p_wxSingleInstanceChecker
,
32457 _swigt__p_wxStandardPaths
,
32458 _swigt__p_wxFileTypeInfo
,
32461 _swigt__p_wxPaperSize
,
32462 _swigt__p_wxMimeTypesManager
,
32463 _swigt__p_wxPyArtProvider
,
32464 _swigt__p_wxPyTipProvider
,
32465 _swigt__p_wxTipProvider
,
32466 _swigt__p_wxJoystick
,
32467 _swigt__p_wxSystemOptions
,
32469 _swigt__p_wxJoystickEvent
,
32470 _swigt__p_wxCursor
,
32471 _swigt__p_wxObject
,
32472 _swigt__p_wxOutputStream
,
32473 _swigt__p_wxDateTime
,
32474 _swigt__p_wxPyDropSource
,
32475 _swigt__p_unsigned_long
,
32476 _swigt__p_wxKillError
,
32477 _swigt__p_wxWindow
,
32478 _swigt__p_wxString
,
32479 _swigt__p_wxPyProcess
,
32480 _swigt__p_wxBitmap
,
32481 _swigt__p_wxConfig
,
32482 _swigt__unsigned_int
,
32483 _swigt__p_unsigned_int
,
32484 _swigt__p_unsigned_char
,
32486 _swigt__p_wxBusyInfo
,
32487 _swigt__p_wxPyDropTarget
,
32488 _swigt__p_wxPyTextDropTarget
,
32489 _swigt__p_wxPyFileDropTarget
,
32490 _swigt__p_wxProcessEvent
,
32492 _swigt__p_wxLogNull
,
32493 _swigt__p_wxColour
,
32494 _swigt__p_wxPyTimer
,
32495 _swigt__p_wxConfigPathChanger
,
32496 _swigt__p_wxDateSpan
,
32501 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32503 static swig_const_info swig_const_table
[] = {
32504 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32505 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32506 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32507 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32508 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32509 {0, 0, 0, 0.0, 0, 0}};
32520 /* Python-specific SWIG API */
32521 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32522 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32523 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32525 /* -----------------------------------------------------------------------------
32526 * global variable support code.
32527 * ----------------------------------------------------------------------------- */
32529 typedef struct swig_globalvar
{
32530 char *name
; /* Name of global variable */
32531 PyObject
*(*get_attr
)(); /* Return the current value */
32532 int (*set_attr
)(PyObject
*); /* Set the value */
32533 struct swig_globalvar
*next
;
32536 typedef struct swig_varlinkobject
{
32538 swig_globalvar
*vars
;
32539 } swig_varlinkobject
;
32542 swig_varlink_repr(swig_varlinkobject
*v
) {
32544 return PyString_FromString("<Swig global variables>");
32548 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32549 swig_globalvar
*var
;
32551 fprintf(fp
,"Swig global variables { ");
32552 for (var
= v
->vars
; var
; var
=var
->next
) {
32553 fprintf(fp
,"%s", var
->name
);
32554 if (var
->next
) fprintf(fp
,", ");
32556 fprintf(fp
," }\n");
32561 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32562 swig_globalvar
*var
= v
->vars
;
32564 if (strcmp(var
->name
,n
) == 0) {
32565 return (*var
->get_attr
)();
32569 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32574 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32575 swig_globalvar
*var
= v
->vars
;
32577 if (strcmp(var
->name
,n
) == 0) {
32578 return (*var
->set_attr
)(p
);
32582 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32586 static PyTypeObject varlinktype
= {
32587 PyObject_HEAD_INIT(0)
32588 0, /* Number of items in variable part (ob_size) */
32589 (char *)"swigvarlink", /* Type name (tp_name) */
32590 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32591 0, /* Itemsize (tp_itemsize) */
32592 0, /* Deallocator (tp_dealloc) */
32593 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32594 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32595 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32596 0, /* tp_compare */
32597 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32598 0, /* tp_as_number */
32599 0, /* tp_as_sequence */
32600 0, /* tp_as_mapping */
32604 0, /* tp_getattro */
32605 0, /* tp_setattro */
32606 0, /* tp_as_buffer */
32609 #if PY_VERSION_HEX >= 0x02000000
32610 0, /* tp_traverse */
32613 #if PY_VERSION_HEX >= 0x02010000
32614 0, /* tp_richcompare */
32615 0, /* tp_weaklistoffset */
32617 #if PY_VERSION_HEX >= 0x02020000
32618 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32620 #if PY_VERSION_HEX >= 0x02030000
32623 #ifdef COUNT_ALLOCS
32624 0,0,0,0 /* tp_alloc -> tp_next */
32628 /* Create a variable linking object for use later */
32630 SWIG_Python_newvarlink(void) {
32631 swig_varlinkobject
*result
= 0;
32632 result
= PyMem_NEW(swig_varlinkobject
,1);
32633 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32634 result
->ob_type
= &varlinktype
;
32636 result
->ob_refcnt
= 0;
32637 Py_XINCREF((PyObject
*) result
);
32638 return ((PyObject
*) result
);
32642 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32643 swig_varlinkobject
*v
;
32644 swig_globalvar
*gv
;
32645 v
= (swig_varlinkobject
*) p
;
32646 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32647 gv
->name
= (char *) malloc(strlen(name
)+1);
32648 strcpy(gv
->name
,name
);
32649 gv
->get_attr
= get_attr
;
32650 gv
->set_attr
= set_attr
;
32651 gv
->next
= v
->vars
;
32655 /* -----------------------------------------------------------------------------
32656 * constants/methods manipulation
32657 * ----------------------------------------------------------------------------- */
32659 /* Install Constants */
32661 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32664 for (i
= 0; constants
[i
].type
; i
++) {
32665 switch(constants
[i
].type
) {
32667 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32669 case SWIG_PY_FLOAT
:
32670 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32672 case SWIG_PY_STRING
:
32673 if (constants
[i
].pvalue
) {
32674 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32676 Py_INCREF(Py_None
);
32680 case SWIG_PY_POINTER
:
32681 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32683 case SWIG_PY_BINARY
:
32684 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32691 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32697 /* -----------------------------------------------------------------------------*/
32698 /* Fix SwigMethods to carry the callback ptrs when needed */
32699 /* -----------------------------------------------------------------------------*/
32702 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32703 swig_const_info
*const_table
,
32704 swig_type_info
**types
,
32705 swig_type_info
**types_initial
) {
32707 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32708 char *c
= methods
[i
].ml_doc
;
32709 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32711 swig_const_info
*ci
= 0;
32712 char *name
= c
+ 10;
32713 for (j
= 0; const_table
[j
].type
; j
++) {
32714 if (strncmp(const_table
[j
].name
, name
,
32715 strlen(const_table
[j
].name
)) == 0) {
32716 ci
= &(const_table
[j
]);
32721 size_t shift
= (ci
->ptype
) - types
;
32722 swig_type_info
*ty
= types_initial
[shift
];
32723 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32724 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32725 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32727 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32728 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32730 strncpy(buff
, "swig_ptr: ", 10);
32732 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32733 methods
[i
].ml_doc
= ndoc
;
32739 /* -----------------------------------------------------------------------------*
32740 * Initialize type list
32741 * -----------------------------------------------------------------------------*/
32743 #if PY_MAJOR_VERSION < 2
32744 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32745 is copied out of Python/modsupport.c in python version 2.3.4 */
32747 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32750 if (!PyModule_Check(m
)) {
32751 PyErr_SetString(PyExc_TypeError
,
32752 "PyModule_AddObject() needs module as first arg");
32756 PyErr_SetString(PyExc_TypeError
,
32757 "PyModule_AddObject() needs non-NULL value");
32761 dict
= PyModule_GetDict(m
);
32762 if (dict
== NULL
) {
32763 /* Internal error -- modules must have a dict! */
32764 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
32765 PyModule_GetName(m
));
32768 if (PyDict_SetItemString(dict
, name
, o
))
32775 static swig_type_info
**
32776 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
32777 static PyMethodDef swig_empty_runtime_method_table
[] = {
32779 NULL
, NULL
, 0, NULL
32783 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
32784 swig_empty_runtime_method_table
);
32785 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
32786 if (pointer
&& module) {
32787 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
32789 return type_list_handle
;
32792 static swig_type_info
**
32793 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
32794 swig_type_info
**type_pointer
;
32796 /* first check if module already created */
32797 type_pointer
= SWIG_Python_GetTypeListHandle();
32798 if (type_pointer
) {
32799 return type_pointer
;
32801 /* create a new module and variable */
32802 return SWIG_Python_SetTypeListHandle(type_list_handle
);
32810 /* -----------------------------------------------------------------------------*
32811 * Partial Init method
32812 * -----------------------------------------------------------------------------*/
32814 #ifdef SWIG_LINK_RUNTIME
32818 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
32824 SWIGEXPORT(void) SWIG_init(void) {
32825 static PyObject
*SWIG_globals
= 0;
32826 static int typeinit
= 0;
32829 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32831 /* Fix SwigMethods to carry the callback ptrs when needed */
32832 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
32834 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32835 d
= PyModule_GetDict(m
);
32838 #ifdef SWIG_LINK_RUNTIME
32839 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
32841 # ifndef SWIG_STATIC_RUNTIME
32842 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
32845 for (i
= 0; swig_types_initial
[i
]; i
++) {
32846 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32850 SWIG_InstallConstants(d
,swig_const_table
);
32853 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
32856 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
32859 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
32862 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
32865 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
32868 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
32871 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
32874 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
32877 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
32880 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
32883 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
32886 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
32889 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
32892 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
32895 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
32898 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
32901 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
32904 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
32907 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
32910 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
32913 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
32916 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
32919 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
32922 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
32925 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
32928 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
32931 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
32934 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
32937 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
32940 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
32943 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
32946 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
32949 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
32952 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
32955 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
32958 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
32961 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
32964 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
32967 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
32970 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
32973 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
32976 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
32979 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
32982 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
32985 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
32988 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
32991 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
32994 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
32997 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33000 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33003 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33006 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33009 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33012 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33015 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33018 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33021 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33024 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33027 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33030 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33033 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33036 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33039 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33042 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33045 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33048 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33051 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33054 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33057 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33060 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33063 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33066 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33069 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33072 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33075 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33078 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33081 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33084 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33087 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33090 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33093 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33096 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33099 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33102 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33105 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33108 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33111 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33114 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33117 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33120 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33123 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33125 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33126 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33127 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33128 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33129 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33131 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33134 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33137 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33140 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33142 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33144 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33147 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33150 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33153 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33156 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33159 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33162 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33165 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33168 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33171 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33174 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33177 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33179 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33180 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33181 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33182 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33183 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33185 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33188 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33191 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33194 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33197 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33200 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33203 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33206 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33209 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33212 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33215 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33218 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33221 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33224 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33227 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33230 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33233 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33236 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33239 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33242 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33245 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33248 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33251 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33254 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33257 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33260 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33263 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33266 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33269 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33272 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33275 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33277 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33279 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33282 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33285 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33288 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33291 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33294 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33297 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33300 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33303 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33306 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33309 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33312 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33315 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33317 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33318 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33319 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33320 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33322 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33325 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33328 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33331 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33334 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33337 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33340 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33343 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33345 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33346 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33347 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33348 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33349 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33350 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33351 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33352 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33353 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33354 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33355 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33356 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33357 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33358 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33359 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33360 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33361 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33362 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33363 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33364 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33365 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33366 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33367 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33368 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33369 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33370 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33371 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33372 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33373 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33374 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33375 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33376 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33377 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33378 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33379 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33380 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33381 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33382 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33383 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33384 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33385 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33386 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33387 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33388 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33389 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33391 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33394 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33397 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33400 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33403 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33406 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33409 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33412 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33415 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33418 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33420 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33421 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33423 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33426 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33429 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33432 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33435 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33438 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33441 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33444 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33447 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33450 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33453 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33456 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33459 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33462 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33465 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33468 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33471 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33474 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33477 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33480 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33483 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33486 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33489 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33492 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33495 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33498 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33501 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33504 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33507 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33510 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33513 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33516 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33519 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33522 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33525 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33528 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33531 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33534 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33537 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33540 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33543 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33546 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33549 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33552 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33555 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33558 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33561 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33564 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33567 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33570 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33573 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33576 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33579 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33582 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33585 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33588 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33591 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33594 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33597 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33600 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33603 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33606 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33609 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33612 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33615 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33618 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33621 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33624 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33627 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33630 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33633 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33636 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33639 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33642 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33645 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33648 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33651 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33654 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33657 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33660 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33663 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33666 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33669 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33672 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33675 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33678 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33681 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33684 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33687 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33690 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33693 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33696 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33699 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33702 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33705 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33708 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33711 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33714 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33717 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33720 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33723 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33726 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33729 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33732 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33735 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33738 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33741 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33744 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33747 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33750 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
33753 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
33756 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
33759 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
33762 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
33765 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
33768 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
33771 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
33774 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
33777 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
33780 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
33783 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
33786 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
33789 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
33792 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
33795 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
33798 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
33801 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
33804 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
33807 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
33810 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
33813 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
33816 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
33819 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
33822 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
33825 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
33828 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
33831 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
33834 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
33837 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
33840 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
33843 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
33846 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
33849 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
33852 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
33855 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
33858 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
33861 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
33864 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
33867 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
33870 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
33873 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
33876 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
33879 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
33882 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
33885 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
33887 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
33889 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
33892 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
33895 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
33898 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
33901 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
33904 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
33907 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
33910 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
33913 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
33916 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
33919 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
33922 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
33925 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
33928 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
33931 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
33934 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
33937 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
33940 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
33943 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
33946 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
33948 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
33950 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
33953 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
33956 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
33959 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
33962 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
33965 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
33968 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
33971 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
33974 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
33977 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
33980 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
33983 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
33986 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
33987 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
33988 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
33989 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
33991 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);