1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxMetafile swig_types[2]
1345 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1346 #define SWIGTYPE_p_wxLog swig_types[4]
1347 #define SWIGTYPE_p_wxMenu swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1351 #define SWIGTYPE_p_wxDisplay swig_types[9]
1352 #define SWIGTYPE_p_wxFileType swig_types[10]
1353 #define SWIGTYPE_p_wxLogGui swig_types[11]
1354 #define SWIGTYPE_p_wxFont swig_types[12]
1355 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1356 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1357 #define SWIGTYPE_p_wxCaret swig_types[15]
1358 #define SWIGTYPE_ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_p_int swig_types[18]
1361 #define SWIGTYPE_p_wxSize swig_types[19]
1362 #define SWIGTYPE_p_wxClipboard swig_types[20]
1363 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1366 #define SWIGTYPE_p_wxIcon swig_types[24]
1367 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1368 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1369 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1370 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1371 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1372 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxSound swig_types[38]
1381 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1382 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1383 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1384 #define SWIGTYPE_p_wxArrayString swig_types[42]
1385 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxToolTip swig_types[45]
1388 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1389 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1390 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1391 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1392 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1393 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1394 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1395 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1396 #define SWIGTYPE_p_wxRect swig_types[54]
1397 #define SWIGTYPE_p_char swig_types[55]
1398 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1399 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1400 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1401 #define SWIGTYPE_p_wxFrame swig_types[59]
1402 #define SWIGTYPE_p_wxTimer swig_types[60]
1403 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1404 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1405 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1406 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1407 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxJoystick swig_types[66]
1409 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1410 #define SWIGTYPE_p_wxPoint swig_types[68]
1411 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1412 #define SWIGTYPE_p_wxCursor swig_types[70]
1413 #define SWIGTYPE_p_wxObject swig_types[71]
1414 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1415 #define SWIGTYPE_p_wxDateTime swig_types[73]
1416 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1417 #define SWIGTYPE_p_unsigned_long swig_types[75]
1418 #define SWIGTYPE_p_wxKillError swig_types[76]
1419 #define SWIGTYPE_p_wxWindow swig_types[77]
1420 #define SWIGTYPE_p_wxString swig_types[78]
1421 #define SWIGTYPE_p_wxPyProcess swig_types[79]
1422 #define SWIGTYPE_p_wxBitmap swig_types[80]
1423 #define SWIGTYPE_p_wxConfig swig_types[81]
1424 #define SWIGTYPE_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_char swig_types[84]
1427 #define SWIGTYPE_p_wxChar swig_types[85]
1428 #define SWIGTYPE_p_wxBusyInfo swig_types[86]
1429 #define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1430 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1431 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1432 #define SWIGTYPE_p_wxProcessEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPyLog swig_types[91]
1434 #define SWIGTYPE_p_wxLogNull swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxPyTimer swig_types[94]
1437 #define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1438 #define SWIGTYPE_p_wxDateSpan swig_types[96]
1439 static swig_type_info
*swig_types
[98];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _misc_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_misc_
1449 #define SWIG_name "_misc_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453 #include "wx/wxPython/pyistream.h"
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1459 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1460 #define SWIG_From_int PyInt_FromLong
1468 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1471 if (value
< min_value
) {
1473 PyErr_Format(PyExc_OverflowError
,
1474 "value %ld is less than '%s' minimum %ld",
1475 value
, errmsg
, min_value
);
1478 } else if (value
> max_value
) {
1480 PyErr_Format(PyExc_OverflowError
,
1481 "value %ld is greater than '%s' maximum %ld",
1482 value
, errmsg
, max_value
);
1491 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1493 if (PyNumber_Check(obj
)) {
1494 if (val
) *val
= PyInt_AsLong(obj
);
1498 SWIG_type_error("number", obj
);
1504 #if INT_MAX != LONG_MAX
1506 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1508 const char* errmsg
= val
? "int" : (char*)0;
1510 if (SWIG_AsVal_long(obj
, &v
)) {
1511 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1512 if (val
) *val
= (int)(v
);
1521 SWIG_type_error(errmsg
, obj
);
1527 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1529 return SWIG_AsVal_long(obj
,(long*)val
);
1535 SWIG_As_int(PyObject
* obj
)
1538 if (!SWIG_AsVal_int(obj
, &v
)) {
1540 this is needed to make valgrind/purify happier.
1542 memset((void*)&v
, 0, sizeof(int));
1549 SWIG_Check_int(PyObject
* obj
)
1551 return SWIG_AsVal_int(obj
, (int*)0);
1554 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1556 #include <wx/stockitem.h>
1558 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1559 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1560 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1562 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1563 #define SWIG_From_long PyInt_FromLong
1567 SWIGINTERNSHORT
long
1568 SWIG_As_long(PyObject
* obj
)
1571 if (!SWIG_AsVal_long(obj
, &v
)) {
1573 this is needed to make valgrind/purify happier.
1575 memset((void*)&v
, 0, sizeof(long));
1582 SWIG_Check_long(PyObject
* obj
)
1584 return SWIG_AsVal_long(obj
, (long*)0);
1589 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1591 if (obj
== Py_True
) {
1592 if (val
) *val
= true;
1595 if (obj
== Py_False
) {
1596 if (val
) *val
= false;
1600 if (SWIG_AsVal_int(obj
, &res
)) {
1601 if (val
) *val
= res
? true : false;
1607 SWIG_type_error("bool", obj
);
1613 SWIGINTERNSHORT
bool
1614 SWIG_As_bool(PyObject
* obj
)
1617 if (!SWIG_AsVal_bool(obj
, &v
)) {
1619 this is needed to make valgrind/purify happier.
1621 memset((void*)&v
, 0, sizeof(bool));
1628 SWIG_Check_bool(PyObject
* obj
)
1630 return SWIG_AsVal_bool(obj
, (bool*)0);
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1663 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1666 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1667 SWIG_type_error("unsigned number", obj
);
1670 *val
= (unsigned long)v
;
1675 SWIGINTERNSHORT
unsigned long
1676 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1679 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1681 this is needed to make valgrind/purify happier.
1683 memset((void*)&v
, 0, sizeof(unsigned long));
1690 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1692 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1696 SWIGINTERNSHORT PyObject
*
1697 SWIG_From_unsigned_SS_long(unsigned long value
)
1699 return (value
> LONG_MAX
) ?
1700 PyLong_FromUnsignedLong(value
)
1701 : PyInt_FromLong((long)(value
));
1705 bool wxThread_IsMain() {
1706 #ifdef WXP_WITH_THREAD
1707 return wxThread::IsMain();
1713 static void wxCaret_Destroy(wxCaret
*self
){
1717 #include <wx/snglinst.h>
1721 #include <wx/msw/private.h>
1722 #include <wx/dynload.h>
1727 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1738 // This one only partially works. Appears to be an undocumented
1739 // "standard" convention that not all widgets adhear to. For
1740 // example, for some widgets backgrounds or non-client areas may
1742 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1747 // This one works much better, nearly all widgets and their
1748 // children are captured correctly[**]. Prior to the big
1749 // background erase changes that Vadim did in 2004-2005 this
1750 // method failed badly on XP with Themes activated, most native
1751 // widgets draw only partially, if at all. Without themes it
1752 // worked just like on Win2k. After those changes this method
1755 // ** For example the radio buttons in a wxRadioBox are not its
1756 // children by default, but you can capture it via the panel
1757 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1758 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1759 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1760 PRF_ERASEBKGND
| PRF_OWNED
);
1766 // This one is only defined in the latest SDK and is only
1767 // available on XP. MSDN says it is similar to sending WM_PRINT
1768 // so I expect that it will work similar to the above. Since it
1769 // is avaialble only on XP, it can't be compiled like this and
1770 // will have to be loaded dynamically.
1771 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1776 // Use PrintWindow if available, or fallback to WM_PRINT
1777 // otherwise. Unfortunately using PrintWindow is even worse than
1778 // WM_PRINT. For most native widgets nothing is drawn to the dc
1779 // at all, with or without Themes.
1780 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1781 static bool s_triedToLoad
= false;
1782 static PrintWindow_t pfnPrintWindow
= NULL
;
1783 if ( !s_triedToLoad
)
1786 s_triedToLoad
= true;
1787 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1788 if ( dllUser32
.IsLoaded() )
1790 wxLogNull nolog
; // Don't report errors here
1791 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1796 //printf("Using PrintWindow\n");
1797 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1801 //printf("Using WM_PRINT\n");
1802 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1803 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1804 PRF_ERASEBKGND
| PRF_OWNED
);
1815 #include <wx/tipdlg.h>
1818 class wxPyTipProvider
: public wxTipProvider
{
1820 wxPyTipProvider(size_t currentTip
)
1821 : wxTipProvider(currentTip
) {}
1823 DEC_PYCALLBACK_STRING__pure(GetTip
);
1824 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1828 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1829 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1832 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1834 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1836 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1837 : wxTimer(owner
, id
)
1839 if (owner
== NULL
) SetOwner(this);
1843 void wxPyTimer::Notify() {
1845 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1846 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1847 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1848 wxPyEndBlockThreads(blocked
);
1852 void wxPyTimer::base_Notify() {
1858 SWIGINTERN PyObject
*
1859 SWIG_FromCharPtr(const char* cptr
)
1862 size_t size
= strlen(cptr
);
1863 if (size
> INT_MAX
) {
1864 return SWIG_NewPointerObj((char*)(cptr
),
1865 SWIG_TypeQuery("char *"), 0);
1868 return PyString_FromStringAndSize(cptr
, size
);
1870 return PyString_FromString(cptr
);
1880 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1881 unsigned long max_value
,
1884 if (value
> max_value
) {
1886 PyErr_Format(PyExc_OverflowError
,
1887 "value %lu is greater than '%s' minimum %lu",
1888 value
, errmsg
, max_value
);
1896 #if UINT_MAX != ULONG_MAX
1898 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1900 const char* errmsg
= val
? "unsigned int" : (char*)0;
1902 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1903 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1904 if (val
) *val
= (unsigned int)(v
);
1911 SWIG_type_error(errmsg
, obj
);
1916 SWIGINTERNSHORT
unsigned int
1917 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1919 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1924 SWIGINTERNSHORT
unsigned int
1925 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1928 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1930 this is needed to make valgrind/purify happier.
1932 memset((void*)&v
, 0, sizeof(unsigned int));
1939 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1941 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1944 static wxString
Log_TimeStamp(){
1946 wxLog::TimeStamp(&msg
);
1949 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1950 // Make somce wrappers that double any % signs so they are 'escaped'
1951 void wxPyLogFatalError(const wxString
& msg
)
1954 m
.Replace(wxT("%"), wxT("%%"));
1958 void wxPyLogError(const wxString
& msg
)
1961 m
.Replace(wxT("%"), wxT("%%"));
1965 void wxPyLogWarning(const wxString
& msg
)
1968 m
.Replace(wxT("%"), wxT("%%"));
1972 void wxPyLogMessage(const wxString
& msg
)
1975 m
.Replace(wxT("%"), wxT("%%"));
1979 void wxPyLogInfo(const wxString
& msg
)
1982 m
.Replace(wxT("%"), wxT("%%"));
1986 void wxPyLogDebug(const wxString
& msg
)
1989 m
.Replace(wxT("%"), wxT("%%"));
1993 void wxPyLogVerbose(const wxString
& msg
)
1996 m
.Replace(wxT("%"), wxT("%%"));
2000 void wxPyLogStatus(const wxString
& msg
)
2003 m
.Replace(wxT("%"), wxT("%%"));
2007 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2010 m
.Replace(wxT("%"), wxT("%%"));
2011 wxLogStatus(pFrame
, m
);
2014 void wxPyLogSysError(const wxString
& msg
)
2017 m
.Replace(wxT("%"), wxT("%%"));
2021 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2024 m
.Replace(wxT("%"), wxT("%%"));
2025 wxLogGeneric(level
, m
);
2028 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2031 m
.Replace(wxT("%"), wxT("%%"));
2032 wxLogTrace(mask
, m
);
2035 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2038 m
.Replace(wxT("%"), wxT("%%"));
2039 wxLogTrace(mask
, m
);
2044 // A wxLog class that can be derived from in wxPython
2045 class wxPyLog
: public wxLog
{
2047 wxPyLog() : wxLog() {}
2049 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2052 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2053 PyObject
* s
= wx2PyString(szString
);
2054 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2057 wxPyEndBlockThreads(blocked
);
2059 wxLog::DoLog(level
, szString
, t
);
2062 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2065 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2066 PyObject
* s
= wx2PyString(szString
);
2067 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2070 wxPyEndBlockThreads(blocked
);
2072 wxLog::DoLogString(szString
, t
);
2081 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2084 #include <wx/joystick.h>
2087 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2088 // A C++ stub class for wxJoystick for platforms that don't have it.
2089 class wxJoystick
: public wxObject
{
2091 wxJoystick(int joystick
= wxJOYSTICK1
) {
2092 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2093 PyErr_SetString(PyExc_NotImplementedError
,
2094 "wxJoystick is not available on this platform.");
2095 wxPyEndBlockThreads(blocked
);
2097 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2098 int GetZPosition() { return -1; }
2099 int GetButtonState() { return -1; }
2100 int GetPOVPosition() { return -1; }
2101 int GetPOVCTSPosition() { return -1; }
2102 int GetRudderPosition() { return -1; }
2103 int GetUPosition() { return -1; }
2104 int GetVPosition() { return -1; }
2105 int GetMovementThreshold() { return -1; }
2106 void SetMovementThreshold(int threshold
) {}
2108 bool IsOk(void) { return false; }
2109 int GetNumberJoysticks() { return -1; }
2110 int GetManufacturerId() { return -1; }
2111 int GetProductId() { return -1; }
2112 wxString
GetProductName() { return wxEmptyString
; }
2113 int GetXMin() { return -1; }
2114 int GetYMin() { return -1; }
2115 int GetZMin() { return -1; }
2116 int GetXMax() { return -1; }
2117 int GetYMax() { return -1; }
2118 int GetZMax() { return -1; }
2119 int GetNumberButtons() { return -1; }
2120 int GetNumberAxes() { return -1; }
2121 int GetMaxButtons() { return -1; }
2122 int GetMaxAxes() { return -1; }
2123 int GetPollingMin() { return -1; }
2124 int GetPollingMax() { return -1; }
2125 int GetRudderMin() { return -1; }
2126 int GetRudderMax() { return -1; }
2127 int GetUMin() { return -1; }
2128 int GetUMax() { return -1; }
2129 int GetVMin() { return -1; }
2130 int GetVMax() { return -1; }
2132 bool HasRudder() { return false; }
2133 bool HasZ() { return false; }
2134 bool HasU() { return false; }
2135 bool HasV() { return false; }
2136 bool HasPOV() { return false; }
2137 bool HasPOV4Dir() { return false; }
2138 bool HasPOVCTS() { return false; }
2140 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2141 bool ReleaseCapture() { return false; }
2146 #include <wx/sound.h>
2150 // A C++ stub class for wxWave for platforms that don't have it.
2151 class wxSound
: public wxObject
2155 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2156 PyErr_SetString(PyExc_NotImplementedError
,
2157 "wxSound is not available on this platform.");
2158 wxPyEndBlockThreads(blocked
);
2160 wxSound(const wxString
&/*, bool*/) {
2161 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2162 PyErr_SetString(PyExc_NotImplementedError
,
2163 "wxSound is not available on this platform.");
2164 wxPyEndBlockThreads(blocked
);
2166 wxSound(int, const wxByte
*) {
2167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2168 PyErr_SetString(PyExc_NotImplementedError
,
2169 "wxSound is not available on this platform.");
2170 wxPyEndBlockThreads(blocked
);
2175 bool Create(const wxString
&/*, bool*/) { return false; }
2176 bool Create(int, const wxByte
*) { return false; };
2177 bool IsOk() { return false; };
2178 bool Play(unsigned) const { return false; }
2179 static bool Play(const wxString
&, unsigned) { return false; }
2180 static void Stop() {}
2185 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2186 if (fileName
.Length() == 0)
2189 return new wxSound(fileName
);
2191 static wxSound
*new_wxSound(PyObject
*data
){
2192 unsigned char* buffer
; int size
;
2193 wxSound
*sound
= NULL
;
2195 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2196 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2198 sound
= new wxSound(size
, buffer
);
2200 wxPyEndBlockThreads(blocked
);
2203 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2205 unsigned char* buffer
;
2209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2210 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2212 rv
= self
->Create(size
, buffer
);
2214 wxPyEndBlockThreads(blocked
);
2217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2218 PyErr_SetString(PyExc_NotImplementedError
,
2219 "Create from data is not available on this platform.");
2220 wxPyEndBlockThreads(blocked
);
2225 #include <wx/mimetype.h>
2227 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2229 if (self
->GetMimeType(&str
))
2230 return wx2PyString(str
);
2234 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2236 if (self
->GetMimeTypes(arr
))
2237 return wxArrayString2PyList_helper(arr
);
2241 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2243 if (self
->GetExtensions(arr
))
2244 return wxArrayString2PyList_helper(arr
);
2248 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2250 if (self
->GetIcon(&loc
))
2251 return new wxIcon(loc
);
2255 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2257 if (self
->GetIcon(&loc
)) {
2258 wxString iconFile
= loc
.GetFileName();
2263 // Make a tuple and put the values in it
2264 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2265 PyObject
* tuple
= PyTuple_New(3);
2266 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2267 wxT("wxIcon"), true));
2268 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2269 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2270 wxPyEndBlockThreads(blocked
);
2276 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2278 if (self
->GetDescription(&str
))
2279 return wx2PyString(str
);
2283 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2285 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2286 return wx2PyString(str
);
2290 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2292 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2293 return wx2PyString(str
);
2297 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2298 wxArrayString verbs
;
2299 wxArrayString commands
;
2300 if (self
->GetAllCommands(&verbs
, &commands
,
2301 wxFileType::MessageParameters(filename
, mimetype
))) {
2302 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2303 PyObject
* tuple
= PyTuple_New(2);
2304 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2305 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2306 wxPyEndBlockThreads(blocked
);
2312 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2313 return wxFileType::ExpandCommand(command
,
2314 wxFileType::MessageParameters(filename
, mimetype
));
2316 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2318 self
->EnumAllFileTypes(arr
);
2319 return wxArrayString2PyList_helper(arr
);
2322 #include <wx/artprov.h>
2324 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2325 static const wxString
wxPyART_MENU(wxART_MENU
);
2326 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2327 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2328 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2329 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2330 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2331 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2332 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2333 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2334 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2335 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2336 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2337 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2338 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2339 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2340 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2341 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2342 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2343 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2344 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2345 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2346 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2347 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2348 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2349 static const wxString
wxPyART_HELP(wxART_HELP
);
2350 static const wxString
wxPyART_TIP(wxART_TIP
);
2351 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2352 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2353 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2354 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2355 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2356 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2357 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2358 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2359 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2360 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2361 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2362 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2363 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2364 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2365 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2366 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2367 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2368 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2369 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2370 static const wxString
wxPyART_COPY(wxART_COPY
);
2371 static const wxString
wxPyART_CUT(wxART_CUT
);
2372 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2373 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2374 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2375 static const wxString
wxPyART_REDO(wxART_REDO
);
2376 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2377 static const wxString
wxPyART_FIND(wxART_FIND
);
2378 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2379 // Python aware wxArtProvider
2380 class wxPyArtProvider
: public wxArtProvider
{
2383 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2384 const wxArtClient
& client
,
2385 const wxSize
& size
) {
2386 wxBitmap rval
= wxNullBitmap
;
2387 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2388 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2389 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2393 s1
= wx2PyString(id
);
2394 s2
= wx2PyString(client
);
2395 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2400 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2405 wxPyEndBlockThreads(blocked
);
2412 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2416 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2417 PyObject
* ret
= PyTuple_New(3);
2419 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2420 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2421 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2426 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2431 cont
= self
->GetFirstGroup(value
, index
);
2432 return __EnumerationHelper(cont
, value
, index
);
2434 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2438 cont
= self
->GetNextGroup(value
, index
);
2439 return __EnumerationHelper(cont
, value
, index
);
2441 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2446 cont
= self
->GetFirstEntry(value
, index
);
2447 return __EnumerationHelper(cont
, value
, index
);
2449 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2453 cont
= self
->GetNextEntry(value
, index
);
2454 return __EnumerationHelper(cont
, value
, index
);
2456 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2458 self
->Read(key
, &rv
, defaultVal
);
2463 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2465 if (PyNumber_Check(obj
)) {
2466 if (val
) *val
= PyFloat_AsDouble(obj
);
2470 SWIG_type_error("number", obj
);
2476 SWIGINTERNSHORT
double
2477 SWIG_As_double(PyObject
* obj
)
2480 if (!SWIG_AsVal_double(obj
, &v
)) {
2482 this is needed to make valgrind/purify happier.
2484 memset((void*)&v
, 0, sizeof(double));
2491 SWIG_Check_double(PyObject
* obj
)
2493 return SWIG_AsVal_double(obj
, (double*)0);
2496 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2498 self
->Read(key
, &rv
, defaultVal
);
2502 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2503 #define SWIG_From_double PyFloat_FromDouble
2506 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2508 self
->Read(key
, &rv
, defaultVal
);
2512 #include <wx/datetime.h>
2514 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2515 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2517 #define LOCAL_TZ wxDateTime::Local
2519 static PyObject
*DateTime_GetAmPmStrings(){
2522 wxDateTime::GetAmPmStrings(&am
, &pm
);
2523 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2524 PyObject
* tup
= PyTuple_New(2);
2525 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2526 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2527 wxPyEndBlockThreads(blocked
);
2531 #if UINT_MAX < LONG_MAX
2532 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2533 #define SWIG_From_unsigned_SS_int SWIG_From_long
2536 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2537 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2541 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2542 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2543 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2544 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2545 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2546 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2547 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2548 return (*self
< *other
);
2550 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2551 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2552 return (*self
<= *other
);
2554 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2555 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2556 return (*self
> *other
);
2558 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2559 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2560 return (*self
>= *other
);
2562 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2563 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2564 return (*self
== *other
);
2566 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2567 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2568 return (*self
!= *other
);
2570 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2572 const wxChar
* _date
= date
;
2573 rv
= self
->ParseRfc822Date(_date
);
2574 if (rv
== NULL
) return -1;
2577 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2579 const wxChar
* _date
= date
;
2580 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2581 if (rv
== NULL
) return -1;
2584 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2586 const wxChar
* _datetime
= datetime
;
2587 rv
= self
->ParseDateTime(_datetime
);
2588 if (rv
== NULL
) return -1;
2589 return rv
- _datetime
;
2591 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2593 const wxChar
* _date
= date
;
2594 rv
= self
->ParseDate(_date
);
2595 if (rv
== NULL
) return -1;
2598 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2600 const wxChar
* _time
= time
;
2601 rv
= self
->ParseTime(_time
);
2602 if (rv
== NULL
) return -1;
2605 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2606 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2607 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2608 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2609 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2610 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2611 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2612 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2613 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2614 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2615 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2616 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2617 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2618 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2619 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2620 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2622 #include <wx/dataobj.h>
2624 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2625 size_t count
= self
->GetFormatCount(dir
);
2626 wxDataFormat
* formats
= new wxDataFormat
[count
];
2627 self
->GetAllFormats(formats
, dir
);
2629 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2630 PyObject
* list
= PyList_New(count
);
2631 for (size_t i
=0; i
<count
; i
++) {
2632 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2633 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2634 PyList_Append(list
, obj
);
2637 wxPyEndBlockThreads(blocked
);
2641 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2642 PyObject
* rval
= NULL
;
2643 size_t size
= self
->GetDataSize(format
);
2644 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2646 char* buf
= new char[size
];
2647 if (self
->GetDataHere(format
, buf
))
2648 rval
= PyString_FromStringAndSize(buf
, size
);
2655 wxPyEndBlockThreads(blocked
);
2658 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2660 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2661 if (PyString_Check(data
)) {
2662 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2665 // raise a TypeError if not a string
2666 PyErr_SetString(PyExc_TypeError
, "String expected.");
2669 wxPyEndBlockThreads(blocked
);
2672 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2673 PyObject
* rval
= NULL
;
2674 size_t size
= self
->GetDataSize();
2675 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2677 char* buf
= new char[size
];
2678 if (self
->GetDataHere(buf
))
2679 rval
= PyString_FromStringAndSize(buf
, size
);
2686 wxPyEndBlockThreads(blocked
);
2689 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2691 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2692 if (PyString_Check(data
)) {
2693 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2696 // raise a TypeError if not a string
2697 PyErr_SetString(PyExc_TypeError
, "String expected.");
2700 wxPyEndBlockThreads(blocked
);
2703 // Create a new class for wxPython to use
2704 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2706 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2707 : wxDataObjectSimple(format
) {}
2709 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2710 bool GetDataHere(void *buf
) const;
2711 bool SetData(size_t len
, const void *buf
) const;
2715 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2717 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2718 // We need to get the data for this object and write it to buf. I think
2719 // the best way to do this for wxPython is to have the Python method
2720 // return either a string or None and then act appropriately with the
2724 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2725 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2727 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2729 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2731 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2735 wxPyEndBlockThreads(blocked
);
2739 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2740 // For this one we simply need to make a string from buf and len
2741 // and send it to the Python method.
2743 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2744 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2745 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2746 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2749 wxPyEndBlockThreads(blocked
);
2753 // Create a new class for wxPython to use
2754 class wxPyTextDataObject
: public wxTextDataObject
{
2756 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2757 : wxTextDataObject(text
) {}
2759 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2760 DEC_PYCALLBACK_STRING__const(GetText
);
2761 DEC_PYCALLBACK__STRING(SetText
);
2765 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2766 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2767 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2770 // Create a new class for wxPython to use
2771 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2773 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2774 : wxBitmapDataObject(bitmap
) {}
2776 wxBitmap
GetBitmap() const;
2777 void SetBitmap(const wxBitmap
& bitmap
);
2781 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2782 wxBitmap
* rval
= &wxNullBitmap
;
2783 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2784 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2787 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2789 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2794 wxPyEndBlockThreads(blocked
);
2798 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2799 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2800 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2801 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2802 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2805 wxPyEndBlockThreads(blocked
);
2808 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2809 return new wxCustomDataObject(wxDataFormat(formatName
));
2811 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2814 if (PyString_Check(data
)) {
2815 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2818 // raise a TypeError if not a string
2819 PyErr_SetString(PyExc_TypeError
, "String expected.");
2822 wxPyEndBlockThreads(blocked
);
2825 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2827 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2828 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2829 wxPyEndBlockThreads(blocked
);
2833 #include <wx/metafile.h>
2836 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2839 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2841 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2842 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2843 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2846 class wxPyTextDropTarget
: public wxTextDropTarget
{
2848 wxPyTextDropTarget() {}
2850 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2852 DEC_PYCALLBACK__(OnLeave
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2855 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2856 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2861 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2862 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2865 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2866 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2870 class wxPyFileDropTarget
: public wxFileDropTarget
{
2872 wxPyFileDropTarget() {}
2874 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2876 DEC_PYCALLBACK__(OnLeave
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2879 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2880 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2885 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2886 const wxArrayString
& filenames
) {
2888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2889 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2890 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2891 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2894 wxPyEndBlockThreads(blocked
);
2900 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2903 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2904 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2909 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2911 #include <wx/display.h>
2913 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2914 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2916 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2918 #include <wx/dynarray.h>
2919 #include <wx/vidmode.h>
2921 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2922 #include "wx/arrimpl.cpp"
2923 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2924 const wxVideoMode wxDefaultVideoMode
;
2929 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2932 static size_t GetCount()
2933 { wxPyRaiseNotImplemented(); return 0; }
2935 static int GetFromPoint(const wxPoint
& pt
)
2936 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2937 static int GetFromWindow(wxWindow
*window
)
2938 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2940 virtual bool IsOk() const { return false; }
2941 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2942 virtual wxString
GetName() const { return wxEmptyString
; }
2943 bool IsPrimary() const { return false; }
2945 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2946 { wxArrayVideoModes a
; return a
; }
2948 virtual wxVideoMode
GetCurrentMode() const
2949 { return wxDefaultVideoMode
; }
2951 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2958 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2959 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2960 PyObject
* pyList
= NULL
;
2961 wxArrayVideoModes arr
= self
->GetModes(mode
);
2962 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2963 pyList
= PyList_New(0);
2964 for (int i
=0; i
< arr
.GetCount(); i
++) {
2965 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2966 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2967 PyList_Append(pyList
, pyObj
);
2970 wxPyEndBlockThreads(blocked
);
2974 #include <wx/stdpaths.h>
2976 static wxStandardPaths
*StandardPaths_Get(){
2977 return (wxStandardPaths
*) &wxStandardPaths::Get();
2979 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2980 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2984 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxSystemColour arg1
;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "index", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2995 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2996 if (SWIG_arg_fail(1)) SWIG_fail
;
2999 if (!wxPyCheckForApp()) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3007 wxColour
* resultptr
;
3008 resultptr
= new wxColour((wxColour
&)(result
));
3009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3017 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "index", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3028 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3029 if (SWIG_arg_fail(1)) SWIG_fail
;
3032 if (!wxPyCheckForApp()) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3041 resultptr
= new wxFont((wxFont
&)(result
));
3042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3050 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxSystemMetric arg1
;
3053 wxWindow
*arg2
= (wxWindow
*) NULL
;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3058 (char *) "index",(char *) "win", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3064 if (SWIG_arg_fail(1)) SWIG_fail
;
3067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3068 if (SWIG_arg_fail(2)) SWIG_fail
;
3071 if (!wxPyCheckForApp()) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= SWIG_From_int((int)(result
));
3087 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxSystemFeature arg1
;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "index", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3098 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3099 if (SWIG_arg_fail(1)) SWIG_fail
;
3102 if (!wxPyCheckForApp()) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3118 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxSystemScreenType result
;
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3127 if (!wxPyCheckForApp()) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= SWIG_From_int((result
));
3141 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxSystemScreenType arg1
;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "screen", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3151 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3152 if (SWIG_arg_fail(1)) SWIG_fail
;
3155 if (!wxPyCheckForApp()) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 Py_INCREF(Py_None
); resultobj
= Py_None
;
3169 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3172 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3174 return Py_BuildValue((char *)"");
3176 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3177 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3182 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3187 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3189 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3196 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxSystemOptions
*result
;
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (wxSystemOptions
*)new wxSystemOptions();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3218 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxString
*arg1
= 0 ;
3221 wxString
*arg2
= 0 ;
3222 bool temp1
= false ;
3223 bool temp2
= false ;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3227 (char *) "name",(char *) "value", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3232 arg1
= wxString_in_helper(obj0
);
3233 if (arg1
== NULL
) SWIG_fail
;
3237 arg2
= wxString_in_helper(obj1
);
3238 if (arg2
== NULL
) SWIG_fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3248 Py_INCREF(Py_None
); resultobj
= Py_None
;
3271 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxString
*arg1
= 0 ;
3275 bool temp1
= false ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3279 (char *) "name",(char *) "value", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3284 arg1
= wxString_in_helper(obj0
);
3285 if (arg1
== NULL
) SWIG_fail
;
3289 arg2
= (int)(SWIG_As_int(obj1
));
3290 if (SWIG_arg_fail(2)) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3314 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxString
*arg1
= 0 ;
3318 bool temp1
= false ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "name", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3326 arg1
= wxString_in_helper(obj0
);
3327 if (arg1
== NULL
) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3358 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxString
*arg1
= 0 ;
3362 bool temp1
= false ;
3363 PyObject
* obj0
= 0 ;
3365 (char *) "name", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3370 arg1
= wxString_in_helper(obj0
);
3371 if (arg1
== NULL
) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3382 resultobj
= SWIG_From_int((int)(result
));
3398 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxString
*arg1
= 0 ;
3402 bool temp1
= false ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "name", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3410 arg1
= wxString_in_helper(obj0
);
3411 if (arg1
== NULL
) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3438 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxString
*arg1
= 0 ;
3442 bool temp1
= false ;
3443 PyObject
* obj0
= 0 ;
3445 (char *) "name", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3450 arg1
= wxString_in_helper(obj0
);
3451 if (arg1
== NULL
) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3478 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3481 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3483 return Py_BuildValue((char *)"");
3485 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3486 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3491 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3496 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3498 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3505 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3506 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3511 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3516 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3518 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3525 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3526 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3531 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3536 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3538 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3545 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (long)wxNewId();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= SWIG_From_long((long)(result
));
3569 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3572 PyObject
* obj0
= 0 ;
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3579 arg1
= (long)(SWIG_As_long(obj0
));
3580 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 Py_INCREF(Py_None
); resultobj
= Py_None
;
3596 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (long)wxGetCurrentId();
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3612 resultobj
= SWIG_From_long((long)(result
));
3620 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3624 PyObject
* obj0
= 0 ;
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3631 arg1
= (int)(SWIG_As_int(obj0
));
3632 if (SWIG_arg_fail(1)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (bool)wxIsStockID(arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3650 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3653 wxString
*arg2
= 0 ;
3655 bool temp2
= false ;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3659 (char *) "id",(char *) "label", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 arg1
= (int)(SWIG_As_int(obj0
));
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 arg2
= wxString_in_helper(obj1
);
3669 if (arg2
== NULL
) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3696 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3699 bool arg2
= (bool) true ;
3700 wxString arg3
= (wxString
) wxPyEmptyString
;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 PyObject
* obj2
= 0 ;
3706 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3711 arg1
= (int)(SWIG_As_int(obj0
));
3712 if (SWIG_arg_fail(1)) SWIG_fail
;
3716 arg2
= (bool)(SWIG_As_bool(obj1
));
3717 if (SWIG_arg_fail(2)) SWIG_fail
;
3722 wxString
* sptr
= wxString_in_helper(obj2
);
3723 if (sptr
== NULL
) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3748 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3778 if (!wxPyCheckForApp()) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 bool arg1
= (bool) true ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "resetTimer", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3804 arg1
= (bool)(SWIG_As_bool(obj0
));
3805 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (long)wxGetElapsedTime(arg1
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_long((long)(result
));
3824 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 int *arg1
= (int *) 0 ;
3827 int *arg2
= (int *) 0 ;
3836 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3837 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3840 if (!wxPyCheckForApp()) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 wxGetMousePosition(arg1
,arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3849 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3850 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3851 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3858 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (bool)wxIsBusy();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3882 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3910 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3913 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3915 bool temp1
= false ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "command", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3924 arg1
= wxString_in_helper(obj0
);
3925 if (arg1
== NULL
) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (bool)wxShell((wxString
const &)*arg1
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3953 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 int *arg1
= (int *) 0 ;
3977 int *arg2
= (int *) 0 ;
3987 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3988 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (int)wxGetOsVersion(arg1
,arg2
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_From_int((int)(result
));
4000 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4001 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4002 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4003 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4010 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxGetOsDescription();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4038 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (long)wxGetFreeMemory();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_From_long((long)(result
));
4062 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxShutdownFlags arg1
;
4066 PyObject
* obj0
= 0 ;
4068 (char *) "wFlags", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4073 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4074 if (SWIG_arg_fail(1)) SWIG_fail
;
4077 if (!wxPyCheckForApp()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "secs", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4103 arg1
= (int)(SWIG_As_int(obj0
));
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4120 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 unsigned long arg1
;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "milliseconds", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4130 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 unsigned long arg1
;
4150 PyObject
* obj0
= 0 ;
4152 (char *) "microseconds", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4157 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "enable", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4184 arg1
= (bool)(SWIG_As_bool(obj0
));
4185 if (SWIG_arg_fail(1)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 wxEnableTopLevelWindows(arg1
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 Py_INCREF(Py_None
); resultobj
= Py_None
;
4201 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxString
*arg1
= 0 ;
4205 bool temp1
= false ;
4206 PyObject
* obj0
= 0 ;
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4213 arg1
= wxString_in_helper(obj0
);
4214 if (arg1
== NULL
) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4245 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= wxGetEmailAddress();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4273 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= wxGetHostName();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4301 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= wxGetFullHostName();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4329 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= wxGetUserId();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4357 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= wxGetUserName();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4385 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= wxGetHomeDir();
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4413 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4418 bool temp1
= false ;
4419 PyObject
* obj0
= 0 ;
4421 (char *) "user", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4427 arg1
= wxString_in_helper(obj0
);
4428 if (arg1
== NULL
) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= wxGetUserHome((wxString
const &)*arg1
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4460 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 unsigned long result
;
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 result
= (unsigned long)wxGetProcessId();
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4484 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 Py_INCREF(Py_None
); resultobj
= Py_None
;
4505 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4508 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4509 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4511 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4512 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4513 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4514 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4515 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4516 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4517 int arg6
= (int) 0 ;
4518 wxWindow
*arg7
= (wxWindow
*) NULL
;
4519 int arg8
= (int) -1 ;
4520 int arg9
= (int) -1 ;
4522 bool temp1
= false ;
4523 bool temp2
= false ;
4524 bool temp3
= false ;
4525 bool temp4
= false ;
4526 bool temp5
= false ;
4527 PyObject
* obj0
= 0 ;
4528 PyObject
* obj1
= 0 ;
4529 PyObject
* obj2
= 0 ;
4530 PyObject
* obj3
= 0 ;
4531 PyObject
* obj4
= 0 ;
4532 PyObject
* obj5
= 0 ;
4533 PyObject
* obj6
= 0 ;
4534 PyObject
* obj7
= 0 ;
4535 PyObject
* obj8
= 0 ;
4537 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4543 arg1
= wxString_in_helper(obj0
);
4544 if (arg1
== NULL
) SWIG_fail
;
4550 arg2
= wxString_in_helper(obj1
);
4551 if (arg2
== NULL
) SWIG_fail
;
4557 arg3
= wxString_in_helper(obj2
);
4558 if (arg3
== NULL
) SWIG_fail
;
4564 arg4
= wxString_in_helper(obj3
);
4565 if (arg4
== NULL
) SWIG_fail
;
4571 arg5
= wxString_in_helper(obj4
);
4572 if (arg5
== NULL
) SWIG_fail
;
4578 arg6
= (int)(SWIG_As_int(obj5
));
4579 if (SWIG_arg_fail(6)) SWIG_fail
;
4583 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(7)) SWIG_fail
;
4588 arg8
= (int)(SWIG_As_int(obj7
));
4589 if (SWIG_arg_fail(8)) SWIG_fail
;
4594 arg9
= (int)(SWIG_As_int(obj8
));
4595 if (SWIG_arg_fail(9)) SWIG_fail
;
4599 if (!wxPyCheckForApp()) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4659 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxString
*arg1
= 0 ;
4662 wxString
*arg2
= 0 ;
4663 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4665 wxWindow
*arg4
= (wxWindow
*) NULL
;
4667 bool temp1
= false ;
4668 bool temp2
= false ;
4669 bool temp3
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4675 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4680 arg1
= wxString_in_helper(obj0
);
4681 if (arg1
== NULL
) SWIG_fail
;
4685 arg2
= wxString_in_helper(obj1
);
4686 if (arg2
== NULL
) SWIG_fail
;
4691 arg3
= wxString_in_helper(obj2
);
4692 if (arg3
== NULL
) SWIG_fail
;
4697 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4698 if (SWIG_arg_fail(4)) SWIG_fail
;
4701 if (!wxPyCheckForApp()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4745 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxString
*arg1
= 0 ;
4748 wxString
*arg2
= 0 ;
4749 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4750 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4751 wxWindow
*arg4
= (wxWindow
*) NULL
;
4753 bool temp1
= false ;
4754 bool temp2
= false ;
4755 bool temp3
= false ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4759 PyObject
* obj3
= 0 ;
4761 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4766 arg1
= wxString_in_helper(obj0
);
4767 if (arg1
== NULL
) SWIG_fail
;
4771 arg2
= wxString_in_helper(obj1
);
4772 if (arg2
== NULL
) SWIG_fail
;
4777 arg3
= wxString_in_helper(obj2
);
4778 if (arg3
== NULL
) SWIG_fail
;
4783 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4784 if (SWIG_arg_fail(4)) SWIG_fail
;
4787 if (!wxPyCheckForApp()) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4831 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4834 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4835 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4836 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4837 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4840 wxWindow
*arg5
= (wxWindow
*) NULL
;
4842 bool temp1
= false ;
4843 bool temp2
= false ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4847 PyObject
* obj2
= 0 ;
4848 PyObject
* obj3
= 0 ;
4849 PyObject
* obj4
= 0 ;
4851 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4857 arg1
= wxString_in_helper(obj0
);
4858 if (arg1
== NULL
) SWIG_fail
;
4864 arg2
= wxString_in_helper(obj1
);
4865 if (arg2
== NULL
) SWIG_fail
;
4871 arg3
= (long)(SWIG_As_long(obj2
));
4872 if (SWIG_arg_fail(3)) SWIG_fail
;
4878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4882 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4883 if (SWIG_arg_fail(5)) SWIG_fail
;
4886 if (!wxPyCheckForApp()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4922 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxString
*arg1
= 0 ;
4925 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4926 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4929 wxWindow
*arg4
= (wxWindow
*) NULL
;
4930 int arg5
= (int) -1 ;
4931 int arg6
= (int) -1 ;
4932 bool arg7
= (bool) true ;
4934 bool temp1
= false ;
4935 bool temp2
= false ;
4936 bool temp3
= false ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4939 PyObject
* obj2
= 0 ;
4940 PyObject
* obj3
= 0 ;
4941 PyObject
* obj4
= 0 ;
4942 PyObject
* obj5
= 0 ;
4943 PyObject
* obj6
= 0 ;
4945 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4950 arg1
= wxString_in_helper(obj0
);
4951 if (arg1
== NULL
) SWIG_fail
;
4956 arg2
= wxString_in_helper(obj1
);
4957 if (arg2
== NULL
) SWIG_fail
;
4963 arg3
= wxString_in_helper(obj2
);
4964 if (arg3
== NULL
) SWIG_fail
;
4969 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4970 if (SWIG_arg_fail(4)) SWIG_fail
;
4974 arg5
= (int)(SWIG_As_int(obj4
));
4975 if (SWIG_arg_fail(5)) SWIG_fail
;
4980 arg6
= (int)(SWIG_As_int(obj5
));
4981 if (SWIG_arg_fail(6)) SWIG_fail
;
4986 arg7
= (bool)(SWIG_As_bool(obj6
));
4987 if (SWIG_arg_fail(7)) SWIG_fail
;
4991 if (!wxPyCheckForApp()) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5035 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxString
*arg1
= 0 ;
5038 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5039 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5042 wxWindow
*arg4
= (wxWindow
*) NULL
;
5044 bool temp1
= false ;
5045 bool temp2
= false ;
5046 bool temp3
= false ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5049 PyObject
* obj2
= 0 ;
5050 PyObject
* obj3
= 0 ;
5052 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5057 arg1
= wxString_in_helper(obj0
);
5058 if (arg1
== NULL
) SWIG_fail
;
5063 arg2
= wxString_in_helper(obj1
);
5064 if (arg2
== NULL
) SWIG_fail
;
5070 arg3
= wxString_in_helper(obj2
);
5071 if (arg3
== NULL
) SWIG_fail
;
5076 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5077 if (SWIG_arg_fail(4)) SWIG_fail
;
5080 if (!wxPyCheckForApp()) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5124 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxString
*arg1
= 0 ;
5127 wxString
*arg2
= 0 ;
5129 wxString
*arg4
= (wxString
*) 0 ;
5130 wxWindow
*arg5
= (wxWindow
*) NULL
;
5131 int arg6
= (int) -1 ;
5132 int arg7
= (int) -1 ;
5133 bool arg8
= (bool) true ;
5134 int arg9
= (int) 150 ;
5135 int arg10
= (int) 200 ;
5137 bool temp1
= false ;
5138 bool temp2
= false ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 PyObject
* obj2
= 0 ;
5142 PyObject
* obj3
= 0 ;
5143 PyObject
* obj4
= 0 ;
5144 PyObject
* obj5
= 0 ;
5145 PyObject
* obj6
= 0 ;
5146 PyObject
* obj7
= 0 ;
5147 PyObject
* obj8
= 0 ;
5149 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5154 arg1
= wxString_in_helper(obj0
);
5155 if (arg1
== NULL
) SWIG_fail
;
5159 arg2
= wxString_in_helper(obj1
);
5160 if (arg2
== NULL
) SWIG_fail
;
5164 arg3
= PyList_Size(obj2
);
5165 arg4
= wxString_LIST_helper(obj2
);
5166 if (arg4
== NULL
) SWIG_fail
;
5169 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5170 if (SWIG_arg_fail(5)) SWIG_fail
;
5174 arg6
= (int)(SWIG_As_int(obj4
));
5175 if (SWIG_arg_fail(6)) SWIG_fail
;
5180 arg7
= (int)(SWIG_As_int(obj5
));
5181 if (SWIG_arg_fail(7)) SWIG_fail
;
5186 arg8
= (bool)(SWIG_As_bool(obj6
));
5187 if (SWIG_arg_fail(8)) SWIG_fail
;
5192 arg9
= (int)(SWIG_As_int(obj7
));
5193 if (SWIG_arg_fail(9)) SWIG_fail
;
5198 arg10
= (int)(SWIG_As_int(obj8
));
5199 if (SWIG_arg_fail(10)) SWIG_fail
;
5203 if (!wxPyCheckForApp()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5226 if (arg4
) delete [] arg4
;
5239 if (arg4
) delete [] arg4
;
5245 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxString
*arg1
= 0 ;
5248 wxString
*arg2
= 0 ;
5250 wxString
*arg4
= (wxString
*) 0 ;
5251 wxWindow
*arg5
= (wxWindow
*) NULL
;
5252 int arg6
= (int) -1 ;
5253 int arg7
= (int) -1 ;
5254 bool arg8
= (bool) true ;
5255 int arg9
= (int) 150 ;
5256 int arg10
= (int) 200 ;
5258 bool temp1
= false ;
5259 bool temp2
= false ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5262 PyObject
* obj2
= 0 ;
5263 PyObject
* obj3
= 0 ;
5264 PyObject
* obj4
= 0 ;
5265 PyObject
* obj5
= 0 ;
5266 PyObject
* obj6
= 0 ;
5267 PyObject
* obj7
= 0 ;
5268 PyObject
* obj8
= 0 ;
5270 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5275 arg1
= wxString_in_helper(obj0
);
5276 if (arg1
== NULL
) SWIG_fail
;
5280 arg2
= wxString_in_helper(obj1
);
5281 if (arg2
== NULL
) SWIG_fail
;
5285 arg3
= PyList_Size(obj2
);
5286 arg4
= wxString_LIST_helper(obj2
);
5287 if (arg4
== NULL
) SWIG_fail
;
5290 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(5)) SWIG_fail
;
5295 arg6
= (int)(SWIG_As_int(obj4
));
5296 if (SWIG_arg_fail(6)) SWIG_fail
;
5301 arg7
= (int)(SWIG_As_int(obj5
));
5302 if (SWIG_arg_fail(7)) SWIG_fail
;
5307 arg8
= (bool)(SWIG_As_bool(obj6
));
5308 if (SWIG_arg_fail(8)) SWIG_fail
;
5313 arg9
= (int)(SWIG_As_int(obj7
));
5314 if (SWIG_arg_fail(9)) SWIG_fail
;
5319 arg10
= (int)(SWIG_As_int(obj8
));
5320 if (SWIG_arg_fail(10)) SWIG_fail
;
5324 if (!wxPyCheckForApp()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= SWIG_From_int((int)(result
));
5343 if (arg4
) delete [] arg4
;
5356 if (arg4
) delete [] arg4
;
5362 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxString
*arg1
= 0 ;
5365 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5366 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5367 int arg3
= (int) wxOK
|wxCENTRE
;
5368 wxWindow
*arg4
= (wxWindow
*) NULL
;
5369 int arg5
= (int) -1 ;
5370 int arg6
= (int) -1 ;
5372 bool temp1
= false ;
5373 bool temp2
= false ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 PyObject
* obj2
= 0 ;
5377 PyObject
* obj3
= 0 ;
5378 PyObject
* obj4
= 0 ;
5379 PyObject
* obj5
= 0 ;
5381 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5386 arg1
= wxString_in_helper(obj0
);
5387 if (arg1
== NULL
) SWIG_fail
;
5392 arg2
= wxString_in_helper(obj1
);
5393 if (arg2
== NULL
) SWIG_fail
;
5399 arg3
= (int)(SWIG_As_int(obj2
));
5400 if (SWIG_arg_fail(3)) SWIG_fail
;
5404 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(4)) SWIG_fail
;
5409 arg5
= (int)(SWIG_As_int(obj4
));
5410 if (SWIG_arg_fail(5)) SWIG_fail
;
5415 arg6
= (int)(SWIG_As_int(obj5
));
5416 if (SWIG_arg_fail(6)) SWIG_fail
;
5420 if (!wxPyCheckForApp()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_From_int((int)(result
));
5452 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxString
*arg1
= 0 ;
5455 wxString
*arg2
= 0 ;
5456 wxString
*arg3
= 0 ;
5458 long arg5
= (long) 0 ;
5459 long arg6
= (long) 100 ;
5460 wxWindow
*arg7
= (wxWindow
*) NULL
;
5461 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5462 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5464 bool temp1
= false ;
5465 bool temp2
= false ;
5466 bool temp3
= false ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5470 PyObject
* obj2
= 0 ;
5471 PyObject
* obj3
= 0 ;
5472 PyObject
* obj4
= 0 ;
5473 PyObject
* obj5
= 0 ;
5474 PyObject
* obj6
= 0 ;
5475 PyObject
* obj7
= 0 ;
5477 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5482 arg1
= wxString_in_helper(obj0
);
5483 if (arg1
== NULL
) SWIG_fail
;
5487 arg2
= wxString_in_helper(obj1
);
5488 if (arg2
== NULL
) SWIG_fail
;
5492 arg3
= wxString_in_helper(obj2
);
5493 if (arg3
== NULL
) SWIG_fail
;
5497 arg4
= (long)(SWIG_As_long(obj3
));
5498 if (SWIG_arg_fail(4)) SWIG_fail
;
5502 arg5
= (long)(SWIG_As_long(obj4
));
5503 if (SWIG_arg_fail(5)) SWIG_fail
;
5508 arg6
= (long)(SWIG_As_long(obj5
));
5509 if (SWIG_arg_fail(6)) SWIG_fail
;
5513 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5514 if (SWIG_arg_fail(7)) SWIG_fail
;
5519 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5523 if (!wxPyCheckForApp()) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_From_long((long)(result
));
5563 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5572 if (!wxPyCheckForApp()) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (bool)wxColourDisplay();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5588 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5597 if (!wxPyCheckForApp()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (int)wxDisplayDepth();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_From_int((int)(result
));
5613 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5622 if (!wxPyCheckForApp()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (int)wxGetDisplayDepth();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_From_int((int)(result
));
5638 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 int *arg1
= (int *) 0 ;
5641 int *arg2
= (int *) 0 ;
5650 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5651 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5654 if (!wxPyCheckForApp()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxDisplaySize(arg1
,arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5663 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5664 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5665 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5672 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5681 if (!wxPyCheckForApp()) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= wxGetDisplaySize();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5690 resultptr
= new wxSize((wxSize
&)(result
));
5691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5699 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 int *arg1
= (int *) 0 ;
5702 int *arg2
= (int *) 0 ;
5711 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5712 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5715 if (!wxPyCheckForApp()) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 wxDisplaySizeMM(arg1
,arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 Py_INCREF(Py_None
); resultobj
= Py_None
;
5723 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5724 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5725 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5726 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5733 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5742 if (!wxPyCheckForApp()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= wxGetDisplaySizeMM();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5751 resultptr
= new wxSize((wxSize
&)(result
));
5752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5760 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 int *arg1
= (int *) 0 ;
5763 int *arg2
= (int *) 0 ;
5764 int *arg3
= (int *) 0 ;
5765 int *arg4
= (int *) 0 ;
5778 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5779 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5780 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5781 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5784 if (!wxPyCheckForApp()) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5793 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5794 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5795 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5796 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5797 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5798 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5799 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5806 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5815 if (!wxPyCheckForApp()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= wxGetClientDisplayRect();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultptr
= new wxRect((wxRect
&)(result
));
5825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5833 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxCursor
*arg1
= 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "cursor", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 SWIG_null_ref("wxCursor");
5848 if (SWIG_arg_fail(1)) SWIG_fail
;
5851 if (!wxPyCheckForApp()) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 Py_INCREF(Py_None
); resultobj
= Py_None
;
5865 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "cursor", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail
;
5879 if (!wxPyCheckForApp()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxBeginBusyCursor(arg1
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5902 if (!wxPyCheckForApp()) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (wxWindow
*)wxGetActiveWindow();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= wxPyMake_wxObject(result
, 0);
5918 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5923 PyObject
* obj0
= 0 ;
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5931 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5934 if (!wxPyCheckForApp()) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= wxPyMake_wxObject(result
, 0);
5950 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5955 PyObject
* obj0
= 0 ;
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5963 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5966 if (!wxPyCheckForApp()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= wxPyMake_wxObject(result
, 0);
5982 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxWindow
*arg1
= (wxWindow
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "win", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5993 if (SWIG_arg_fail(1)) SWIG_fail
;
5995 if (!wxPyCheckForApp()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= wxPyMake_wxObject(result
, 0);
6011 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "key", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6022 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6023 if (SWIG_arg_fail(1)) SWIG_fail
;
6026 if (!wxPyCheckForApp()) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6042 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6050 if (!wxPyCheckForApp()) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 wxWakeUpMainThread();
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6072 if (!wxPyCheckForApp()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 Py_INCREF(Py_None
); resultobj
= Py_None
;
6086 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6094 if (!wxPyCheckForApp()) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 Py_INCREF(Py_None
); resultobj
= Py_None
;
6108 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxMutexGuiLocker
*result
;
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6117 if (!wxPyCheckForApp()) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6131 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6141 if (SWIG_arg_fail(1)) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6159 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6161 return Py_BuildValue((char *)"");
6163 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (bool)wxThread_IsMain();
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6187 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxString
*arg1
= 0 ;
6191 bool temp1
= false ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "tip", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6199 arg1
= wxString_in_helper(obj0
);
6200 if (arg1
== NULL
) SWIG_fail
;
6204 if (!wxPyCheckForApp()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= wxPyMake_wxObject(result
, 1);
6228 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6231 wxString
*arg2
= 0 ;
6232 bool temp2
= false ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "tip", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 arg2
= wxString_in_helper(obj1
);
6244 if (arg2
== NULL
) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 (arg1
)->SetTip((wxString
const &)*arg2
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (arg1
)->GetTip();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6301 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6307 (char *) "self", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxWindow
*)(arg1
)->GetWindow();
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= wxPyMake_wxObject(result
, 0);
6329 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "flag", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6339 arg1
= (bool)(SWIG_As_bool(obj0
));
6340 if (SWIG_arg_fail(1)) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxToolTip::Enable(arg1
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6356 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "milliseconds", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6366 arg1
= (long)(SWIG_As_long(obj0
));
6367 if (SWIG_arg_fail(1)) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 wxToolTip::SetDelay(arg1
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 Py_INCREF(Py_None
); resultobj
= Py_None
;
6383 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6386 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6388 return Py_BuildValue((char *)"");
6390 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxWindow
*arg1
= (wxWindow
*) 0 ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6399 (char *) "window",(char *) "size", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6404 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6410 if (!wxPyCheckForApp()) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6424 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxCaret
*arg1
= (wxCaret
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "self", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6434 if (SWIG_arg_fail(1)) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 wxCaret_Destroy(arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxCaret
*arg1
= (wxCaret
*) 0 ;
6453 PyObject
* obj0
= 0 ;
6455 (char *) "self", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",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 result
= (bool)(arg1
)->IsOk();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxCaret
*arg1
= (wxCaret
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6483 (char *) "self", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6488 if (SWIG_arg_fail(1)) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)(arg1
)->IsVisible();
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6505 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxCaret
*arg1
= (wxCaret
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "self", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6516 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (arg1
)->GetPosition();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 wxPoint
* resultptr
;
6526 resultptr
= new wxPoint((wxPoint
&)(result
));
6527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6535 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxCaret
*arg1
= (wxCaret
*) 0 ;
6538 int *arg2
= (int *) 0 ;
6539 int *arg3
= (int *) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6550 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6553 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->GetPosition(arg2
,arg3
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6563 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6564 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6565 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6572 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxCaret
*arg1
= (wxCaret
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6583 if (SWIG_arg_fail(1)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (arg1
)->GetSize();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6593 resultptr
= new wxSize((wxSize
&)(result
));
6594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6602 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxCaret
*arg1
= (wxCaret
*) 0 ;
6605 int *arg2
= (int *) 0 ;
6606 int *arg3
= (int *) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6617 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6620 if (SWIG_arg_fail(1)) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->GetSize(arg2
,arg3
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6632 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6639 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxCaret
*arg1
= (wxCaret
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxWindow
*)(arg1
)->GetWindow();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= wxPyMake_wxObject(result
, 0);
6667 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxCaret
*arg1
= (wxCaret
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6674 PyObject
* obj2
= 0 ;
6676 (char *) "self",(char *) "x",(char *) "y", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6681 if (SWIG_arg_fail(1)) SWIG_fail
;
6683 arg2
= (int)(SWIG_As_int(obj1
));
6684 if (SWIG_arg_fail(2)) SWIG_fail
;
6687 arg3
= (int)(SWIG_As_int(obj2
));
6688 if (SWIG_arg_fail(3)) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 (arg1
)->Move(arg2
,arg3
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 Py_INCREF(Py_None
); resultobj
= Py_None
;
6704 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxCaret
*arg1
= (wxCaret
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "pt", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 (arg1
)->Move((wxPoint
const &)*arg2
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 Py_INCREF(Py_None
); resultobj
= Py_None
;
6736 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxCaret
*arg1
= (wxCaret
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 PyObject
* obj2
= 0 ;
6745 (char *) "self",(char *) "width",(char *) "height", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6750 if (SWIG_arg_fail(1)) SWIG_fail
;
6752 arg2
= (int)(SWIG_As_int(obj1
));
6753 if (SWIG_arg_fail(2)) SWIG_fail
;
6756 arg3
= (int)(SWIG_As_int(obj2
));
6757 if (SWIG_arg_fail(3)) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 (arg1
)->SetSize(arg2
,arg3
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 Py_INCREF(Py_None
); resultobj
= Py_None
;
6773 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxCaret
*arg1
= (wxCaret
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "size", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6786 if (SWIG_arg_fail(1)) SWIG_fail
;
6789 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 (arg1
)->SetSize((wxSize
const &)*arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxCaret
*arg1
= (wxCaret
*) 0 ;
6808 int arg2
= (int) true ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6812 (char *) "self",(char *) "show", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6817 if (SWIG_arg_fail(1)) SWIG_fail
;
6820 arg2
= (int)(SWIG_As_int(obj1
));
6821 if (SWIG_arg_fail(2)) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 Py_INCREF(Py_None
); resultobj
= Py_None
;
6838 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxCaret
*arg1
= (wxCaret
*) 0 ;
6841 PyObject
* obj0
= 0 ;
6843 (char *) "self", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6848 if (SWIG_arg_fail(1)) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 Py_INCREF(Py_None
); resultobj
= Py_None
;
6863 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (int)wxCaret::GetBlinkTime();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_From_int((int)(result
));
6887 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "milliseconds", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6897 arg1
= (int)(SWIG_As_int(obj0
));
6898 if (SWIG_arg_fail(1)) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 wxCaret::SetBlinkTime(arg1
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 Py_INCREF(Py_None
); resultobj
= Py_None
;
6914 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6917 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6919 return Py_BuildValue((char *)"");
6921 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6924 wxBusyCursor
*result
;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "cursor", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6933 if (SWIG_arg_fail(1)) SWIG_fail
;
6936 if (!wxPyCheckForApp()) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6950 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "self", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6960 if (SWIG_arg_fail(1)) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6978 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6980 return Py_BuildValue((char *)"");
6982 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxWindow
*arg1
= (wxWindow
*) NULL
;
6985 wxWindowDisabler
*result
;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "winToSkip", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6994 if (SWIG_arg_fail(1)) SWIG_fail
;
6997 if (!wxPyCheckForApp()) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7011 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 Py_INCREF(Py_None
); resultobj
= Py_None
;
7036 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7039 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7041 return Py_BuildValue((char *)"");
7043 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxString
*arg1
= 0 ;
7047 bool temp1
= false ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "message", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7055 arg1
= wxString_in_helper(obj0
);
7056 if (arg1
== NULL
) SWIG_fail
;
7060 if (!wxPyCheckForApp()) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7082 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7087 (char *) "self", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7092 if (SWIG_arg_fail(1)) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7110 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7112 return Py_BuildValue((char *)"");
7114 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxStopWatch
*result
;
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (wxStopWatch
*)new wxStopWatch();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7136 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7139 long arg2
= (long) 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "t0", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7148 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 arg2
= (long)(SWIG_As_long(obj1
));
7152 if (SWIG_arg_fail(2)) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->Start(arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7174 (char *) "self", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7179 if (SWIG_arg_fail(1)) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 Py_INCREF(Py_None
); resultobj
= Py_None
;
7194 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7204 if (SWIG_arg_fail(1)) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "self", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_From_long((long)(result
));
7247 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7250 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7252 return Py_BuildValue((char *)"");
7254 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 int arg1
= (int) 9 ;
7257 int arg2
= (int) wxID_FILE1
;
7258 wxFileHistory
*result
;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7262 (char *) "maxFiles",(char *) "idBase", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7268 arg1
= (int)(SWIG_As_int(obj0
));
7269 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 arg2
= (int)(SWIG_As_int(obj1
));
7275 if (SWIG_arg_fail(2)) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7292 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7295 PyObject
* obj0
= 0 ;
7297 (char *) "self", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7302 if (SWIG_arg_fail(1)) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7320 wxString
*arg2
= 0 ;
7321 bool temp2
= false ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7325 (char *) "self",(char *) "file", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7330 if (SWIG_arg_fail(1)) SWIG_fail
;
7332 arg2
= wxString_in_helper(obj1
);
7333 if (arg2
== NULL
) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7365 (char *) "self",(char *) "i", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail
;
7372 arg2
= (int)(SWIG_As_int(obj1
));
7373 if (SWIG_arg_fail(2)) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 (arg1
)->RemoveFileFromHistory(arg2
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 Py_INCREF(Py_None
); resultobj
= Py_None
;
7389 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7395 (char *) "self", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7400 if (SWIG_arg_fail(1)) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_From_int((int)(result
));
7417 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7420 wxMenu
*arg2
= (wxMenu
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7424 (char *) "self",(char *) "menu", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7431 if (SWIG_arg_fail(2)) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 (arg1
)->UseMenu(arg2
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 Py_INCREF(Py_None
); resultobj
= Py_None
;
7446 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7449 wxMenu
*arg2
= (wxMenu
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7453 (char *) "self",(char *) "menu", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7458 if (SWIG_arg_fail(1)) SWIG_fail
;
7459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7460 if (SWIG_arg_fail(2)) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 (arg1
)->RemoveMenu(arg2
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7478 wxConfigBase
*arg2
= 0 ;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7482 (char *) "self",(char *) "config", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7487 if (SWIG_arg_fail(1)) SWIG_fail
;
7489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7490 if (SWIG_arg_fail(2)) SWIG_fail
;
7492 SWIG_null_ref("wxConfigBase");
7494 if (SWIG_arg_fail(2)) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 (arg1
)->Load(*arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7513 wxConfigBase
*arg2
= 0 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "config", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7525 if (SWIG_arg_fail(2)) SWIG_fail
;
7527 SWIG_null_ref("wxConfigBase");
7529 if (SWIG_arg_fail(2)) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 (arg1
)->Save(*arg2
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 Py_INCREF(Py_None
); resultobj
= Py_None
;
7545 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7548 PyObject
* obj0
= 0 ;
7550 (char *) "self", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7555 if (SWIG_arg_fail(1)) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->AddFilesToMenu();
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7570 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7573 wxMenu
*arg2
= (wxMenu
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7577 (char *) "self",(char *) "menu", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail
;
7583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7584 if (SWIG_arg_fail(2)) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 (arg1
)->AddFilesToMenu(arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 Py_INCREF(Py_None
); resultobj
= Py_None
;
7599 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7607 (char *) "self",(char *) "i", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7612 if (SWIG_arg_fail(1)) SWIG_fail
;
7614 arg2
= (int)(SWIG_As_int(obj1
));
7615 if (SWIG_arg_fail(2)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7637 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "self", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7648 if (SWIG_arg_fail(1)) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_From_int((int)(result
));
7665 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7668 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7670 return Py_BuildValue((char *)"");
7672 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxString
*arg1
= 0 ;
7675 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7676 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7677 wxSingleInstanceChecker
*result
;
7678 bool temp1
= false ;
7679 bool temp2
= false ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7683 (char *) "name",(char *) "path", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7688 arg1
= wxString_in_helper(obj0
);
7689 if (arg1
== NULL
) SWIG_fail
;
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7729 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxSingleInstanceChecker
*result
;
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7751 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7779 wxString
*arg2
= 0 ;
7780 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7781 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7783 bool temp2
= false ;
7784 bool temp3
= false ;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7787 PyObject
* obj2
= 0 ;
7789 (char *) "self",(char *) "name",(char *) "path", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 arg2
= wxString_in_helper(obj1
);
7797 if (arg2
== NULL
) SWIG_fail
;
7802 arg3
= wxString_in_helper(obj2
);
7803 if (arg3
== NULL
) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7839 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7867 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7872 return Py_BuildValue((char *)"");
7874 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxWindow
*arg1
= (wxWindow
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7882 (char *) "window",(char *) "dc", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7887 if (SWIG_arg_fail(1)) SWIG_fail
;
7889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7890 if (SWIG_arg_fail(2)) SWIG_fail
;
7892 SWIG_null_ref("wxDC");
7894 if (SWIG_arg_fail(2)) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7922 if (SWIG_arg_fail(1)) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7943 (char *) "self", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (arg1
)->GetTip();
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7969 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7975 (char *) "self", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (size_t)(arg1
)->GetCurrentTip();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7997 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8000 wxString
*arg2
= 0 ;
8002 bool temp2
= false ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8006 (char *) "self",(char *) "tip", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 arg2
= wxString_in_helper(obj1
);
8014 if (arg2
== NULL
) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8045 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8048 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8050 return Py_BuildValue((char *)"");
8052 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8055 wxPyTipProvider
*result
;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "currentTip", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8063 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8064 if (SWIG_arg_fail(1)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8080 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8083 PyObject
*arg2
= (PyObject
*) 0 ;
8084 PyObject
*arg3
= (PyObject
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 PyObject
* obj2
= 0 ;
8089 (char *) "self",(char *) "self",(char *) "_class", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8114 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8116 return Py_BuildValue((char *)"");
8118 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxWindow
*arg1
= (wxWindow
*) 0 ;
8121 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8122 bool arg3
= (bool) true ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8126 PyObject
* obj2
= 0 ;
8128 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail
;
8134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8135 if (SWIG_arg_fail(2)) SWIG_fail
;
8138 arg3
= (bool)(SWIG_As_bool(obj2
));
8139 if (SWIG_arg_fail(3)) SWIG_fail
;
8143 if (!wxPyCheckForApp()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8159 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxString
*arg1
= 0 ;
8163 wxTipProvider
*result
;
8164 bool temp1
= false ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8168 (char *) "filename",(char *) "currentTip", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8173 arg1
= wxString_in_helper(obj0
);
8174 if (arg1
== NULL
) SWIG_fail
;
8178 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8179 if (SWIG_arg_fail(2)) SWIG_fail
;
8182 if (!wxPyCheckForApp()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8204 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8207 int arg2
= (int) -1 ;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8212 (char *) "owner",(char *) "id", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8222 arg2
= (int)(SWIG_As_int(obj1
));
8223 if (SWIG_arg_fail(2)) SWIG_fail
;
8227 if (!wxPyCheckForApp()) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8241 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8251 if (SWIG_arg_fail(1)) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 Py_INCREF(Py_None
); resultobj
= Py_None
;
8266 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8269 PyObject
*arg2
= (PyObject
*) 0 ;
8270 PyObject
*arg3
= (PyObject
*) 0 ;
8271 int arg4
= (int) 1 ;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8274 PyObject
* obj2
= 0 ;
8275 PyObject
* obj3
= 0 ;
8277 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8282 if (SWIG_arg_fail(1)) SWIG_fail
;
8287 arg4
= (int)(SWIG_As_int(obj3
));
8288 if (SWIG_arg_fail(4)) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 Py_INCREF(Py_None
); resultobj
= Py_None
;
8305 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8308 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8309 int arg3
= (int) -1 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8314 (char *) "self",(char *) "owner",(char *) "id", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail
;
8320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8321 if (SWIG_arg_fail(2)) SWIG_fail
;
8324 arg3
= (int)(SWIG_As_int(obj2
));
8325 if (SWIG_arg_fail(3)) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 (arg1
)->SetOwner(arg2
,arg3
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 Py_INCREF(Py_None
); resultobj
= Py_None
;
8342 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8345 wxEvtHandler
*result
;
8346 PyObject
* obj0
= 0 ;
8348 (char *) "self", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= wxPyMake_wxObject(result
, 0);
8370 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8373 int arg2
= (int) -1 ;
8374 bool arg3
= (bool) false ;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8378 PyObject
* obj2
= 0 ;
8380 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail
;
8388 arg2
= (int)(SWIG_As_int(obj1
));
8389 if (SWIG_arg_fail(2)) SWIG_fail
;
8394 arg3
= (bool)(SWIG_As_bool(obj2
));
8395 if (SWIG_arg_fail(3)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8414 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8419 (char *) "self", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 Py_INCREF(Py_None
); resultobj
= Py_None
;
8439 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8445 (char *) "self", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8467 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8471 PyObject
* obj0
= 0 ;
8473 (char *) "self", NULL
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8478 if (SWIG_arg_fail(1)) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_From_int((int)(result
));
8495 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "self", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8506 if (SWIG_arg_fail(1)) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8523 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8543 resultobj
= SWIG_From_int((int)(result
));
8551 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8554 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8556 return Py_BuildValue((char *)"");
8558 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 int arg1
= (int) 0 ;
8561 int arg2
= (int) 0 ;
8562 wxTimerEvent
*result
;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8566 (char *) "timerid",(char *) "interval", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8572 arg1
= (int)(SWIG_As_int(obj0
));
8573 if (SWIG_arg_fail(1)) SWIG_fail
;
8578 arg2
= (int)(SWIG_As_int(obj1
));
8579 if (SWIG_arg_fail(2)) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8596 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_From_int((int)(result
));
8624 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8629 return Py_BuildValue((char *)"");
8631 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8632 PyObject
*resultobj
;
8634 wxTimerRunner
*result
;
8635 PyObject
* obj0
= 0 ;
8637 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8640 if (SWIG_arg_fail(1)) SWIG_fail
;
8642 SWIG_null_ref("wxTimer");
8644 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 if (!wxPyCheckForApp()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8661 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8662 PyObject
*resultobj
;
8665 bool arg3
= (bool) false ;
8666 wxTimerRunner
*result
;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8671 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8674 if (SWIG_arg_fail(1)) SWIG_fail
;
8676 SWIG_null_ref("wxTimer");
8678 if (SWIG_arg_fail(1)) SWIG_fail
;
8681 arg2
= (int)(SWIG_As_int(obj1
));
8682 if (SWIG_arg_fail(2)) SWIG_fail
;
8686 arg3
= (bool)(SWIG_As_bool(obj2
));
8687 if (SWIG_arg_fail(3)) SWIG_fail
;
8691 if (!wxPyCheckForApp()) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8705 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8710 argc
= PyObject_Length(args
);
8711 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8712 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8718 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8726 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8729 if ((argc
>= 2) && (argc
<= 3)) {
8733 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8741 _v
= SWIG_Check_int(argv
[1]);
8744 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8746 _v
= SWIG_Check_bool(argv
[2]);
8748 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8754 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8759 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8764 (char *) "self", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8788 bool arg3
= (bool) false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8793 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail
;
8800 arg2
= (int)(SWIG_As_int(obj1
));
8801 if (SWIG_arg_fail(2)) SWIG_fail
;
8805 arg3
= (bool)(SWIG_As_bool(obj2
));
8806 if (SWIG_arg_fail(3)) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->Start(arg2
,arg3
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8826 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8828 return Py_BuildValue((char *)"");
8830 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (wxLog
*)new wxLog();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8852 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (bool)wxLog::IsEnabled();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8876 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 bool arg1
= (bool) true ;
8880 PyObject
* obj0
= 0 ;
8882 (char *) "doIt", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8888 arg1
= (bool)(SWIG_As_bool(obj0
));
8889 if (SWIG_arg_fail(1)) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (bool)wxLog::EnableLogging(arg1
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8911 wxChar
*arg2
= (wxChar
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 PyObject
* obj2
= 0 ;
8917 (char *) "level",(char *) "szString",(char *) "t", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8922 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8923 if (SWIG_arg_fail(1)) SWIG_fail
;
8925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(2)) SWIG_fail
;
8928 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8929 if (SWIG_arg_fail(3)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxLog
*arg1
= (wxLog
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxLog::FlushActive();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (wxLog
*)wxLog::GetActiveTarget();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9013 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxLog
*arg1
= (wxLog
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "pLogger", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9039 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 Py_INCREF(Py_None
); resultobj
= Py_None
;
9060 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 bool arg1
= (bool) true ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "bVerbose", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9092 arg1
= (bool)(SWIG_As_bool(obj0
));
9093 if (SWIG_arg_fail(1)) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 wxLog::SetVerbose(arg1
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 Py_INCREF(Py_None
); resultobj
= Py_None
;
9110 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "logLevel", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9120 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9121 if (SWIG_arg_fail(1)) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 wxLog::SetLogLevel(arg1
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxLog::DontCreateOnDemand();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9158 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "ulMask", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9168 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9169 if (SWIG_arg_fail(1)) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 wxLog::SetTraceMask(arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxString
*arg1
= 0 ;
9188 bool temp1
= false ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "str", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9196 arg1
= wxString_in_helper(obj0
);
9197 if (arg1
== NULL
) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 wxLog::AddTraceMask((wxString
const &)*arg1
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 Py_INCREF(Py_None
); resultobj
= Py_None
;
9222 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxString
*arg1
= 0 ;
9225 bool temp1
= false ;
9226 PyObject
* obj0
= 0 ;
9228 (char *) "str", NULL
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9233 arg1
= wxString_in_helper(obj0
);
9234 if (arg1
== NULL
) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 wxLog::ClearTraceMasks();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 Py_INCREF(Py_None
); resultobj
= Py_None
;
9280 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxArrayString
*result
;
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9292 result
= (wxArrayString
*) &_result_ref
;
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= wxArrayString2PyList_helper(*result
);
9307 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxChar
*arg1
= (wxChar
*) 0 ;
9310 PyObject
* obj0
= 0 ;
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9317 if (SWIG_arg_fail(1)) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxLog::SetTimestamp((wxChar
const *)arg1
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 Py_INCREF(Py_None
); resultobj
= Py_None
;
9332 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (bool)wxLog::GetVerbose();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9356 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (wxTraceMask
)wxLog::GetTraceMask();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9380 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxChar
*arg1
= (wxChar
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "mask", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9408 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (wxLogLevel
)wxLog::GetLogLevel();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9432 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (wxChar
*)wxLog::GetTimestamp();
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9454 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= Log_TimeStamp();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9482 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxLog
*arg1
= (wxLog
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9492 if (SWIG_arg_fail(1)) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 wxLog_Destroy(arg1
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9510 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9512 return Py_BuildValue((char *)"");
9514 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxLogStderr
*result
;
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (wxLogStderr
*)new wxLogStderr();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9536 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9539 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9541 return Py_BuildValue((char *)"");
9543 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9546 wxLogTextCtrl
*result
;
9547 PyObject
* obj0
= 0 ;
9549 (char *) "pTextCtrl", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9554 if (SWIG_arg_fail(1)) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9569 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9572 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9574 return Py_BuildValue((char *)"");
9576 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (wxLogGui
*)new wxLogGui();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9598 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9601 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9603 return Py_BuildValue((char *)"");
9605 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxFrame
*arg1
= (wxFrame
*) 0 ;
9608 wxString
*arg2
= 0 ;
9609 bool arg3
= (bool) true ;
9610 bool arg4
= (bool) true ;
9611 wxLogWindow
*result
;
9612 bool temp2
= false ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 PyObject
* obj2
= 0 ;
9616 PyObject
* obj3
= 0 ;
9618 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9623 if (SWIG_arg_fail(1)) SWIG_fail
;
9625 arg2
= wxString_in_helper(obj1
);
9626 if (arg2
== NULL
) SWIG_fail
;
9631 arg3
= (bool)(SWIG_As_bool(obj2
));
9632 if (SWIG_arg_fail(3)) SWIG_fail
;
9637 arg4
= (bool)(SWIG_As_bool(obj3
));
9638 if (SWIG_arg_fail(4)) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9663 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9666 bool arg2
= (bool) true ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9670 (char *) "self",(char *) "bShow", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9675 if (SWIG_arg_fail(1)) SWIG_fail
;
9678 arg2
= (bool)(SWIG_As_bool(obj1
));
9679 if (SWIG_arg_fail(2)) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9696 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9702 (char *) "self", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= wxPyMake_wxObject(result
, 0);
9724 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9730 (char *) "self", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9735 if (SWIG_arg_fail(1)) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9750 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9761 if (SWIG_arg_fail(1)) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9785 (char *) "self",(char *) "bDoPass", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9790 if (SWIG_arg_fail(1)) SWIG_fail
;
9792 arg2
= (bool)(SWIG_As_bool(obj1
));
9793 if (SWIG_arg_fail(2)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 (arg1
)->PassMessages(arg2
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 Py_INCREF(Py_None
); resultobj
= Py_None
;
9809 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9812 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9814 return Py_BuildValue((char *)"");
9816 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxLog
*arg1
= (wxLog
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "logger", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9827 if (SWIG_arg_fail(1)) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (wxLogChain
*)new wxLogChain(arg1
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9842 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9845 wxLog
*arg2
= (wxLog
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9849 (char *) "self",(char *) "logger", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9856 if (SWIG_arg_fail(2)) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 (arg1
)->SetLog(arg2
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 Py_INCREF(Py_None
); resultobj
= Py_None
;
9871 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9878 (char *) "self",(char *) "bDoPass", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9883 if (SWIG_arg_fail(1)) SWIG_fail
;
9885 arg2
= (bool)(SWIG_As_bool(obj1
));
9886 if (SWIG_arg_fail(2)) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 (arg1
)->PassMessages(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 Py_INCREF(Py_None
); resultobj
= Py_None
;
9902 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9913 if (SWIG_arg_fail(1)) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (bool)(arg1
)->IsPassingMessages();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9930 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9941 if (SWIG_arg_fail(1)) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (wxLog
*)(arg1
)->GetOldLog();
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9956 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9959 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9961 return Py_BuildValue((char *)"");
9963 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 unsigned long result
;
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (unsigned long)wxSysErrorCode();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9987 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 unsigned long arg1
= (unsigned long) 0 ;
9991 PyObject
* obj0
= 0 ;
9993 (char *) "nErrCode", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9999 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10000 if (SWIG_arg_fail(1)) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= wxSysErrorMsg(arg1
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10023 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxString
*arg1
= 0 ;
10026 bool temp1
= false ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "msg", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10034 arg1
= wxString_in_helper(obj0
);
10035 if (arg1
== NULL
) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 wxPyLogFatalError((wxString
const &)*arg1
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 Py_INCREF(Py_None
); resultobj
= Py_None
;
10060 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxString
*arg1
= 0 ;
10063 bool temp1
= false ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "msg", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10071 arg1
= wxString_in_helper(obj0
);
10072 if (arg1
== NULL
) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 wxPyLogError((wxString
const &)*arg1
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 Py_INCREF(Py_None
); resultobj
= Py_None
;
10097 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxString
*arg1
= 0 ;
10100 bool temp1
= false ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "msg", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10108 arg1
= wxString_in_helper(obj0
);
10109 if (arg1
== NULL
) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 wxPyLogWarning((wxString
const &)*arg1
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 Py_INCREF(Py_None
); resultobj
= Py_None
;
10134 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxString
*arg1
= 0 ;
10137 bool temp1
= false ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "msg", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10145 arg1
= wxString_in_helper(obj0
);
10146 if (arg1
== NULL
) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 wxPyLogMessage((wxString
const &)*arg1
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10171 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxString
*arg1
= 0 ;
10174 bool temp1
= false ;
10175 PyObject
* obj0
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "msg", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10182 arg1
= wxString_in_helper(obj0
);
10183 if (arg1
== NULL
) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 wxPyLogInfo((wxString
const &)*arg1
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxString
*arg1
= 0 ;
10211 bool temp1
= false ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "msg", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10219 arg1
= wxString_in_helper(obj0
);
10220 if (arg1
== NULL
) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 wxPyLogDebug((wxString
const &)*arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10245 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxString
*arg1
= 0 ;
10248 bool temp1
= false ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "msg", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10256 arg1
= wxString_in_helper(obj0
);
10257 if (arg1
== NULL
) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 wxPyLogVerbose((wxString
const &)*arg1
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxString
*arg1
= 0 ;
10285 bool temp1
= false ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "msg", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10293 arg1
= wxString_in_helper(obj0
);
10294 if (arg1
== NULL
) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 wxPyLogStatus((wxString
const &)*arg1
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxFrame
*arg1
= (wxFrame
*) 0 ;
10322 wxString
*arg2
= 0 ;
10323 bool temp2
= false ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "pFrame",(char *) "msg", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10332 if (SWIG_arg_fail(1)) SWIG_fail
;
10334 arg2
= wxString_in_helper(obj1
);
10335 if (arg2
== NULL
) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10360 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxString
*arg1
= 0 ;
10363 bool temp1
= false ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "msg", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10371 arg1
= wxString_in_helper(obj0
);
10372 if (arg1
== NULL
) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 wxPyLogSysError((wxString
const &)*arg1
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 unsigned long arg1
;
10400 wxString
*arg2
= 0 ;
10401 bool temp2
= false ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "level",(char *) "msg", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10414 arg2
= wxString_in_helper(obj1
);
10415 if (arg2
== NULL
) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 Py_INCREF(Py_None
); resultobj
= Py_None
;
10440 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10441 PyObject
*resultobj
;
10442 unsigned long arg1
;
10443 wxString
*arg2
= 0 ;
10444 bool temp2
= false ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10448 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10450 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10454 arg2
= wxString_in_helper(obj1
);
10455 if (arg2
== NULL
) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10481 PyObject
*resultobj
;
10482 wxString
*arg1
= 0 ;
10483 wxString
*arg2
= 0 ;
10484 bool temp1
= false ;
10485 bool temp2
= false ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10489 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10491 arg1
= wxString_in_helper(obj0
);
10492 if (arg1
== NULL
) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10535 argc
= PyObject_Length(args
);
10536 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10537 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10542 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10546 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10549 return _wrap_LogTrace__SWIG_1(self
,args
);
10555 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10558 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10561 return _wrap_LogTrace__SWIG_0(self
,args
);
10566 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10571 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxString
*arg1
= 0 ;
10574 wxString
*arg2
= 0 ;
10575 bool temp1
= false ;
10576 bool temp2
= false ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "title",(char *) "text", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10585 arg1
= wxString_in_helper(obj0
);
10586 if (arg1
== NULL
) SWIG_fail
;
10590 arg2
= wxString_in_helper(obj1
);
10591 if (arg2
== NULL
) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10627 char *kwnames
[] = {
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxLogNull
*)new wxLogNull();
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10646 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10674 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10676 return Py_BuildValue((char *)"");
10678 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10681 char *kwnames
[] = {
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxPyLog
*)new wxPyLog();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10700 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10703 PyObject
*arg2
= (PyObject
*) 0 ;
10704 PyObject
*arg3
= (PyObject
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 PyObject
* obj1
= 0 ;
10707 PyObject
* obj2
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self",(char *) "self",(char *) "_class", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10714 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 Py_INCREF(Py_None
); resultobj
= Py_None
;
10731 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10734 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10736 return Py_BuildValue((char *)"");
10738 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10741 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10742 int arg3
= (int) wxKILL_NOCHILDREN
;
10743 wxKillError result
;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10753 arg1
= (int)(SWIG_As_int(obj0
));
10754 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10759 if (SWIG_arg_fail(2)) SWIG_fail
;
10764 arg3
= (int)(SWIG_As_int(obj2
));
10765 if (SWIG_arg_fail(3)) SWIG_fail
;
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_From_int((result
));
10782 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10786 PyObject
* obj0
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "pid", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10793 arg1
= (int)(SWIG_As_int(obj0
));
10794 if (SWIG_arg_fail(1)) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (bool)wxPyProcess::Exists(arg1
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10812 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxString
*arg1
= 0 ;
10815 int arg2
= (int) wxEXEC_ASYNC
;
10816 wxPyProcess
*result
;
10817 bool temp1
= false ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "cmd",(char *) "flags", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 arg1
= wxString_in_helper(obj0
);
10827 if (arg1
== NULL
) SWIG_fail
;
10832 arg2
= (int)(SWIG_As_int(obj1
));
10833 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10858 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10861 int arg2
= (int) -1 ;
10862 wxPyProcess
*result
;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "parent",(char *) "id", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail
;
10876 arg2
= (int)(SWIG_As_int(obj1
));
10877 if (SWIG_arg_fail(2)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10894 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10897 PyObject
*arg2
= (PyObject
*) 0 ;
10898 PyObject
*arg3
= (PyObject
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 PyObject
* obj2
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "self",(char *) "_class", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10925 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 PyObject
* obj2
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "pid",(char *) "status", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 arg2
= (int)(SWIG_As_int(obj1
));
10942 if (SWIG_arg_fail(2)) SWIG_fail
;
10945 arg3
= (int)(SWIG_As_int(obj2
));
10946 if (SWIG_arg_fail(3)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 (arg1
)->base_OnTerminate(arg2
,arg3
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 Py_INCREF(Py_None
); resultobj
= Py_None
;
10962 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
*resultobj
;
10964 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->Redirect();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 Py_INCREF(Py_None
); resultobj
= Py_None
;
10987 static PyObject
*_wrap_Process_IsRedirected(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_IsRedirected",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)(arg1
)->IsRedirected();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11025 if (SWIG_arg_fail(1)) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11043 wxInputStream
*result
;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11051 if (SWIG_arg_fail(1)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 wxPyInputStream
* _ptr
= NULL
;
11063 _ptr
= new wxPyInputStream(result
);
11065 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11073 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11076 wxInputStream
*result
;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11084 if (SWIG_arg_fail(1)) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 wxPyInputStream
* _ptr
= NULL
;
11096 _ptr
= new wxPyInputStream(result
);
11098 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11106 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11109 wxOutputStream
*result
;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11132 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11142 if (SWIG_arg_fail(1)) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 (arg1
)->CloseOutput();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 Py_INCREF(Py_None
); resultobj
= Py_None
;
11157 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11161 PyObject
* obj0
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11168 if (SWIG_arg_fail(1)) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11185 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11213 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11244 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11246 return Py_BuildValue((char *)"");
11248 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 int arg1
= (int) 0 ;
11251 int arg2
= (int) 0 ;
11252 int arg3
= (int) 0 ;
11253 wxProcessEvent
*result
;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 PyObject
* obj2
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11264 arg1
= (int)(SWIG_As_int(obj0
));
11265 if (SWIG_arg_fail(1)) SWIG_fail
;
11270 arg2
= (int)(SWIG_As_int(obj1
));
11271 if (SWIG_arg_fail(2)) SWIG_fail
;
11276 arg3
= (int)(SWIG_As_int(obj2
));
11277 if (SWIG_arg_fail(3)) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11294 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (int)(arg1
)->GetPid();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_From_int((int)(result
));
11322 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11333 if (SWIG_arg_fail(1)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (int)(arg1
)->GetExitCode();
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_From_int((int)(result
));
11350 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "m_pid", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11364 arg2
= (int)(SWIG_As_int(obj1
));
11365 if (SWIG_arg_fail(2)) SWIG_fail
;
11367 if (arg1
) (arg1
)->m_pid
= arg2
;
11369 Py_INCREF(Py_None
); resultobj
= Py_None
;
11376 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 char *kwnames
[] = {
11382 (char *) "self", NULL
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11387 if (SWIG_arg_fail(1)) SWIG_fail
;
11388 result
= (int) ((arg1
)->m_pid
);
11391 resultobj
= SWIG_From_int((int)(result
));
11399 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "m_exitcode", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11411 if (SWIG_arg_fail(1)) SWIG_fail
;
11413 arg2
= (int)(SWIG_As_int(obj1
));
11414 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11418 Py_INCREF(Py_None
); resultobj
= Py_None
;
11425 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11436 if (SWIG_arg_fail(1)) SWIG_fail
;
11437 result
= (int) ((arg1
)->m_exitcode
);
11440 resultobj
= SWIG_From_int((int)(result
));
11448 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11451 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11453 return Py_BuildValue((char *)"");
11455 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxString
*arg1
= 0 ;
11458 int arg2
= (int) wxEXEC_ASYNC
;
11459 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11461 bool temp1
= false ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "command",(char *) "flags",(char *) "process", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11471 arg1
= wxString_in_helper(obj0
);
11472 if (arg1
== NULL
) SWIG_fail
;
11477 arg2
= (int)(SWIG_As_int(obj1
));
11478 if (SWIG_arg_fail(2)) SWIG_fail
;
11482 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11483 if (SWIG_arg_fail(3)) SWIG_fail
;
11486 if (!wxPyCheckForApp()) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_long((long)(result
));
11510 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11513 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11514 wxKillError
*arg3
= (wxKillError
*) 0 ;
11515 int arg4
= (int) wxKILL_NOCHILDREN
;
11517 wxKillError temp3
;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11530 arg1
= (long)(SWIG_As_long(obj0
));
11531 if (SWIG_arg_fail(1)) SWIG_fail
;
11535 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11536 if (SWIG_arg_fail(2)) SWIG_fail
;
11541 arg4
= (int)(SWIG_As_int(obj2
));
11542 if (SWIG_arg_fail(4)) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_From_int((int)(result
));
11557 o
= PyInt_FromLong((long) (*arg3
));
11558 resultobj
= t_output_helper(resultobj
, o
);
11566 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 int arg1
= (int) wxJOYSTICK1
;
11569 wxJoystick
*result
;
11570 PyObject
* obj0
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "joystick", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11578 arg1
= (int)(SWIG_As_int(obj0
));
11579 if (SWIG_arg_fail(1)) SWIG_fail
;
11583 if (!wxPyCheckForApp()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (wxJoystick
*)new wxJoystick(arg1
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11597 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 Py_INCREF(Py_None
); resultobj
= Py_None
;
11622 static PyObject
*_wrap_Joystick_GetPosition(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_GetPosition",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
= (arg1
)->GetPosition();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 wxPoint
* resultptr
;
11643 resultptr
= new wxPoint((wxPoint
&)(result
));
11644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11652 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (int)(arg1
)->GetZPosition();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_From_int((int)(result
));
11680 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11691 if (SWIG_arg_fail(1)) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (int)(arg1
)->GetButtonState();
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_From_int((int)(result
));
11708 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11719 if (SWIG_arg_fail(1)) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (int)(arg1
)->GetPOVPosition();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_From_int((int)(result
));
11736 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11740 PyObject
* obj0
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (int)(arg1
)->GetPOVCTSPosition();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_int((int)(result
));
11764 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11775 if (SWIG_arg_fail(1)) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (int)(arg1
)->GetRudderPosition();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_From_int((int)(result
));
11792 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (int)(arg1
)->GetUPosition();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_int((int)(result
));
11820 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11831 if (SWIG_arg_fail(1)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (int)(arg1
)->GetVPosition();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int((int)(result
));
11848 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (int)(arg1
)->GetMovementThreshold();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int((int)(result
));
11876 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "threshold", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 arg2
= (int)(SWIG_As_int(obj1
));
11891 if (SWIG_arg_fail(2)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetMovementThreshold(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11918 if (SWIG_arg_fail(1)) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)(arg1
)->IsOk();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11946 if (SWIG_arg_fail(1)) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (int)(arg1
)->GetNumberJoysticks();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_From_int((int)(result
));
11963 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11974 if (SWIG_arg_fail(1)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (int)(arg1
)->GetManufacturerId();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= SWIG_From_int((int)(result
));
11991 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (int)(arg1
)->GetProductId();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_From_int((int)(result
));
12019 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (arg1
)->GetProductName();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12051 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12062 if (SWIG_arg_fail(1)) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)(arg1
)->GetXMin();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_From_int((int)(result
));
12079 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12090 if (SWIG_arg_fail(1)) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (int)(arg1
)->GetYMin();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int((int)(result
));
12107 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)(arg1
)->GetZMin();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int((int)(result
));
12135 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (int)(arg1
)->GetXMax();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_From_int((int)(result
));
12163 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (int)(arg1
)->GetYMax();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_From_int((int)(result
));
12191 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (int)(arg1
)->GetZMax();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_From_int((int)(result
));
12219 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (int)(arg1
)->GetNumberButtons();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_int((int)(result
));
12247 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)(arg1
)->GetNumberAxes();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_From_int((int)(result
));
12275 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)(arg1
)->GetMaxButtons();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_From_int((int)(result
));
12303 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (int)(arg1
)->GetMaxAxes();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_From_int((int)(result
));
12331 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12342 if (SWIG_arg_fail(1)) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (int)(arg1
)->GetPollingMin();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_From_int((int)(result
));
12359 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12370 if (SWIG_arg_fail(1)) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (int)(arg1
)->GetPollingMax();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_From_int((int)(result
));
12387 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12398 if (SWIG_arg_fail(1)) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (int)(arg1
)->GetRudderMin();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_From_int((int)(result
));
12415 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)(arg1
)->GetRudderMax();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_From_int((int)(result
));
12443 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= (int)(arg1
)->GetUMin();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_From_int((int)(result
));
12471 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12482 if (SWIG_arg_fail(1)) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (int)(arg1
)->GetUMax();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_From_int((int)(result
));
12499 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12510 if (SWIG_arg_fail(1)) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (int)(arg1
)->GetVMin();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_From_int((int)(result
));
12527 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12538 if (SWIG_arg_fail(1)) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (int)(arg1
)->GetVMax();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_From_int((int)(result
));
12555 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12566 if (SWIG_arg_fail(1)) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (bool)(arg1
)->HasRudder();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12583 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (bool)(arg1
)->HasZ();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12611 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->HasU();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12639 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (bool)(arg1
)->HasV();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12667 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (bool)(arg1
)->HasPOV();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12695 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (bool)(arg1
)->HasPOV4Dir();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (bool)(arg1
)->HasPOVCTS();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12751 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12754 wxWindow
*arg2
= (wxWindow
*) 0 ;
12755 int arg3
= (int) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12766 if (SWIG_arg_fail(1)) SWIG_fail
;
12767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12768 if (SWIG_arg_fail(2)) SWIG_fail
;
12771 arg3
= (int)(SWIG_As_int(obj2
));
12772 if (SWIG_arg_fail(3)) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12791 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12802 if (SWIG_arg_fail(1)) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (bool)(arg1
)->ReleaseCapture();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12819 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12822 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12824 return Py_BuildValue((char *)"");
12826 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12829 int arg2
= (int) 0 ;
12830 int arg3
= (int) wxJOYSTICK1
;
12831 int arg4
= (int) 0 ;
12832 wxJoystickEvent
*result
;
12833 PyObject
* obj0
= 0 ;
12834 PyObject
* obj1
= 0 ;
12835 PyObject
* obj2
= 0 ;
12836 PyObject
* obj3
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12844 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12845 if (SWIG_arg_fail(1)) SWIG_fail
;
12850 arg2
= (int)(SWIG_As_int(obj1
));
12851 if (SWIG_arg_fail(2)) SWIG_fail
;
12856 arg3
= (int)(SWIG_As_int(obj2
));
12857 if (SWIG_arg_fail(3)) SWIG_fail
;
12862 arg4
= (int)(SWIG_As_int(obj3
));
12863 if (SWIG_arg_fail(4)) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12880 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 wxPoint
* resultptr
;
12901 resultptr
= new wxPoint((wxPoint
&)(result
));
12902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12910 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_From_int((int)(result
));
12938 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_From_int((int)(result
));
12966 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_int((int)(result
));
12994 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int((int)(result
));
13022 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "stick", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 arg2
= (int)(SWIG_As_int(obj1
));
13037 if (SWIG_arg_fail(2)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 (arg1
)->SetJoystick(arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 Py_INCREF(Py_None
); resultobj
= Py_None
;
13053 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "state", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 arg2
= (int)(SWIG_As_int(obj1
));
13068 if (SWIG_arg_fail(2)) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->SetButtonState(arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "change", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 arg2
= (int)(SWIG_As_int(obj1
));
13099 if (SWIG_arg_fail(2)) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->SetButtonChange(arg2
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 Py_INCREF(Py_None
); resultobj
= Py_None
;
13115 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13118 wxPoint
*arg2
= 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self",(char *) "pos", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13131 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "zPos", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail
;
13161 arg2
= (int)(SWIG_As_int(obj1
));
13162 if (SWIG_arg_fail(2)) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetZPosition(arg2
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13189 if (SWIG_arg_fail(1)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13206 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13210 PyObject
* obj0
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13234 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13238 PyObject
* obj0
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13245 if (SWIG_arg_fail(1)) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13262 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13265 int arg2
= (int) wxJOY_BUTTON_ANY
;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "but", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail
;
13278 arg2
= (int)(SWIG_As_int(obj1
));
13279 if (SWIG_arg_fail(2)) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13298 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13301 int arg2
= (int) wxJOY_BUTTON_ANY
;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self",(char *) "but", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13311 if (SWIG_arg_fail(1)) SWIG_fail
;
13314 arg2
= (int)(SWIG_As_int(obj1
));
13315 if (SWIG_arg_fail(2)) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13334 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13337 int arg2
= (int) wxJOY_BUTTON_ANY
;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "but", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13347 if (SWIG_arg_fail(1)) SWIG_fail
;
13350 arg2
= (int)(SWIG_As_int(obj1
));
13351 if (SWIG_arg_fail(2)) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13370 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13373 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13375 return Py_BuildValue((char *)"");
13377 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13380 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13382 bool temp1
= false ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "fileName", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13391 arg1
= wxString_in_helper(obj0
);
13392 if (arg1
== NULL
) SWIG_fail
;
13397 if (!wxPyCheckForApp()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13419 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 PyObject
*arg1
= (PyObject
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "data", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13431 if (!wxPyCheckForApp()) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (wxSound
*)new_wxSound(arg1
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13445 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxSound
*arg1
= (wxSound
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13455 if (SWIG_arg_fail(1)) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 Py_INCREF(Py_None
); resultobj
= Py_None
;
13470 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxSound
*arg1
= (wxSound
*) 0 ;
13473 wxString
*arg2
= 0 ;
13475 bool temp2
= false ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "fileName", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail
;
13486 arg2
= wxString_in_helper(obj1
);
13487 if (arg2
== NULL
) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13514 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxSound
*arg1
= (wxSound
*) 0 ;
13517 PyObject
*arg2
= (PyObject
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "data", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13527 if (SWIG_arg_fail(1)) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13545 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxSound
*arg1
= (wxSound
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13556 if (SWIG_arg_fail(1)) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (bool)(arg1
)->IsOk();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13573 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxSound
*arg1
= (wxSound
*) 0 ;
13576 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "flags", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13586 if (SWIG_arg_fail(1)) SWIG_fail
;
13589 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13590 if (SWIG_arg_fail(2)) SWIG_fail
;
13594 if (!wxPyCheckForApp()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13610 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxString
*arg1
= 0 ;
13613 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13615 bool temp1
= false ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "filename",(char *) "flags", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13624 arg1
= wxString_in_helper(obj0
);
13625 if (arg1
== NULL
) SWIG_fail
;
13630 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13631 if (SWIG_arg_fail(2)) SWIG_fail
;
13635 if (!wxPyCheckForApp()) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 char *kwnames
[] = {
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13667 if (!wxPyCheckForApp()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13684 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13686 return Py_BuildValue((char *)"");
13688 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxString
*arg1
= 0 ;
13691 wxString
*arg2
= 0 ;
13692 wxString
*arg3
= 0 ;
13693 wxString
*arg4
= 0 ;
13694 wxFileTypeInfo
*result
;
13695 bool temp1
= false ;
13696 bool temp2
= false ;
13697 bool temp3
= false ;
13698 bool temp4
= false ;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 PyObject
* obj2
= 0 ;
13702 PyObject
* obj3
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13709 arg1
= wxString_in_helper(obj0
);
13710 if (arg1
== NULL
) SWIG_fail
;
13714 arg2
= wxString_in_helper(obj1
);
13715 if (arg2
== NULL
) SWIG_fail
;
13719 arg3
= wxString_in_helper(obj2
);
13720 if (arg3
== NULL
) SWIG_fail
;
13724 arg4
= wxString_in_helper(obj3
);
13725 if (arg4
== NULL
) SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13774 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxArrayString
*arg1
= 0 ;
13777 wxFileTypeInfo
*result
;
13778 bool temp1
= false ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "sArray", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13786 if (! PySequence_Check(obj0
)) {
13787 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13790 arg1
= new wxArrayString
;
13792 int i
, len
=PySequence_Length(obj0
);
13793 for (i
=0; i
<len
; i
++) {
13794 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13796 PyObject
* str
= PyObject_Unicode(item
);
13798 PyObject
* str
= PyObject_Str(item
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13801 arg1
->Add(Py2wxString(str
));
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13815 if (temp1
) delete arg1
;
13820 if (temp1
) delete arg1
;
13826 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxFileTypeInfo
*result
;
13829 char *kwnames
[] = {
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13848 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13859 if (SWIG_arg_fail(1)) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13876 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13879 wxString
*arg2
= 0 ;
13880 int arg3
= (int) 0 ;
13881 bool temp2
= false ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 PyObject
* obj2
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13893 arg2
= wxString_in_helper(obj1
);
13894 if (arg2
== NULL
) SWIG_fail
;
13899 arg3
= (int)(SWIG_As_int(obj2
));
13900 if (SWIG_arg_fail(3)) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13925 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13928 wxString
*arg2
= 0 ;
13929 bool temp2
= false ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self",(char *) "shortDesc", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13938 if (SWIG_arg_fail(1)) SWIG_fail
;
13940 arg2
= wxString_in_helper(obj1
);
13941 if (arg2
== NULL
) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 Py_INCREF(Py_None
); resultobj
= Py_None
;
13966 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13982 result
= (wxString
*) &_result_ref
;
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14001 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14005 PyObject
* obj0
= 0 ;
14006 char *kwnames
[] = {
14007 (char *) "self", NULL
14010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14012 if (SWIG_arg_fail(1)) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14017 result
= (wxString
*) &_result_ref
;
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14036 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14040 PyObject
* obj0
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14052 result
= (wxString
*) &_result_ref
;
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14071 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14082 if (SWIG_arg_fail(1)) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14087 result
= (wxString
*) &_result_ref
;
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14106 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14122 result
= (wxString
*) &_result_ref
;
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14141 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14144 wxArrayString
*result
;
14145 PyObject
* obj0
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14152 if (SWIG_arg_fail(1)) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14157 result
= (wxArrayString
*) &_result_ref
;
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= wxArrayString2PyList_helper(*result
);
14172 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14183 if (SWIG_arg_fail(1)) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_From_int((int)(result
));
14200 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14216 result
= (wxString
*) &_result_ref
;
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14235 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_From_int((int)(result
));
14263 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14266 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14268 return Py_BuildValue((char *)"");
14270 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxFileTypeInfo
*arg1
= 0 ;
14273 wxFileType
*result
;
14274 PyObject
* obj0
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "ftInfo", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 if (arg1
== NULL
) {
14284 SWIG_null_ref("wxFileTypeInfo");
14286 if (SWIG_arg_fail(1)) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14302 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxFileType
*arg1
= (wxFileType
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14312 if (SWIG_arg_fail(1)) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxFileType
*arg1
= (wxFileType
*) 0 ;
14331 PyObject
* obj0
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14338 if (SWIG_arg_fail(1)) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= result
;
14353 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxFileType
*arg1
= (wxFileType
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= result
;
14379 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxFileType
*arg1
= (wxFileType
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
;
14405 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxFileType
*arg1
= (wxFileType
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14431 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFileType
*arg1
= (wxFileType
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
;
14457 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxFileType
*arg1
= (wxFileType
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= result
;
14483 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxFileType
*arg1
= (wxFileType
*) 0 ;
14486 wxString
*arg2
= 0 ;
14487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14490 bool temp2
= false ;
14491 bool temp3
= false ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 PyObject
* obj2
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail
;
14503 arg2
= wxString_in_helper(obj1
);
14504 if (arg2
== NULL
) SWIG_fail
;
14509 arg3
= wxString_in_helper(obj2
);
14510 if (arg3
== NULL
) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
;
14544 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxFileType
*arg1
= (wxFileType
*) 0 ;
14547 wxString
*arg2
= 0 ;
14548 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14549 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14551 bool temp2
= false ;
14552 bool temp3
= false ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 PyObject
* obj2
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 arg2
= wxString_in_helper(obj1
);
14565 if (arg2
== NULL
) SWIG_fail
;
14570 arg3
= wxString_in_helper(obj2
);
14571 if (arg3
== NULL
) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= result
;
14605 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxFileType
*arg1
= (wxFileType
*) 0 ;
14608 wxString
*arg2
= 0 ;
14609 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14612 bool temp2
= false ;
14613 bool temp3
= false ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail
;
14625 arg2
= wxString_in_helper(obj1
);
14626 if (arg2
== NULL
) SWIG_fail
;
14631 arg3
= wxString_in_helper(obj2
);
14632 if (arg3
== NULL
) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= result
;
14666 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxFileType
*arg1
= (wxFileType
*) 0 ;
14669 wxString
*arg2
= 0 ;
14670 wxString
*arg3
= 0 ;
14671 bool arg4
= (bool) true ;
14673 bool temp2
= false ;
14674 bool temp3
= false ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 PyObject
* obj2
= 0 ;
14678 PyObject
* obj3
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14685 if (SWIG_arg_fail(1)) SWIG_fail
;
14687 arg2
= wxString_in_helper(obj1
);
14688 if (arg2
== NULL
) SWIG_fail
;
14692 arg3
= wxString_in_helper(obj2
);
14693 if (arg3
== NULL
) SWIG_fail
;
14698 arg4
= (bool)(SWIG_As_bool(obj3
));
14699 if (SWIG_arg_fail(4)) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14734 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxFileType
*arg1
= (wxFileType
*) 0 ;
14737 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14738 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14739 int arg3
= (int) 0 ;
14741 bool temp2
= false ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "cmd",(char *) "index", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail
;
14754 arg2
= wxString_in_helper(obj1
);
14755 if (arg2
== NULL
) SWIG_fail
;
14761 arg3
= (int)(SWIG_As_int(obj2
));
14762 if (SWIG_arg_fail(3)) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14789 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxFileType
*arg1
= (wxFileType
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14800 if (SWIG_arg_fail(1)) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (bool)(arg1
)->Unassociate();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14817 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxString
*arg1
= 0 ;
14820 wxString
*arg2
= 0 ;
14821 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14822 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14824 bool temp1
= false ;
14825 bool temp2
= false ;
14826 bool temp3
= false ;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 PyObject
* obj2
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14836 arg1
= wxString_in_helper(obj0
);
14837 if (arg1
== NULL
) SWIG_fail
;
14841 arg2
= wxString_in_helper(obj1
);
14842 if (arg2
== NULL
) SWIG_fail
;
14847 arg3
= wxString_in_helper(obj2
);
14848 if (arg3
== NULL
) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14896 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14899 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14901 return Py_BuildValue((char *)"");
14903 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14904 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14909 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14912 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14917 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxString
*arg1
= 0 ;
14920 wxString
*arg2
= 0 ;
14922 bool temp1
= false ;
14923 bool temp2
= false ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "mimeType",(char *) "wildcard", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14932 arg1
= wxString_in_helper(obj0
);
14933 if (arg1
== NULL
) SWIG_fail
;
14937 arg2
= wxString_in_helper(obj1
);
14938 if (arg2
== NULL
) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14973 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxMimeTypesManager
*result
;
14976 char *kwnames
[] = {
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14995 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14998 int arg2
= (int) wxMAILCAP_ALL
;
14999 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15001 bool temp3
= false ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 PyObject
* obj2
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15011 if (SWIG_arg_fail(1)) SWIG_fail
;
15014 arg2
= (int)(SWIG_As_int(obj1
));
15015 if (SWIG_arg_fail(2)) SWIG_fail
;
15020 arg3
= wxString_in_helper(obj2
);
15021 if (arg3
== NULL
) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 Py_INCREF(Py_None
); resultobj
= Py_None
;
15047 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15057 if (SWIG_arg_fail(1)) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->ClearData();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 Py_INCREF(Py_None
); resultobj
= Py_None
;
15072 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15075 wxString
*arg2
= 0 ;
15076 wxFileType
*result
;
15077 bool temp2
= false ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "ext", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15086 if (SWIG_arg_fail(1)) SWIG_fail
;
15088 arg2
= wxString_in_helper(obj1
);
15089 if (arg2
== NULL
) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15114 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15117 wxString
*arg2
= 0 ;
15118 wxFileType
*result
;
15119 bool temp2
= false ;
15120 PyObject
* obj0
= 0 ;
15121 PyObject
* obj1
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self",(char *) "mimeType", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",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 arg2
= wxString_in_helper(obj1
);
15131 if (arg2
== NULL
) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15156 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15159 wxString
*arg2
= 0 ;
15160 bool arg3
= (bool) false ;
15162 bool temp2
= false ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 PyObject
* obj2
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail
;
15174 arg2
= wxString_in_helper(obj1
);
15175 if (arg2
== NULL
) SWIG_fail
;
15180 arg3
= (bool)(SWIG_As_bool(obj2
));
15181 if (SWIG_arg_fail(3)) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15208 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15211 wxString
*arg2
= 0 ;
15213 bool temp2
= false ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "filename", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 arg2
= wxString_in_helper(obj1
);
15225 if (arg2
== NULL
) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15252 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= result
;
15278 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15281 wxFileTypeInfo
*arg2
= 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "ft", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail
;
15292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15293 if (SWIG_arg_fail(2)) SWIG_fail
;
15294 if (arg2
== NULL
) {
15295 SWIG_null_ref("wxFileTypeInfo");
15297 if (SWIG_arg_fail(2)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15316 wxFileTypeInfo
*arg2
= 0 ;
15317 wxFileType
*result
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "ftInfo", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15329 if (SWIG_arg_fail(2)) SWIG_fail
;
15330 if (arg2
== NULL
) {
15331 SWIG_null_ref("wxFileTypeInfo");
15333 if (SWIG_arg_fail(2)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15349 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15352 wxFileType
*arg2
= (wxFileType
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self",(char *) "ft", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(2)) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (bool)(arg1
)->Unassociate(arg2
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15381 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 Py_INCREF(Py_None
); resultobj
= Py_None
;
15406 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15409 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15411 return Py_BuildValue((char *)"");
15413 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15414 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15419 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15424 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15426 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15433 static int _wrap_ART_MENU_set(PyObject
*) {
15434 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15439 static PyObject
*_wrap_ART_MENU_get(void) {
15444 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15446 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15453 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15454 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15459 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15464 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15466 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15473 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15474 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15479 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15484 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15486 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15493 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15494 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15499 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15504 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15506 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15513 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15514 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15519 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15524 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15526 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15533 static int _wrap_ART_BUTTON_set(PyObject
*) {
15534 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15539 static PyObject
*_wrap_ART_BUTTON_get(void) {
15544 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15546 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15553 static int _wrap_ART_OTHER_set(PyObject
*) {
15554 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15559 static PyObject
*_wrap_ART_OTHER_get(void) {
15564 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15566 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15573 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15574 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15579 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15584 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15586 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15593 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15594 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15599 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15604 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15606 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15613 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15614 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15619 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15624 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15626 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15633 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15634 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15639 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15644 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15646 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15653 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15654 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15659 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15664 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15666 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15673 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15674 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15679 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15684 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15686 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15693 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15694 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15699 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15704 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15706 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15713 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15714 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15719 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15724 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15726 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15733 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15734 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15739 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15744 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15746 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15753 static int _wrap_ART_GO_UP_set(PyObject
*) {
15754 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15759 static PyObject
*_wrap_ART_GO_UP_get(void) {
15764 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15766 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15773 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15774 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15779 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15784 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15786 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15793 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15794 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15799 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15804 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15806 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15813 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15814 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15819 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15824 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15826 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15833 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15834 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15839 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15844 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15846 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15853 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15854 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15859 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15864 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15866 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15873 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15874 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15879 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15884 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15886 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15893 static int _wrap_ART_PRINT_set(PyObject
*) {
15894 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15899 static PyObject
*_wrap_ART_PRINT_get(void) {
15904 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15906 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15913 static int _wrap_ART_HELP_set(PyObject
*) {
15914 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15919 static PyObject
*_wrap_ART_HELP_get(void) {
15924 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15926 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15933 static int _wrap_ART_TIP_set(PyObject
*) {
15934 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15939 static PyObject
*_wrap_ART_TIP_get(void) {
15944 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15946 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15953 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15954 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15959 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15964 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15966 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15973 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15974 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15979 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15984 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15986 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15993 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15994 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15999 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16004 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16006 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16013 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16014 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16019 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16024 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16026 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16033 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16034 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16039 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16044 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16046 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16053 static int _wrap_ART_CDROM_set(PyObject
*) {
16054 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16059 static PyObject
*_wrap_ART_CDROM_get(void) {
16064 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16066 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16073 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16074 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16079 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16084 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16086 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16093 static int _wrap_ART_FOLDER_set(PyObject
*) {
16094 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16099 static PyObject
*_wrap_ART_FOLDER_get(void) {
16104 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16106 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16113 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16114 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16119 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16124 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16126 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16133 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16134 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16139 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16144 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16146 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16153 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16154 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16159 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16164 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16166 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16173 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16174 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16179 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16184 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16186 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16193 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16194 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16199 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16204 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16206 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16213 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16214 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16219 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16224 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16226 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16233 static int _wrap_ART_ERROR_set(PyObject
*) {
16234 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16239 static PyObject
*_wrap_ART_ERROR_get(void) {
16244 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16246 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16253 static int _wrap_ART_QUESTION_set(PyObject
*) {
16254 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16259 static PyObject
*_wrap_ART_QUESTION_get(void) {
16264 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16266 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16273 static int _wrap_ART_WARNING_set(PyObject
*) {
16274 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16279 static PyObject
*_wrap_ART_WARNING_get(void) {
16284 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16286 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16293 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16294 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16299 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16304 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16306 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16313 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16314 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16319 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16324 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16326 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16333 static int _wrap_ART_COPY_set(PyObject
*) {
16334 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16339 static PyObject
*_wrap_ART_COPY_get(void) {
16344 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16346 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16353 static int _wrap_ART_CUT_set(PyObject
*) {
16354 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16359 static PyObject
*_wrap_ART_CUT_get(void) {
16364 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16366 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16373 static int _wrap_ART_PASTE_set(PyObject
*) {
16374 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16379 static PyObject
*_wrap_ART_PASTE_get(void) {
16384 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16386 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16393 static int _wrap_ART_DELETE_set(PyObject
*) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16399 static PyObject
*_wrap_ART_DELETE_get(void) {
16404 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16406 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16413 static int _wrap_ART_UNDO_set(PyObject
*) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16419 static PyObject
*_wrap_ART_UNDO_get(void) {
16424 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16426 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16433 static int _wrap_ART_REDO_set(PyObject
*) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16439 static PyObject
*_wrap_ART_REDO_get(void) {
16444 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16453 static int _wrap_ART_QUIT_set(PyObject
*) {
16454 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16459 static PyObject
*_wrap_ART_QUIT_get(void) {
16464 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16473 static int _wrap_ART_FIND_set(PyObject
*) {
16474 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16479 static PyObject
*_wrap_ART_FIND_get(void) {
16484 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16486 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16493 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16494 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16499 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16504 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16506 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16513 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxPyArtProvider
*result
;
16516 char *kwnames
[] = {
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16522 if (!wxPyCheckForApp()) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16536 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16539 PyObject
*arg2
= (PyObject
*) 0 ;
16540 PyObject
*arg3
= (PyObject
*) 0 ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 PyObject
* obj2
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "self",(char *) "_class", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16550 if (SWIG_arg_fail(1)) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "provider", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16577 if (SWIG_arg_fail(1)) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 wxPyArtProvider::PushProvider(arg1
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 Py_INCREF(Py_None
); resultobj
= Py_None
;
16592 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16595 char *kwnames
[] = {
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)wxPyArtProvider::PopProvider();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "provider", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16644 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxString
*arg1
= 0 ;
16647 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16648 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16649 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16650 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16652 bool temp1
= false ;
16653 bool temp2
= false ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "id",(char *) "client",(char *) "size", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16664 arg1
= wxString_in_helper(obj0
);
16665 if (arg1
== NULL
) SWIG_fail
;
16670 arg2
= wxString_in_helper(obj1
);
16671 if (arg2
== NULL
) SWIG_fail
;
16678 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16682 if (!wxPyCheckForApp()) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 wxBitmap
* resultptr
;
16691 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16716 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxString
*arg1
= 0 ;
16719 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16720 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16721 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16722 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16724 bool temp1
= false ;
16725 bool temp2
= false ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "id",(char *) "client",(char *) "size", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16736 arg1
= wxString_in_helper(obj0
);
16737 if (arg1
== NULL
) SWIG_fail
;
16742 arg2
= wxString_in_helper(obj1
);
16743 if (arg2
== NULL
) SWIG_fail
;
16750 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16754 if (!wxPyCheckForApp()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 wxIcon
* resultptr
;
16763 resultptr
= new wxIcon((wxIcon
&)(result
));
16764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16788 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxString
*arg1
= 0 ;
16791 bool arg2
= (bool) false ;
16793 bool temp1
= false ;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "client",(char *) "platform_dependent", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 arg1
= wxString_in_helper(obj0
);
16803 if (arg1
== NULL
) SWIG_fail
;
16808 arg2
= (bool)(SWIG_As_bool(obj1
));
16809 if (SWIG_arg_fail(2)) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 wxSize
* resultptr
;
16821 resultptr
= new wxSize((wxSize
&)(result
));
16822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16838 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16848 if (SWIG_arg_fail(1)) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 wxPyArtProvider_Destroy(arg1
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 Py_INCREF(Py_None
); resultobj
= Py_None
;
16863 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16866 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16868 return Py_BuildValue((char *)"");
16870 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16880 if (SWIG_arg_fail(1)) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16898 wxConfigBase
*result
;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "config", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16906 if (SWIG_arg_fail(1)) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16921 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 bool arg1
= (bool) true ;
16924 wxConfigBase
*result
;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "createOnDemand", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16933 arg1
= (bool)(SWIG_As_bool(obj0
));
16934 if (SWIG_arg_fail(1)) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16951 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxConfigBase
*result
;
16954 char *kwnames
[] = {
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (wxConfigBase
*)wxConfigBase::Create();
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16973 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 char *kwnames
[] = {
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 wxConfigBase::DontCreateOnDemand();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 Py_INCREF(Py_None
); resultobj
= Py_None
;
16994 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16997 wxString
*arg2
= 0 ;
16998 bool temp2
= false ;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "path", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17007 if (SWIG_arg_fail(1)) SWIG_fail
;
17009 arg2
= wxString_in_helper(obj1
);
17010 if (arg2
== NULL
) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->SetPath((wxString
const &)*arg2
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17051 result
= (wxString
*) &_result_ref
;
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17070 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17081 if (SWIG_arg_fail(1)) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= result
;
17096 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self",(char *) "index", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17109 if (SWIG_arg_fail(1)) SWIG_fail
;
17111 arg2
= (long)(SWIG_As_long(obj1
));
17112 if (SWIG_arg_fail(2)) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= result
;
17128 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17139 if (SWIG_arg_fail(1)) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= result
;
17154 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self",(char *) "index", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17167 if (SWIG_arg_fail(1)) SWIG_fail
;
17169 arg2
= (long)(SWIG_As_long(obj1
));
17170 if (SWIG_arg_fail(2)) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= result
;
17186 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17189 bool arg2
= (bool) false ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "recursive", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 arg2
= (bool)(SWIG_As_bool(obj1
));
17203 if (SWIG_arg_fail(2)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17222 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17225 bool arg2
= (bool) false ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "recursive", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17235 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 arg2
= (bool)(SWIG_As_bool(obj1
));
17239 if (SWIG_arg_fail(2)) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17258 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17261 wxString
*arg2
= 0 ;
17263 bool temp2
= false ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self",(char *) "name", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17272 if (SWIG_arg_fail(1)) SWIG_fail
;
17274 arg2
= wxString_in_helper(obj1
);
17275 if (arg2
== NULL
) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17302 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17305 wxString
*arg2
= 0 ;
17307 bool temp2
= false ;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self",(char *) "name", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17318 arg2
= wxString_in_helper(obj1
);
17319 if (arg2
== NULL
) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17346 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17349 wxString
*arg2
= 0 ;
17351 bool temp2
= false ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "name", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17360 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 arg2
= wxString_in_helper(obj1
);
17363 if (arg2
== NULL
) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17390 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17393 wxString
*arg2
= 0 ;
17394 wxConfigBase::EntryType result
;
17395 bool temp2
= false ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "name", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17404 if (SWIG_arg_fail(1)) SWIG_fail
;
17406 arg2
= wxString_in_helper(obj1
);
17407 if (arg2
== NULL
) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_From_int((result
));
17432 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17435 wxString
*arg2
= 0 ;
17436 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17437 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
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 *) "key",(char *) "defaultVal", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",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
;
17458 arg3
= wxString_in_helper(obj2
);
17459 if (arg3
== NULL
) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17499 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17502 wxString
*arg2
= 0 ;
17503 long arg3
= (long) 0 ;
17505 bool temp2
= false ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 PyObject
* obj2
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17517 arg2
= wxString_in_helper(obj1
);
17518 if (arg2
== NULL
) SWIG_fail
;
17523 arg3
= (long)(SWIG_As_long(obj2
));
17524 if (SWIG_arg_fail(3)) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_From_long((long)(result
));
17551 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17554 wxString
*arg2
= 0 ;
17555 double arg3
= (double) 0.0 ;
17557 bool temp2
= false ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 PyObject
* obj2
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 arg2
= wxString_in_helper(obj1
);
17570 if (arg2
== NULL
) SWIG_fail
;
17575 arg3
= (double)(SWIG_As_double(obj2
));
17576 if (SWIG_arg_fail(3)) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_From_double((double)(result
));
17603 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17606 wxString
*arg2
= 0 ;
17607 bool arg3
= (bool) false ;
17609 bool temp2
= false ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 PyObject
* obj2
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
17627 arg3
= (bool)(SWIG_As_bool(obj2
));
17628 if (SWIG_arg_fail(3)) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17655 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17658 wxString
*arg2
= 0 ;
17659 wxString
*arg3
= 0 ;
17661 bool temp2
= false ;
17662 bool temp3
= false ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "key",(char *) "value", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17672 if (SWIG_arg_fail(1)) SWIG_fail
;
17674 arg2
= wxString_in_helper(obj1
);
17675 if (arg2
== NULL
) SWIG_fail
;
17679 arg3
= wxString_in_helper(obj2
);
17680 if (arg3
== NULL
) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17715 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17718 wxString
*arg2
= 0 ;
17721 bool temp2
= false ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 PyObject
* obj2
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "key",(char *) "value", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail
;
17733 arg2
= wxString_in_helper(obj1
);
17734 if (arg2
== NULL
) SWIG_fail
;
17738 arg3
= (long)(SWIG_As_long(obj2
));
17739 if (SWIG_arg_fail(3)) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17765 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17768 wxString
*arg2
= 0 ;
17771 bool temp2
= false ;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 PyObject
* obj2
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "key",(char *) "value", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 arg2
= wxString_in_helper(obj1
);
17784 if (arg2
== NULL
) SWIG_fail
;
17788 arg3
= (double)(SWIG_As_double(obj2
));
17789 if (SWIG_arg_fail(3)) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17818 wxString
*arg2
= 0 ;
17821 bool temp2
= false ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 PyObject
* obj2
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "key",(char *) "value", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17831 if (SWIG_arg_fail(1)) SWIG_fail
;
17833 arg2
= wxString_in_helper(obj1
);
17834 if (arg2
== NULL
) SWIG_fail
;
17838 arg3
= (bool)(SWIG_As_bool(obj2
));
17839 if (SWIG_arg_fail(3)) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17865 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17868 bool arg2
= (bool) false ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "currentOnly", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= (bool)(SWIG_As_bool(obj1
));
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= (bool)(arg1
)->Flush(arg2
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17901 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17904 wxString
*arg2
= 0 ;
17905 wxString
*arg3
= 0 ;
17907 bool temp2
= false ;
17908 bool temp3
= false ;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 PyObject
* obj2
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17918 if (SWIG_arg_fail(1)) SWIG_fail
;
17920 arg2
= wxString_in_helper(obj1
);
17921 if (arg2
== NULL
) SWIG_fail
;
17925 arg3
= wxString_in_helper(obj2
);
17926 if (arg3
== NULL
) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17961 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17964 wxString
*arg2
= 0 ;
17965 wxString
*arg3
= 0 ;
17967 bool temp2
= false ;
17968 bool temp3
= false ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 PyObject
* obj2
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17978 if (SWIG_arg_fail(1)) SWIG_fail
;
17980 arg2
= wxString_in_helper(obj1
);
17981 if (arg2
== NULL
) SWIG_fail
;
17985 arg3
= wxString_in_helper(obj2
);
17986 if (arg3
== NULL
) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18024 wxString
*arg2
= 0 ;
18025 bool arg3
= (bool) true ;
18027 bool temp2
= false ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 PyObject
* obj2
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail
;
18039 arg2
= wxString_in_helper(obj1
);
18040 if (arg2
== NULL
) SWIG_fail
;
18045 arg3
= (bool)(SWIG_As_bool(obj2
));
18046 if (SWIG_arg_fail(3)) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18073 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18076 wxString
*arg2
= 0 ;
18078 bool temp2
= false ;
18079 PyObject
* obj0
= 0 ;
18080 PyObject
* obj1
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self",(char *) "key", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18087 if (SWIG_arg_fail(1)) SWIG_fail
;
18089 arg2
= wxString_in_helper(obj1
);
18090 if (arg2
== NULL
) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18117 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18128 if (SWIG_arg_fail(1)) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (bool)(arg1
)->DeleteAll();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18148 bool arg2
= (bool) true ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "doIt", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 arg2
= (bool)(SWIG_As_bool(obj1
));
18161 if (SWIG_arg_fail(2)) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetExpandEnvVars(arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18189 if (SWIG_arg_fail(1)) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18206 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18209 bool arg2
= (bool) true ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self",(char *) "doIt", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail
;
18221 arg2
= (bool)(SWIG_As_bool(obj1
));
18222 if (SWIG_arg_fail(2)) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->SetRecordDefaults(arg2
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18250 if (SWIG_arg_fail(1)) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18267 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18270 wxString
*arg2
= 0 ;
18272 bool temp2
= false ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "str", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 arg2
= wxString_in_helper(obj1
);
18284 if (arg2
== NULL
) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18315 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18347 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18379 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18382 wxString
*arg2
= 0 ;
18383 bool temp2
= false ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 char *kwnames
[] = {
18387 (char *) "self",(char *) "appName", NULL
18390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18392 if (SWIG_arg_fail(1)) SWIG_fail
;
18394 arg2
= wxString_in_helper(obj1
);
18395 if (arg2
== NULL
) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetAppName((wxString
const &)*arg2
);
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18423 wxString
*arg2
= 0 ;
18424 bool temp2
= false ;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self",(char *) "vendorName", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18433 if (SWIG_arg_fail(1)) SWIG_fail
;
18435 arg2
= wxString_in_helper(obj1
);
18436 if (arg2
== NULL
) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18461 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "style", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 arg2
= (long)(SWIG_As_long(obj1
));
18476 if (SWIG_arg_fail(2)) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->SetStyle(arg2
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_From_long((long)(result
));
18520 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18523 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18525 return Py_BuildValue((char *)"");
18527 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18530 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18531 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18532 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18535 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18537 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18539 bool temp1
= false ;
18540 bool temp2
= false ;
18541 bool temp3
= false ;
18542 bool temp4
= false ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 PyObject
* obj2
= 0 ;
18546 PyObject
* obj3
= 0 ;
18547 PyObject
* obj4
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18555 arg1
= wxString_in_helper(obj0
);
18556 if (arg1
== NULL
) SWIG_fail
;
18562 arg2
= wxString_in_helper(obj1
);
18563 if (arg2
== NULL
) SWIG_fail
;
18569 arg3
= wxString_in_helper(obj2
);
18570 if (arg3
== NULL
) SWIG_fail
;
18576 arg4
= wxString_in_helper(obj3
);
18577 if (arg4
== NULL
) SWIG_fail
;
18583 arg5
= (long)(SWIG_As_long(obj4
));
18584 if (SWIG_arg_fail(5)) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18633 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxConfig
*arg1
= (wxConfig
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18661 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18663 return Py_BuildValue((char *)"");
18665 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18668 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18669 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18670 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18675 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18676 wxFileConfig
*result
;
18677 bool temp1
= false ;
18678 bool temp2
= false ;
18679 bool temp3
= false ;
18680 bool temp4
= false ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 PyObject
* obj3
= 0 ;
18685 PyObject
* obj4
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18693 arg1
= wxString_in_helper(obj0
);
18694 if (arg1
== NULL
) SWIG_fail
;
18700 arg2
= wxString_in_helper(obj1
);
18701 if (arg2
== NULL
) SWIG_fail
;
18707 arg3
= wxString_in_helper(obj2
);
18708 if (arg3
== NULL
) SWIG_fail
;
18714 arg4
= wxString_in_helper(obj3
);
18715 if (arg4
== NULL
) SWIG_fail
;
18721 arg5
= (long)(SWIG_As_long(obj4
));
18722 if (SWIG_arg_fail(5)) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18771 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 Py_INCREF(Py_None
); resultobj
= Py_None
;
18796 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18799 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18801 return Py_BuildValue((char *)"");
18803 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18806 wxString
*arg2
= 0 ;
18807 wxConfigPathChanger
*result
;
18808 bool temp2
= false ;
18809 PyObject
* obj0
= 0 ;
18810 PyObject
* obj1
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "config",(char *) "entry", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 arg2
= wxString_in_helper(obj1
);
18820 if (arg2
== NULL
) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18845 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18881 if (SWIG_arg_fail(1)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18886 result
= (wxString
*) &_result_ref
;
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18905 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18908 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18910 return Py_BuildValue((char *)"");
18912 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxString
*arg1
= 0 ;
18916 bool temp1
= false ;
18917 PyObject
* obj0
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "sz", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18924 arg1
= wxString_in_helper(obj0
);
18925 if (arg1
== NULL
) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18956 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18957 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18962 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18967 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18969 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18976 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18977 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18982 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18987 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18989 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18996 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxDateTime::Country arg1
;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "country", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19006 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 Py_INCREF(Py_None
); resultobj
= Py_None
;
19023 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxDateTime::Country result
;
19026 char *kwnames
[] = {
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_From_int((result
));
19045 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "country", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19057 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19058 if (SWIG_arg_fail(1)) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19077 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "cal", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19089 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19090 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= SWIG_From_int((int)(result
));
19109 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "year", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19120 arg1
= (int)(SWIG_As_int(obj0
));
19121 if (SWIG_arg_fail(1)) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_From_int((int)(result
));
19139 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19142 wxDateTime::Month result
;
19143 PyObject
* obj0
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "cal", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19151 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= SWIG_From_int((result
));
19169 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 int arg1
= (int) wxDateTime::Inv_Year
;
19172 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "year",(char *) "cal", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19183 arg1
= (int)(SWIG_As_int(obj0
));
19184 if (SWIG_arg_fail(1)) SWIG_fail
;
19189 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19190 if (SWIG_arg_fail(2)) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19209 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 int arg1
= (int) wxDateTime::Inv_Year
;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "year", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19221 arg1
= (int)(SWIG_As_int(obj0
));
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (int)wxDateTime::GetCentury(arg1
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= SWIG_From_int((int)(result
));
19241 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19244 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "year",(char *) "cal", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19254 arg1
= (int)(SWIG_As_int(obj0
));
19255 if (SWIG_arg_fail(1)) SWIG_fail
;
19259 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19260 if (SWIG_arg_fail(2)) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= SWIG_From_int((int)(result
));
19279 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxDateTime::Month arg1
;
19282 int arg2
= (int) wxDateTime::Inv_Year
;
19283 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 PyObject
* obj2
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "month",(char *) "year",(char *) "cal", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19294 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19295 if (SWIG_arg_fail(1)) SWIG_fail
;
19299 arg2
= (int)(SWIG_As_int(obj1
));
19300 if (SWIG_arg_fail(2)) SWIG_fail
;
19305 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19306 if (SWIG_arg_fail(3)) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_From_int((int)(result
));
19325 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxDateTime::Month arg1
;
19328 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "month",(char *) "flags", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19338 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19339 if (SWIG_arg_fail(1)) SWIG_fail
;
19343 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19344 if (SWIG_arg_fail(2)) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19367 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
;
19369 wxDateTime::WeekDay arg1
;
19370 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19372 PyObject
* obj0
= 0 ;
19373 PyObject
* obj1
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "weekday",(char *) "flags", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19380 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19381 if (SWIG_arg_fail(1)) SWIG_fail
;
19385 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19386 if (SWIG_arg_fail(2)) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19409 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19412 char *kwnames
[] = {
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (PyObject
*)DateTime_GetAmPmStrings();
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= result
;
19431 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 int arg1
= (int) wxDateTime::Inv_Year
;
19434 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "year",(char *) "country", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19445 arg1
= (int)(SWIG_As_int(obj0
));
19446 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19452 if (SWIG_arg_fail(2)) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19471 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 int arg1
= (int) wxDateTime::Inv_Year
;
19474 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "year",(char *) "country", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19485 arg1
= (int)(SWIG_As_int(obj0
));
19486 if (SWIG_arg_fail(1)) SWIG_fail
;
19491 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19492 if (SWIG_arg_fail(2)) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19503 wxDateTime
* resultptr
;
19504 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19513 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 int arg1
= (int) wxDateTime::Inv_Year
;
19516 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "year",(char *) "country", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19527 arg1
= (int)(SWIG_As_int(obj0
));
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19533 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19534 if (SWIG_arg_fail(2)) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19545 wxDateTime
* resultptr
;
19546 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19555 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19558 char *kwnames
[] = {
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= wxDateTime::Now();
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19571 wxDateTime
* resultptr
;
19572 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19581 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19584 char *kwnames
[] = {
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= wxDateTime::UNow();
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19597 wxDateTime
* resultptr
;
19598 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19607 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19610 char *kwnames
[] = {
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= wxDateTime::Today();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 wxDateTime
* resultptr
;
19624 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19633 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxDateTime
*result
;
19636 char *kwnames
[] = {
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (wxDateTime
*)new wxDateTime();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19655 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19658 wxDateTime
*result
;
19659 PyObject
* obj0
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "timet", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19666 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19667 if (SWIG_arg_fail(1)) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (wxDateTime
*)new wxDateTime(arg1
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19683 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19686 wxDateTime
*result
;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "jdn", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19694 arg1
= (double)(SWIG_As_double(obj0
));
19695 if (SWIG_arg_fail(1)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxDateTime
*)new wxDateTime(arg1
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19711 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19714 int arg2
= (int) 0 ;
19715 int arg3
= (int) 0 ;
19716 int arg4
= (int) 0 ;
19717 wxDateTime
*result
;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 PyObject
* obj2
= 0 ;
19721 PyObject
* obj3
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19728 arg1
= (int)(SWIG_As_int(obj0
));
19729 if (SWIG_arg_fail(1)) SWIG_fail
;
19733 arg2
= (int)(SWIG_As_int(obj1
));
19734 if (SWIG_arg_fail(2)) SWIG_fail
;
19739 arg3
= (int)(SWIG_As_int(obj2
));
19740 if (SWIG_arg_fail(3)) SWIG_fail
;
19745 arg4
= (int)(SWIG_As_int(obj3
));
19746 if (SWIG_arg_fail(4)) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19763 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19766 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19767 int arg3
= (int) wxDateTime::Inv_Year
;
19768 int arg4
= (int) 0 ;
19769 int arg5
= (int) 0 ;
19770 int arg6
= (int) 0 ;
19771 int arg7
= (int) 0 ;
19772 wxDateTime
*result
;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 PyObject
* obj2
= 0 ;
19776 PyObject
* obj3
= 0 ;
19777 PyObject
* obj4
= 0 ;
19778 PyObject
* obj5
= 0 ;
19779 PyObject
* obj6
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19786 arg1
= (int)(SWIG_As_int(obj0
));
19787 if (SWIG_arg_fail(1)) SWIG_fail
;
19791 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19792 if (SWIG_arg_fail(2)) SWIG_fail
;
19797 arg3
= (int)(SWIG_As_int(obj2
));
19798 if (SWIG_arg_fail(3)) SWIG_fail
;
19803 arg4
= (int)(SWIG_As_int(obj3
));
19804 if (SWIG_arg_fail(4)) SWIG_fail
;
19809 arg5
= (int)(SWIG_As_int(obj4
));
19810 if (SWIG_arg_fail(5)) SWIG_fail
;
19815 arg6
= (int)(SWIG_As_int(obj5
));
19816 if (SWIG_arg_fail(6)) SWIG_fail
;
19821 arg7
= (int)(SWIG_As_int(obj6
));
19822 if (SWIG_arg_fail(7)) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19839 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19867 wxDateTime
*result
;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19880 result
= (wxDateTime
*) &_result_ref
;
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19893 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19897 wxDateTime
*result
;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "timet", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19909 if (SWIG_arg_fail(2)) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19915 result
= (wxDateTime
*) &_result_ref
;
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19928 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19932 wxDateTime
*result
;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self",(char *) "jdn", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail
;
19943 arg2
= (double)(SWIG_As_double(obj1
));
19944 if (SWIG_arg_fail(2)) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19950 result
= (wxDateTime
*) &_result_ref
;
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19963 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19967 int arg3
= (int) 0 ;
19968 int arg4
= (int) 0 ;
19969 int arg5
= (int) 0 ;
19970 wxDateTime
*result
;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 PyObject
* obj2
= 0 ;
19974 PyObject
* obj3
= 0 ;
19975 PyObject
* obj4
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19982 if (SWIG_arg_fail(1)) SWIG_fail
;
19984 arg2
= (int)(SWIG_As_int(obj1
));
19985 if (SWIG_arg_fail(2)) SWIG_fail
;
19989 arg3
= (int)(SWIG_As_int(obj2
));
19990 if (SWIG_arg_fail(3)) SWIG_fail
;
19995 arg4
= (int)(SWIG_As_int(obj3
));
19996 if (SWIG_arg_fail(4)) SWIG_fail
;
20001 arg5
= (int)(SWIG_As_int(obj4
));
20002 if (SWIG_arg_fail(5)) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20009 result
= (wxDateTime
*) &_result_ref
;
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20022 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20026 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20027 int arg4
= (int) wxDateTime::Inv_Year
;
20028 int arg5
= (int) 0 ;
20029 int arg6
= (int) 0 ;
20030 int arg7
= (int) 0 ;
20031 int arg8
= (int) 0 ;
20032 wxDateTime
*result
;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 PyObject
* obj2
= 0 ;
20036 PyObject
* obj3
= 0 ;
20037 PyObject
* obj4
= 0 ;
20038 PyObject
* obj5
= 0 ;
20039 PyObject
* obj6
= 0 ;
20040 PyObject
* obj7
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20047 if (SWIG_arg_fail(1)) SWIG_fail
;
20049 arg2
= (int)(SWIG_As_int(obj1
));
20050 if (SWIG_arg_fail(2)) SWIG_fail
;
20054 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20055 if (SWIG_arg_fail(3)) SWIG_fail
;
20060 arg4
= (int)(SWIG_As_int(obj3
));
20061 if (SWIG_arg_fail(4)) SWIG_fail
;
20066 arg5
= (int)(SWIG_As_int(obj4
));
20067 if (SWIG_arg_fail(5)) SWIG_fail
;
20072 arg6
= (int)(SWIG_As_int(obj5
));
20073 if (SWIG_arg_fail(6)) SWIG_fail
;
20078 arg7
= (int)(SWIG_As_int(obj6
));
20079 if (SWIG_arg_fail(7)) SWIG_fail
;
20084 arg8
= (int)(SWIG_As_int(obj7
));
20085 if (SWIG_arg_fail(8)) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20092 result
= (wxDateTime
*) &_result_ref
;
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20105 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20108 wxDateTime
*result
;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20121 result
= (wxDateTime
*) &_result_ref
;
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20134 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20138 wxDateTime
*result
;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self",(char *) "year", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20147 if (SWIG_arg_fail(1)) SWIG_fail
;
20149 arg2
= (int)(SWIG_As_int(obj1
));
20150 if (SWIG_arg_fail(2)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20156 result
= (wxDateTime
*) &_result_ref
;
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20169 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20172 wxDateTime::Month arg2
;
20173 wxDateTime
*result
;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "month", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20182 if (SWIG_arg_fail(1)) SWIG_fail
;
20184 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20185 if (SWIG_arg_fail(2)) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20191 result
= (wxDateTime
*) &_result_ref
;
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20204 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20208 wxDateTime
*result
;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "day", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 arg2
= (int)(SWIG_As_int(obj1
));
20220 if (SWIG_arg_fail(2)) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20226 result
= (wxDateTime
*) &_result_ref
;
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20239 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20243 wxDateTime
*result
;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self",(char *) "hour", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20252 if (SWIG_arg_fail(1)) SWIG_fail
;
20254 arg2
= (int)(SWIG_As_int(obj1
));
20255 if (SWIG_arg_fail(2)) SWIG_fail
;
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20261 result
= (wxDateTime
*) &_result_ref
;
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20274 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20278 wxDateTime
*result
;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "minute", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20287 if (SWIG_arg_fail(1)) SWIG_fail
;
20289 arg2
= (int)(SWIG_As_int(obj1
));
20290 if (SWIG_arg_fail(2)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20296 result
= (wxDateTime
*) &_result_ref
;
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20309 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20313 wxDateTime
*result
;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "second", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail
;
20324 arg2
= (int)(SWIG_As_int(obj1
));
20325 if (SWIG_arg_fail(2)) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20331 result
= (wxDateTime
*) &_result_ref
;
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20344 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20348 wxDateTime
*result
;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self",(char *) "millisecond", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20357 if (SWIG_arg_fail(1)) SWIG_fail
;
20359 arg2
= (int)(SWIG_As_int(obj1
));
20360 if (SWIG_arg_fail(2)) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20366 result
= (wxDateTime
*) &_result_ref
;
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20379 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20382 wxDateTime::WeekDay arg2
;
20383 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20384 wxDateTime
*result
;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20396 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20397 if (SWIG_arg_fail(2)) SWIG_fail
;
20401 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20402 if (SWIG_arg_fail(3)) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20409 result
= (wxDateTime
*) &_result_ref
;
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20422 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20425 wxDateTime::WeekDay arg2
;
20426 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 PyObject
* obj2
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20437 if (SWIG_arg_fail(1)) SWIG_fail
;
20439 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20440 if (SWIG_arg_fail(2)) SWIG_fail
;
20444 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20445 if (SWIG_arg_fail(3)) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20456 wxDateTime
* resultptr
;
20457 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20466 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20469 wxDateTime::WeekDay arg2
;
20470 wxDateTime
*result
;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self",(char *) "weekday", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20479 if (SWIG_arg_fail(1)) SWIG_fail
;
20481 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20482 if (SWIG_arg_fail(2)) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20488 result
= (wxDateTime
*) &_result_ref
;
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20501 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20504 wxDateTime::WeekDay arg2
;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "weekday", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail
;
20516 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20517 if (SWIG_arg_fail(2)) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 wxDateTime
* resultptr
;
20528 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20537 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20540 wxDateTime::WeekDay arg2
;
20541 wxDateTime
*result
;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "self",(char *) "weekday", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail
;
20552 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20553 if (SWIG_arg_fail(2)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20559 result
= (wxDateTime
*) &_result_ref
;
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20572 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20575 wxDateTime::WeekDay arg2
;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self",(char *) "weekday", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20585 if (SWIG_arg_fail(1)) SWIG_fail
;
20587 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20588 if (SWIG_arg_fail(2)) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 wxDateTime
* resultptr
;
20599 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20608 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20611 wxDateTime::WeekDay arg2
;
20612 int arg3
= (int) 1 ;
20613 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20614 int arg5
= (int) wxDateTime::Inv_Year
;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 PyObject
* obj2
= 0 ;
20619 PyObject
* obj3
= 0 ;
20620 PyObject
* obj4
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20627 if (SWIG_arg_fail(1)) SWIG_fail
;
20629 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20630 if (SWIG_arg_fail(2)) SWIG_fail
;
20634 arg3
= (int)(SWIG_As_int(obj2
));
20635 if (SWIG_arg_fail(3)) SWIG_fail
;
20640 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20641 if (SWIG_arg_fail(4)) SWIG_fail
;
20646 arg5
= (int)(SWIG_As_int(obj4
));
20647 if (SWIG_arg_fail(5)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20669 wxDateTime::WeekDay arg2
;
20670 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20671 int arg4
= (int) wxDateTime::Inv_Year
;
20673 PyObject
* obj0
= 0 ;
20674 PyObject
* obj1
= 0 ;
20675 PyObject
* obj2
= 0 ;
20676 PyObject
* obj3
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20683 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20686 if (SWIG_arg_fail(2)) SWIG_fail
;
20690 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20691 if (SWIG_arg_fail(3)) SWIG_fail
;
20696 arg4
= (int)(SWIG_As_int(obj3
));
20697 if (SWIG_arg_fail(4)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20716 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20719 wxDateTime::WeekDay arg2
;
20720 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20721 int arg4
= (int) wxDateTime::Inv_Year
;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 PyObject
* obj2
= 0 ;
20726 PyObject
* obj3
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20733 if (SWIG_arg_fail(1)) SWIG_fail
;
20735 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20736 if (SWIG_arg_fail(2)) SWIG_fail
;
20740 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20741 if (SWIG_arg_fail(3)) SWIG_fail
;
20746 arg4
= (int)(SWIG_As_int(obj3
));
20747 if (SWIG_arg_fail(4)) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20758 wxDateTime
* resultptr
;
20759 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20768 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20772 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20773 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 PyObject
* obj2
= 0 ;
20778 PyObject
* obj3
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20785 if (SWIG_arg_fail(1)) SWIG_fail
;
20787 arg2
= (int)(SWIG_As_int(obj1
));
20788 if (SWIG_arg_fail(2)) SWIG_fail
;
20792 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20793 if (SWIG_arg_fail(3)) SWIG_fail
;
20798 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20799 if (SWIG_arg_fail(4)) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20818 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20822 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20823 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 PyObject
* obj2
= 0 ;
20828 PyObject
* obj3
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20835 if (SWIG_arg_fail(1)) SWIG_fail
;
20837 arg2
= (int)(SWIG_As_int(obj1
));
20838 if (SWIG_arg_fail(2)) SWIG_fail
;
20842 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20843 if (SWIG_arg_fail(3)) SWIG_fail
;
20848 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20849 if (SWIG_arg_fail(4)) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 wxDateTime
* resultptr
;
20861 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20870 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20874 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 PyObject
* obj2
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20885 arg1
= (int)(SWIG_As_int(obj0
));
20886 if (SWIG_arg_fail(1)) SWIG_fail
;
20889 arg2
= (int)(SWIG_As_int(obj1
));
20890 if (SWIG_arg_fail(2)) SWIG_fail
;
20894 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20895 if (SWIG_arg_fail(3)) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 wxDateTime
* resultptr
;
20907 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20916 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20919 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20920 int arg3
= (int) wxDateTime::Inv_Year
;
20921 wxDateTime
*result
;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 PyObject
* obj2
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self",(char *) "month",(char *) "year", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20931 if (SWIG_arg_fail(1)) SWIG_fail
;
20934 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20935 if (SWIG_arg_fail(2)) SWIG_fail
;
20940 arg3
= (int)(SWIG_As_int(obj2
));
20941 if (SWIG_arg_fail(3)) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20948 result
= (wxDateTime
*) &_result_ref
;
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20961 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20964 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20965 int arg3
= (int) wxDateTime::Inv_Year
;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 PyObject
* obj2
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self",(char *) "month",(char *) "year", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20976 if (SWIG_arg_fail(1)) SWIG_fail
;
20979 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20980 if (SWIG_arg_fail(2)) SWIG_fail
;
20985 arg3
= (int)(SWIG_As_int(obj2
));
20986 if (SWIG_arg_fail(3)) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20997 wxDateTime
* resultptr
;
20998 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21007 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21011 wxDateTime
*result
;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "yday", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail
;
21022 arg2
= (int)(SWIG_As_int(obj1
));
21023 if (SWIG_arg_fail(2)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21029 result
= (wxDateTime
*) &_result_ref
;
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21042 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "yday", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(1)) SWIG_fail
;
21057 arg2
= (int)(SWIG_As_int(obj1
));
21058 if (SWIG_arg_fail(2)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (arg1
)->GetYearDay(arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 wxDateTime
* resultptr
;
21069 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21078 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21082 PyObject
* obj0
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21089 if (SWIG_arg_fail(1)) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (double)(arg1
)->GetJulianDayNumber();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_From_double((double)(result
));
21106 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21117 if (SWIG_arg_fail(1)) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (double)(arg1
)->GetJDN();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_From_double((double)(result
));
21134 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_From_double((double)(result
));
21162 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (double)(arg1
)->GetMJD();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= SWIG_From_double((double)(result
));
21190 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (double)(arg1
)->GetRataDie();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_From_double((double)(result
));
21218 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21221 wxDateTime::TimeZone
*arg2
= 0 ;
21222 bool arg3
= (bool) false ;
21224 bool temp2
= false ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21236 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21241 arg3
= (bool)(SWIG_As_bool(obj2
));
21242 if (SWIG_arg_fail(3)) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21253 wxDateTime
* resultptr
;
21254 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21258 if (temp2
) delete arg2
;
21263 if (temp2
) delete arg2
;
21269 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21272 wxDateTime::TimeZone
*arg2
= 0 ;
21273 bool arg3
= (bool) false ;
21274 wxDateTime
*result
;
21275 bool temp2
= false ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 PyObject
* obj2
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21292 arg3
= (bool)(SWIG_As_bool(obj2
));
21293 if (SWIG_arg_fail(3)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21300 result
= (wxDateTime
*) &_result_ref
;
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21308 if (temp2
) delete arg2
;
21313 if (temp2
) delete arg2
;
21319 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21322 bool arg2
= (bool) false ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "noDST", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21332 if (SWIG_arg_fail(1)) SWIG_fail
;
21335 arg2
= (bool)(SWIG_As_bool(obj1
));
21336 if (SWIG_arg_fail(2)) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (arg1
)->ToGMT(arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 wxDateTime
* resultptr
;
21348 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21357 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21360 bool arg2
= (bool) false ;
21361 wxDateTime
*result
;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self",(char *) "noDST", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21370 if (SWIG_arg_fail(1)) SWIG_fail
;
21373 arg2
= (bool)(SWIG_As_bool(obj1
));
21374 if (SWIG_arg_fail(2)) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21381 result
= (wxDateTime
*) &_result_ref
;
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21394 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21397 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "country", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21407 if (SWIG_arg_fail(1)) SWIG_fail
;
21410 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21411 if (SWIG_arg_fail(2)) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= SWIG_From_int((int)(result
));
21430 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21441 if (SWIG_arg_fail(1)) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21458 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21469 if (SWIG_arg_fail(1)) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21486 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21489 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21490 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21492 bool temp2
= false ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "tz", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_From_int((int)(result
));
21519 if (temp2
) delete arg2
;
21524 if (temp2
) delete arg2
;
21530 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21533 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21534 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21535 wxDateTime::Month result
;
21536 bool temp2
= false ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "tz", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= SWIG_From_int((result
));
21561 if (temp2
) delete arg2
;
21566 if (temp2
) delete arg2
;
21572 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21575 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21576 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21578 bool temp2
= false ;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "tz", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21587 if (SWIG_arg_fail(1)) SWIG_fail
;
21590 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_From_int((int)(result
));
21605 if (temp2
) delete arg2
;
21610 if (temp2
) delete arg2
;
21616 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21619 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21620 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21621 wxDateTime::WeekDay result
;
21622 bool temp2
= false ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "tz", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_From_int((result
));
21647 if (temp2
) delete arg2
;
21652 if (temp2
) delete arg2
;
21658 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21661 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21662 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21664 bool temp2
= false ;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self",(char *) "tz", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21673 if (SWIG_arg_fail(1)) SWIG_fail
;
21676 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_From_int((int)(result
));
21691 if (temp2
) delete arg2
;
21696 if (temp2
) delete arg2
;
21702 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21705 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21706 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21708 bool temp2
= false ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self",(char *) "tz", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21720 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_From_int((int)(result
));
21735 if (temp2
) delete arg2
;
21740 if (temp2
) delete arg2
;
21746 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21749 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21750 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21752 bool temp2
= false ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "tz", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail
;
21764 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= SWIG_From_int((int)(result
));
21779 if (temp2
) delete arg2
;
21784 if (temp2
) delete arg2
;
21790 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21793 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21794 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21796 bool temp2
= false ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "tz", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail
;
21808 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_From_int((int)(result
));
21823 if (temp2
) delete arg2
;
21828 if (temp2
) delete arg2
;
21834 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21837 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21838 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21840 bool temp2
= false ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "tz", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21849 if (SWIG_arg_fail(1)) SWIG_fail
;
21852 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_From_int((int)(result
));
21867 if (temp2
) delete arg2
;
21872 if (temp2
) delete arg2
;
21878 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21881 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21882 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21883 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21885 bool temp3
= false ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 PyObject
* obj2
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "flags",(char *) "tz", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21895 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21899 if (SWIG_arg_fail(2)) SWIG_fail
;
21904 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= SWIG_From_int((int)(result
));
21919 if (temp3
) delete arg3
;
21924 if (temp3
) delete arg3
;
21930 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21933 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21934 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21935 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21937 bool temp3
= false ;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 PyObject
* obj2
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "flags",(char *) "tz", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21950 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21951 if (SWIG_arg_fail(2)) SWIG_fail
;
21956 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_From_int((int)(result
));
21971 if (temp3
) delete arg3
;
21976 if (temp3
) delete arg3
;
21982 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21985 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "country", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail
;
21998 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21999 if (SWIG_arg_fail(2)) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22018 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22021 wxDateTime
*arg2
= 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "datetime", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22031 if (SWIG_arg_fail(1)) SWIG_fail
;
22033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22034 if (SWIG_arg_fail(2)) SWIG_fail
;
22035 if (arg2
== NULL
) {
22036 SWIG_null_ref("wxDateTime");
22038 if (SWIG_arg_fail(2)) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22059 wxDateTime
*arg2
= 0 ;
22061 PyObject
* obj0
= 0 ;
22062 PyObject
* obj1
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self",(char *) "datetime", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail
;
22071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22072 if (SWIG_arg_fail(2)) SWIG_fail
;
22073 if (arg2
== NULL
) {
22074 SWIG_null_ref("wxDateTime");
22076 if (SWIG_arg_fail(2)) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22094 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22097 wxDateTime
*arg2
= 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "datetime", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22107 if (SWIG_arg_fail(1)) SWIG_fail
;
22109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22110 if (SWIG_arg_fail(2)) SWIG_fail
;
22111 if (arg2
== NULL
) {
22112 SWIG_null_ref("wxDateTime");
22114 if (SWIG_arg_fail(2)) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22132 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22135 wxDateTime
*arg2
= 0 ;
22136 wxDateTime
*arg3
= 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 PyObject
* obj2
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "self",(char *) "t1",(char *) "t2", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22147 if (SWIG_arg_fail(1)) SWIG_fail
;
22149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22150 if (SWIG_arg_fail(2)) SWIG_fail
;
22151 if (arg2
== NULL
) {
22152 SWIG_null_ref("wxDateTime");
22154 if (SWIG_arg_fail(2)) SWIG_fail
;
22157 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(3)) SWIG_fail
;
22159 if (arg3
== NULL
) {
22160 SWIG_null_ref("wxDateTime");
22162 if (SWIG_arg_fail(3)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22180 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22183 wxDateTime
*arg2
= 0 ;
22184 wxDateTime
*arg3
= 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 PyObject
* obj2
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "t1",(char *) "t2", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail
;
22197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22198 if (SWIG_arg_fail(2)) SWIG_fail
;
22199 if (arg2
== NULL
) {
22200 SWIG_null_ref("wxDateTime");
22202 if (SWIG_arg_fail(2)) SWIG_fail
;
22205 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22206 if (SWIG_arg_fail(3)) SWIG_fail
;
22207 if (arg3
== NULL
) {
22208 SWIG_null_ref("wxDateTime");
22210 if (SWIG_arg_fail(3)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22231 wxDateTime
*arg2
= 0 ;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self",(char *) "dt", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22241 if (SWIG_arg_fail(1)) SWIG_fail
;
22243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22244 if (SWIG_arg_fail(2)) SWIG_fail
;
22245 if (arg2
== NULL
) {
22246 SWIG_null_ref("wxDateTime");
22248 if (SWIG_arg_fail(2)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22266 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22269 wxDateTime
*arg2
= 0 ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self",(char *) "dt", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22279 if (SWIG_arg_fail(1)) SWIG_fail
;
22281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22282 if (SWIG_arg_fail(2)) SWIG_fail
;
22283 if (arg2
== NULL
) {
22284 SWIG_null_ref("wxDateTime");
22286 if (SWIG_arg_fail(2)) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22304 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22307 wxDateTime
*arg2
= 0 ;
22308 wxTimeSpan
*arg3
= 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "dt",(char *) "ts", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22319 if (SWIG_arg_fail(1)) SWIG_fail
;
22321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22322 if (SWIG_arg_fail(2)) SWIG_fail
;
22323 if (arg2
== NULL
) {
22324 SWIG_null_ref("wxDateTime");
22326 if (SWIG_arg_fail(2)) SWIG_fail
;
22329 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(3)) SWIG_fail
;
22331 if (arg3
== NULL
) {
22332 SWIG_null_ref("wxTimeSpan");
22334 if (SWIG_arg_fail(3)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22352 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22355 wxTimeSpan
*arg2
= 0 ;
22356 wxDateTime
*result
;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "diff", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22365 if (SWIG_arg_fail(1)) SWIG_fail
;
22367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22368 if (SWIG_arg_fail(2)) SWIG_fail
;
22369 if (arg2
== NULL
) {
22370 SWIG_null_ref("wxTimeSpan");
22372 if (SWIG_arg_fail(2)) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22378 result
= (wxDateTime
*) &_result_ref
;
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22391 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22394 wxDateSpan
*arg2
= 0 ;
22395 wxDateTime
*result
;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "diff", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22404 if (SWIG_arg_fail(1)) SWIG_fail
;
22406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22407 if (SWIG_arg_fail(2)) SWIG_fail
;
22408 if (arg2
== NULL
) {
22409 SWIG_null_ref("wxDateSpan");
22411 if (SWIG_arg_fail(2)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22417 result
= (wxDateTime
*) &_result_ref
;
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22430 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22433 wxTimeSpan
*arg2
= 0 ;
22434 wxDateTime
*result
;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self",(char *) "diff", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail
;
22445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(2)) SWIG_fail
;
22447 if (arg2
== NULL
) {
22448 SWIG_null_ref("wxTimeSpan");
22450 if (SWIG_arg_fail(2)) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22456 result
= (wxDateTime
*) &_result_ref
;
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22469 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22472 wxDateSpan
*arg2
= 0 ;
22473 wxDateTime
*result
;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self",(char *) "diff", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail
;
22484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(2)) SWIG_fail
;
22486 if (arg2
== NULL
) {
22487 SWIG_null_ref("wxDateSpan");
22489 if (SWIG_arg_fail(2)) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22495 result
= (wxDateTime
*) &_result_ref
;
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22508 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22511 wxDateTime
*arg2
= 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "dt", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22521 if (SWIG_arg_fail(1)) SWIG_fail
;
22523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22524 if (SWIG_arg_fail(2)) SWIG_fail
;
22525 if (arg2
== NULL
) {
22526 SWIG_null_ref("wxDateTime");
22528 if (SWIG_arg_fail(2)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 wxTimeSpan
* resultptr
;
22539 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22548 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22549 PyObject
*resultobj
;
22550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22551 wxTimeSpan
*arg2
= 0 ;
22552 wxDateTime
*result
;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22556 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22558 if (SWIG_arg_fail(1)) SWIG_fail
;
22560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(2)) SWIG_fail
;
22562 if (arg2
== NULL
) {
22563 SWIG_null_ref("wxTimeSpan");
22565 if (SWIG_arg_fail(2)) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22571 result
= (wxDateTime
*) &_result_ref
;
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22584 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22585 PyObject
*resultobj
;
22586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22587 wxDateSpan
*arg2
= 0 ;
22588 wxDateTime
*result
;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22592 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22594 if (SWIG_arg_fail(1)) SWIG_fail
;
22596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22597 if (SWIG_arg_fail(2)) SWIG_fail
;
22598 if (arg2
== NULL
) {
22599 SWIG_null_ref("wxDateSpan");
22601 if (SWIG_arg_fail(2)) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22607 result
= (wxDateTime
*) &_result_ref
;
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22620 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22625 argc
= PyObject_Length(args
);
22626 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22627 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22633 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22643 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22651 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22659 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22669 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22677 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22682 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22687 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22688 PyObject
*resultobj
;
22689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22690 wxTimeSpan
*arg2
= 0 ;
22691 wxDateTime
*result
;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22695 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22697 if (SWIG_arg_fail(1)) SWIG_fail
;
22699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22700 if (SWIG_arg_fail(2)) SWIG_fail
;
22701 if (arg2
== NULL
) {
22702 SWIG_null_ref("wxTimeSpan");
22704 if (SWIG_arg_fail(2)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22710 result
= (wxDateTime
*) &_result_ref
;
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22723 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22724 PyObject
*resultobj
;
22725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22726 wxDateSpan
*arg2
= 0 ;
22727 wxDateTime
*result
;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22731 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22733 if (SWIG_arg_fail(1)) SWIG_fail
;
22735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(2)) SWIG_fail
;
22737 if (arg2
== NULL
) {
22738 SWIG_null_ref("wxDateSpan");
22740 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22746 result
= (wxDateTime
*) &_result_ref
;
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22759 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22764 argc
= PyObject_Length(args
);
22765 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22766 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22772 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22782 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22790 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22798 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22808 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22816 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22821 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22826 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22827 PyObject
*resultobj
;
22828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22829 wxTimeSpan
*arg2
= 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22834 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22836 if (SWIG_arg_fail(1)) SWIG_fail
;
22838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(2)) SWIG_fail
;
22840 if (arg2
== NULL
) {
22841 SWIG_null_ref("wxTimeSpan");
22843 if (SWIG_arg_fail(2)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 wxDateTime
* resultptr
;
22854 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22863 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22864 PyObject
*resultobj
;
22865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22866 wxDateSpan
*arg2
= 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22871 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22873 if (SWIG_arg_fail(1)) SWIG_fail
;
22875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22876 if (SWIG_arg_fail(2)) SWIG_fail
;
22877 if (arg2
== NULL
) {
22878 SWIG_null_ref("wxDateSpan");
22880 if (SWIG_arg_fail(2)) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 wxDateTime
* resultptr
;
22891 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22900 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22905 argc
= PyObject_Length(args
);
22906 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22907 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22913 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22923 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22931 return _wrap_DateTime___add____SWIG_0(self
,args
);
22939 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22949 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22957 return _wrap_DateTime___add____SWIG_1(self
,args
);
22962 Py_INCREF(Py_NotImplemented
);
22963 return Py_NotImplemented
;
22967 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22968 PyObject
*resultobj
;
22969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22970 wxDateTime
*arg2
= 0 ;
22972 PyObject
* obj0
= 0 ;
22973 PyObject
* obj1
= 0 ;
22975 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22977 if (SWIG_arg_fail(1)) SWIG_fail
;
22979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22980 if (SWIG_arg_fail(2)) SWIG_fail
;
22981 if (arg2
== NULL
) {
22982 SWIG_null_ref("wxDateTime");
22984 if (SWIG_arg_fail(2)) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22994 wxTimeSpan
* resultptr
;
22995 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23004 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23005 PyObject
*resultobj
;
23006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23007 wxTimeSpan
*arg2
= 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23012 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23017 if (SWIG_arg_fail(2)) SWIG_fail
;
23018 if (arg2
== NULL
) {
23019 SWIG_null_ref("wxTimeSpan");
23021 if (SWIG_arg_fail(2)) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23031 wxDateTime
* resultptr
;
23032 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23041 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23042 PyObject
*resultobj
;
23043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23044 wxDateSpan
*arg2
= 0 ;
23046 PyObject
* obj0
= 0 ;
23047 PyObject
* obj1
= 0 ;
23049 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23051 if (SWIG_arg_fail(1)) SWIG_fail
;
23053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23054 if (SWIG_arg_fail(2)) SWIG_fail
;
23055 if (arg2
== NULL
) {
23056 SWIG_null_ref("wxDateSpan");
23058 if (SWIG_arg_fail(2)) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 wxDateTime
* resultptr
;
23069 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23078 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23083 argc
= PyObject_Length(args
);
23084 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23085 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23091 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23101 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23109 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23117 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23127 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23135 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23143 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23153 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23161 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23166 Py_INCREF(Py_NotImplemented
);
23167 return Py_NotImplemented
;
23171 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23174 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "other", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail
;
23185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23186 if (SWIG_arg_fail(2)) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23203 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23206 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self",(char *) "other", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23216 if (SWIG_arg_fail(1)) SWIG_fail
;
23217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23218 if (SWIG_arg_fail(2)) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23235 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23238 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self",(char *) "other", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23248 if (SWIG_arg_fail(1)) SWIG_fail
;
23249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23250 if (SWIG_arg_fail(2)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23270 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "other", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23282 if (SWIG_arg_fail(2)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23302 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self",(char *) "other", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23314 if (SWIG_arg_fail(2)) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23331 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23334 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 PyObject
* obj1
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self",(char *) "other", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail
;
23345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(2)) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23363 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23366 wxString
*arg2
= 0 ;
23368 bool temp2
= false ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "date", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23377 if (SWIG_arg_fail(1)) SWIG_fail
;
23379 arg2
= wxString_in_helper(obj1
);
23380 if (arg2
== NULL
) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= SWIG_From_int((int)(result
));
23407 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23410 wxString
*arg2
= 0 ;
23411 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23413 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23414 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23416 bool temp2
= false ;
23417 bool temp3
= false ;
23418 PyObject
* obj0
= 0 ;
23419 PyObject
* obj1
= 0 ;
23420 PyObject
* obj2
= 0 ;
23421 PyObject
* obj3
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23428 if (SWIG_arg_fail(1)) SWIG_fail
;
23430 arg2
= wxString_in_helper(obj1
);
23431 if (arg2
== NULL
) SWIG_fail
;
23436 arg3
= wxString_in_helper(obj2
);
23437 if (arg3
== NULL
) SWIG_fail
;
23443 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23444 if (SWIG_arg_fail(4)) SWIG_fail
;
23445 if (arg4
== NULL
) {
23446 SWIG_null_ref("wxDateTime");
23448 if (SWIG_arg_fail(4)) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_From_int((int)(result
));
23483 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23486 wxString
*arg2
= 0 ;
23488 bool temp2
= false ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "datetime", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 arg2
= wxString_in_helper(obj1
);
23500 if (arg2
== NULL
) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_From_int((int)(result
));
23527 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23530 wxString
*arg2
= 0 ;
23532 bool temp2
= false ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self",(char *) "date", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail
;
23543 arg2
= wxString_in_helper(obj1
);
23544 if (arg2
== NULL
) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_From_int((int)(result
));
23571 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23574 wxString
*arg2
= 0 ;
23576 bool temp2
= false ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "time", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail
;
23587 arg2
= wxString_in_helper(obj1
);
23588 if (arg2
== NULL
) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_int((int)(result
));
23615 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23618 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23619 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23620 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23621 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23623 bool temp2
= false ;
23624 bool temp3
= false ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 PyObject
* obj2
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "format",(char *) "tz", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail
;
23637 arg2
= wxString_in_helper(obj1
);
23638 if (arg2
== NULL
) SWIG_fail
;
23644 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23667 if (temp3
) delete arg3
;
23676 if (temp3
) delete arg3
;
23682 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23686 PyObject
* obj0
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23693 if (SWIG_arg_fail(1)) SWIG_fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23714 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23725 if (SWIG_arg_fail(1)) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23746 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23757 if (SWIG_arg_fail(1)) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23778 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23810 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23813 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23815 return Py_BuildValue((char *)"");
23817 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
;
23821 PyObject
* obj0
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "sec", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23828 arg1
= (long)(SWIG_As_long(obj0
));
23829 if (SWIG_arg_fail(1)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= wxTimeSpan::Seconds(arg1
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 wxTimeSpan
* resultptr
;
23840 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23849 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23852 char *kwnames
[] = {
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= wxTimeSpan::Second();
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 wxTimeSpan
* resultptr
;
23866 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23875 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "min", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23886 arg1
= (long)(SWIG_As_long(obj0
));
23887 if (SWIG_arg_fail(1)) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= wxTimeSpan::Minutes(arg1
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 wxTimeSpan
* resultptr
;
23898 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23907 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23910 char *kwnames
[] = {
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= wxTimeSpan::Minute();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 wxTimeSpan
* resultptr
;
23924 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23933 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23937 PyObject
* obj0
= 0 ;
23938 char *kwnames
[] = {
23939 (char *) "hours", NULL
23942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23944 arg1
= (long)(SWIG_As_long(obj0
));
23945 if (SWIG_arg_fail(1)) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= wxTimeSpan::Hours(arg1
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23955 wxTimeSpan
* resultptr
;
23956 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23965 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23968 char *kwnames
[] = {
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= wxTimeSpan::Hour();
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23981 wxTimeSpan
* resultptr
;
23982 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23991 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23995 PyObject
* obj0
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "days", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24002 arg1
= (long)(SWIG_As_long(obj0
));
24003 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= wxTimeSpan::Days(arg1
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 wxTimeSpan
* resultptr
;
24014 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24023 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24026 char *kwnames
[] = {
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= wxTimeSpan::Day();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 wxTimeSpan
* resultptr
;
24040 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24049 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24053 PyObject
* obj0
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "days", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24060 arg1
= (long)(SWIG_As_long(obj0
));
24061 if (SWIG_arg_fail(1)) SWIG_fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= wxTimeSpan::Weeks(arg1
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 wxTimeSpan
* resultptr
;
24072 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24081 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24084 char *kwnames
[] = {
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= wxTimeSpan::Week();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24097 wxTimeSpan
* resultptr
;
24098 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24107 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 long arg1
= (long) 0 ;
24110 long arg2
= (long) 0 ;
24111 long arg3
= (long) 0 ;
24112 long arg4
= (long) 0 ;
24113 wxTimeSpan
*result
;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 PyObject
* obj3
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24125 arg1
= (long)(SWIG_As_long(obj0
));
24126 if (SWIG_arg_fail(1)) SWIG_fail
;
24131 arg2
= (long)(SWIG_As_long(obj1
));
24132 if (SWIG_arg_fail(2)) SWIG_fail
;
24137 arg3
= (long)(SWIG_As_long(obj2
));
24138 if (SWIG_arg_fail(3)) SWIG_fail
;
24143 arg4
= (long)(SWIG_As_long(obj3
));
24144 if (SWIG_arg_fail(4)) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24161 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24164 PyObject
* obj0
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24171 if (SWIG_arg_fail(1)) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 Py_INCREF(Py_None
); resultobj
= Py_None
;
24186 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24189 wxTimeSpan
*arg2
= 0 ;
24190 wxTimeSpan
*result
;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char *kwnames
[] = {
24194 (char *) "self",(char *) "diff", NULL
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24199 if (SWIG_arg_fail(1)) SWIG_fail
;
24201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24202 if (SWIG_arg_fail(2)) SWIG_fail
;
24203 if (arg2
== NULL
) {
24204 SWIG_null_ref("wxTimeSpan");
24206 if (SWIG_arg_fail(2)) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24212 result
= (wxTimeSpan
*) &_result_ref
;
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24225 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24228 wxTimeSpan
*arg2
= 0 ;
24229 wxTimeSpan
*result
;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "diff", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24241 if (SWIG_arg_fail(2)) SWIG_fail
;
24242 if (arg2
== NULL
) {
24243 SWIG_null_ref("wxTimeSpan");
24245 if (SWIG_arg_fail(2)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24251 result
= (wxTimeSpan
*) &_result_ref
;
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24264 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24268 wxTimeSpan
*result
;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "n", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail
;
24279 arg2
= (int)(SWIG_As_int(obj1
));
24280 if (SWIG_arg_fail(2)) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24286 result
= (wxTimeSpan
*) &_result_ref
;
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24299 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24302 wxTimeSpan
*result
;
24303 PyObject
* obj0
= 0 ;
24304 char *kwnames
[] = {
24305 (char *) "self", NULL
24308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24310 if (SWIG_arg_fail(1)) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24315 result
= (wxTimeSpan
*) &_result_ref
;
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24328 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24339 if (SWIG_arg_fail(1)) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 wxTimeSpan
* resultptr
;
24349 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24358 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24361 wxTimeSpan
*arg2
= 0 ;
24362 wxTimeSpan
*result
;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self",(char *) "diff", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24371 if (SWIG_arg_fail(1)) SWIG_fail
;
24373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24374 if (SWIG_arg_fail(2)) SWIG_fail
;
24375 if (arg2
== NULL
) {
24376 SWIG_null_ref("wxTimeSpan");
24378 if (SWIG_arg_fail(2)) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24384 result
= (wxTimeSpan
*) &_result_ref
;
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24397 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24400 wxTimeSpan
*arg2
= 0 ;
24401 wxTimeSpan
*result
;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "diff", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24410 if (SWIG_arg_fail(1)) SWIG_fail
;
24412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24413 if (SWIG_arg_fail(2)) SWIG_fail
;
24414 if (arg2
== NULL
) {
24415 SWIG_null_ref("wxTimeSpan");
24417 if (SWIG_arg_fail(2)) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24423 result
= (wxTimeSpan
*) &_result_ref
;
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24436 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24440 wxTimeSpan
*result
;
24441 PyObject
* obj0
= 0 ;
24442 PyObject
* obj1
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self",(char *) "n", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24449 if (SWIG_arg_fail(1)) SWIG_fail
;
24451 arg2
= (int)(SWIG_As_int(obj1
));
24452 if (SWIG_arg_fail(2)) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24458 result
= (wxTimeSpan
*) &_result_ref
;
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24471 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24474 wxTimeSpan
*result
;
24475 PyObject
* obj0
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24482 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24487 result
= (wxTimeSpan
*) &_result_ref
;
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24500 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24503 wxTimeSpan
*arg2
= 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self",(char *) "other", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24513 if (SWIG_arg_fail(1)) SWIG_fail
;
24515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24516 if (SWIG_arg_fail(2)) SWIG_fail
;
24517 if (arg2
== NULL
) {
24518 SWIG_null_ref("wxTimeSpan");
24520 if (SWIG_arg_fail(2)) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 wxTimeSpan
* resultptr
;
24531 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24540 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24543 wxTimeSpan
*arg2
= 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "other", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail
;
24555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24556 if (SWIG_arg_fail(2)) SWIG_fail
;
24557 if (arg2
== NULL
) {
24558 SWIG_null_ref("wxTimeSpan");
24560 if (SWIG_arg_fail(2)) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 wxTimeSpan
* resultptr
;
24571 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24580 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "n", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail
;
24595 arg2
= (int)(SWIG_As_int(obj1
));
24596 if (SWIG_arg_fail(2)) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= wxTimeSpan___mul__(arg1
,arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 wxTimeSpan
* resultptr
;
24607 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24616 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "n", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24629 if (SWIG_arg_fail(1)) SWIG_fail
;
24631 arg2
= (int)(SWIG_As_int(obj1
));
24632 if (SWIG_arg_fail(2)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 wxTimeSpan
* resultptr
;
24643 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24652 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24655 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self",(char *) "other", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24667 if (SWIG_arg_fail(2)) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24687 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "other", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(1)) SWIG_fail
;
24698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24699 if (SWIG_arg_fail(2)) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24716 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24719 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "other", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail
;
24730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24731 if (SWIG_arg_fail(2)) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24748 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24751 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "other", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24761 if (SWIG_arg_fail(1)) SWIG_fail
;
24762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24763 if (SWIG_arg_fail(2)) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24780 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24783 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self",(char *) "other", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24793 if (SWIG_arg_fail(1)) SWIG_fail
;
24794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24795 if (SWIG_arg_fail(2)) SWIG_fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24812 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24815 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self",(char *) "other", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24825 if (SWIG_arg_fail(1)) SWIG_fail
;
24826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24827 if (SWIG_arg_fail(2)) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24844 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24855 if (SWIG_arg_fail(1)) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24872 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24900 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24928 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24931 wxTimeSpan
*arg2
= 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "ts", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24944 if (SWIG_arg_fail(2)) SWIG_fail
;
24945 if (arg2
== NULL
) {
24946 SWIG_null_ref("wxTimeSpan");
24948 if (SWIG_arg_fail(2)) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24966 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
;
24968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24969 wxTimeSpan
*arg2
= 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self",(char *) "ts", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail
;
24981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24982 if (SWIG_arg_fail(2)) SWIG_fail
;
24983 if (arg2
== NULL
) {
24984 SWIG_null_ref("wxTimeSpan");
24986 if (SWIG_arg_fail(2)) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25004 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25007 wxTimeSpan
*arg2
= 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "t", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25017 if (SWIG_arg_fail(1)) SWIG_fail
;
25019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(2)) SWIG_fail
;
25021 if (arg2
== NULL
) {
25022 SWIG_null_ref("wxTimeSpan");
25024 if (SWIG_arg_fail(2)) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25042 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25046 PyObject
* obj0
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25053 if (SWIG_arg_fail(1)) SWIG_fail
;
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_From_int((int)(result
));
25070 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25081 if (SWIG_arg_fail(1)) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_From_int((int)(result
));
25098 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25109 if (SWIG_arg_fail(1)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= SWIG_From_int((int)(result
));
25126 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25137 if (SWIG_arg_fail(1)) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= SWIG_From_int((int)(result
));
25154 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
;
25156 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25158 PyObject
* obj0
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "self", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25165 if (SWIG_arg_fail(1)) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25174 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25175 hi
= PyLong_FromLong( (&result
)->GetHi() );
25176 lo
= PyLong_FromLong( (&result
)->GetLo() );
25177 shifter
= PyLong_FromLong(32);
25178 shifted
= PyNumber_Lshift(hi
, shifter
);
25179 resultobj
= PyNumber_Or(shifted
, lo
);
25182 Py_DECREF(shifter
);
25183 Py_DECREF(shifted
);
25191 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25202 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25211 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25212 hi
= PyLong_FromLong( (&result
)->GetHi() );
25213 lo
= PyLong_FromLong( (&result
)->GetLo() );
25214 shifter
= PyLong_FromLong(32);
25215 shifted
= PyNumber_Lshift(hi
, shifter
);
25216 resultobj
= PyNumber_Or(shifted
, lo
);
25219 Py_DECREF(shifter
);
25220 Py_DECREF(shifted
);
25228 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25231 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25232 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25234 bool temp2
= false ;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "format", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25243 if (SWIG_arg_fail(1)) SWIG_fail
;
25246 arg2
= wxString_in_helper(obj1
);
25247 if (arg2
== NULL
) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25279 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25282 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25284 return Py_BuildValue((char *)"");
25286 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 int arg1
= (int) 0 ;
25289 int arg2
= (int) 0 ;
25290 int arg3
= (int) 0 ;
25291 int arg4
= (int) 0 ;
25292 wxDateSpan
*result
;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 PyObject
* obj2
= 0 ;
25296 PyObject
* obj3
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25304 arg1
= (int)(SWIG_As_int(obj0
));
25305 if (SWIG_arg_fail(1)) SWIG_fail
;
25310 arg2
= (int)(SWIG_As_int(obj1
));
25311 if (SWIG_arg_fail(2)) SWIG_fail
;
25316 arg3
= (int)(SWIG_As_int(obj2
));
25317 if (SWIG_arg_fail(3)) SWIG_fail
;
25322 arg4
= (int)(SWIG_As_int(obj3
));
25323 if (SWIG_arg_fail(4)) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25340 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25343 PyObject
* obj0
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25350 if (SWIG_arg_fail(1)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25365 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25369 PyObject
* obj0
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "days", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25376 arg1
= (int)(SWIG_As_int(obj0
));
25377 if (SWIG_arg_fail(1)) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= wxDateSpan::Days(arg1
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 wxDateSpan
* resultptr
;
25388 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25397 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
;
25400 char *kwnames
[] = {
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= wxDateSpan::Day();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25413 wxDateSpan
* resultptr
;
25414 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25423 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25427 PyObject
* obj0
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "weeks", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25434 arg1
= (int)(SWIG_As_int(obj0
));
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 result
= wxDateSpan::Weeks(arg1
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25445 wxDateSpan
* resultptr
;
25446 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25455 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25458 char *kwnames
[] = {
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= wxDateSpan::Week();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25471 wxDateSpan
* resultptr
;
25472 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25481 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25485 PyObject
* obj0
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "mon", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25492 arg1
= (int)(SWIG_As_int(obj0
));
25493 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= wxDateSpan::Months(arg1
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25503 wxDateSpan
* resultptr
;
25504 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25513 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25516 char *kwnames
[] = {
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= wxDateSpan::Month();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 wxDateSpan
* resultptr
;
25530 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25539 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "years", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25550 arg1
= (int)(SWIG_As_int(obj0
));
25551 if (SWIG_arg_fail(1)) SWIG_fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= wxDateSpan::Years(arg1
);
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25561 wxDateSpan
* resultptr
;
25562 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25571 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25574 char *kwnames
[] = {
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= wxDateSpan::Year();
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25587 wxDateSpan
* resultptr
;
25588 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25597 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25601 wxDateSpan
*result
;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self",(char *) "n", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25610 if (SWIG_arg_fail(1)) SWIG_fail
;
25612 arg2
= (int)(SWIG_As_int(obj1
));
25613 if (SWIG_arg_fail(2)) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25619 result
= (wxDateSpan
*) &_result_ref
;
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25632 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25636 wxDateSpan
*result
;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self",(char *) "n", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25645 if (SWIG_arg_fail(1)) SWIG_fail
;
25647 arg2
= (int)(SWIG_As_int(obj1
));
25648 if (SWIG_arg_fail(2)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25654 result
= (wxDateSpan
*) &_result_ref
;
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25667 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25669 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25671 wxDateSpan
*result
;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self",(char *) "n", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25680 if (SWIG_arg_fail(1)) SWIG_fail
;
25682 arg2
= (int)(SWIG_As_int(obj1
));
25683 if (SWIG_arg_fail(2)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25689 result
= (wxDateSpan
*) &_result_ref
;
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25702 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25706 wxDateSpan
*result
;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self",(char *) "n", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25715 if (SWIG_arg_fail(1)) SWIG_fail
;
25717 arg2
= (int)(SWIG_As_int(obj1
));
25718 if (SWIG_arg_fail(2)) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25724 result
= (wxDateSpan
*) &_result_ref
;
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25737 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25741 PyObject
* obj0
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25748 if (SWIG_arg_fail(1)) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_From_int((int)(result
));
25765 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25776 if (SWIG_arg_fail(1)) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= SWIG_From_int((int)(result
));
25793 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25804 if (SWIG_arg_fail(1)) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_From_int((int)(result
));
25821 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25825 PyObject
* obj0
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= SWIG_From_int((int)(result
));
25849 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
;
25851 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25853 PyObject
* obj0
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(1)) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_From_int((int)(result
));
25877 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25880 wxDateSpan
*arg2
= 0 ;
25881 wxDateSpan
*result
;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self",(char *) "other", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25890 if (SWIG_arg_fail(1)) SWIG_fail
;
25892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(2)) SWIG_fail
;
25894 if (arg2
== NULL
) {
25895 SWIG_null_ref("wxDateSpan");
25897 if (SWIG_arg_fail(2)) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25903 result
= (wxDateSpan
*) &_result_ref
;
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25916 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25919 wxDateSpan
*arg2
= 0 ;
25920 wxDateSpan
*result
;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self",(char *) "other", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail
;
25931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(2)) SWIG_fail
;
25933 if (arg2
== NULL
) {
25934 SWIG_null_ref("wxDateSpan");
25936 if (SWIG_arg_fail(2)) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25942 result
= (wxDateSpan
*) &_result_ref
;
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25955 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25958 wxDateSpan
*result
;
25959 PyObject
* obj0
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(1)) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25971 result
= (wxDateSpan
*) &_result_ref
;
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25984 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25988 wxDateSpan
*result
;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "factor", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25999 arg2
= (int)(SWIG_As_int(obj1
));
26000 if (SWIG_arg_fail(2)) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26006 result
= (wxDateSpan
*) &_result_ref
;
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26019 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26022 wxDateSpan
*arg2
= 0 ;
26023 wxDateSpan
*result
;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "other", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26032 if (SWIG_arg_fail(1)) SWIG_fail
;
26034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26035 if (SWIG_arg_fail(2)) SWIG_fail
;
26036 if (arg2
== NULL
) {
26037 SWIG_null_ref("wxDateSpan");
26039 if (SWIG_arg_fail(2)) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26045 result
= (wxDateSpan
*) &_result_ref
;
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26058 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26061 wxDateSpan
*arg2
= 0 ;
26062 wxDateSpan
*result
;
26063 PyObject
* obj0
= 0 ;
26064 PyObject
* obj1
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "other", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26071 if (SWIG_arg_fail(1)) SWIG_fail
;
26073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26074 if (SWIG_arg_fail(2)) SWIG_fail
;
26075 if (arg2
== NULL
) {
26076 SWIG_null_ref("wxDateSpan");
26078 if (SWIG_arg_fail(2)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26084 result
= (wxDateSpan
*) &_result_ref
;
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26097 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26100 wxDateSpan
*result
;
26101 PyObject
* obj0
= 0 ;
26102 char *kwnames
[] = {
26103 (char *) "self", NULL
26106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26108 if (SWIG_arg_fail(1)) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26113 result
= (wxDateSpan
*) &_result_ref
;
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26126 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26130 wxDateSpan
*result
;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "factor", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 arg2
= (int)(SWIG_As_int(obj1
));
26142 if (SWIG_arg_fail(2)) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26148 result
= (wxDateSpan
*) &_result_ref
;
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26161 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26164 wxDateSpan
*arg2
= 0 ;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self",(char *) "other", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail
;
26176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26177 if (SWIG_arg_fail(2)) SWIG_fail
;
26178 if (arg2
== NULL
) {
26179 SWIG_null_ref("wxDateSpan");
26181 if (SWIG_arg_fail(2)) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26191 wxDateSpan
* resultptr
;
26192 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26201 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26203 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26204 wxDateSpan
*arg2
= 0 ;
26206 PyObject
* obj0
= 0 ;
26207 PyObject
* obj1
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self",(char *) "other", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26214 if (SWIG_arg_fail(1)) SWIG_fail
;
26216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26217 if (SWIG_arg_fail(2)) SWIG_fail
;
26218 if (arg2
== NULL
) {
26219 SWIG_null_ref("wxDateSpan");
26221 if (SWIG_arg_fail(2)) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26231 wxDateSpan
* resultptr
;
26232 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26241 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self",(char *) "n", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26254 if (SWIG_arg_fail(1)) SWIG_fail
;
26256 arg2
= (int)(SWIG_As_int(obj1
));
26257 if (SWIG_arg_fail(2)) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 result
= wxDateSpan___mul__(arg1
,arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26267 wxDateSpan
* resultptr
;
26268 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26277 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "n", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 arg2
= (int)(SWIG_As_int(obj1
));
26293 if (SWIG_arg_fail(2)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= wxDateSpan___rmul__(arg1
,arg2
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 wxDateSpan
* resultptr
;
26304 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26313 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26316 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "other", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(1)) SWIG_fail
;
26327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26328 if (SWIG_arg_fail(2)) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26345 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26348 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "other", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail
;
26359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26360 if (SWIG_arg_fail(2)) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26377 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26380 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26382 return Py_BuildValue((char *)"");
26384 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26387 char *kwnames
[] = {
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (long)wxGetLocalTime();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_From_long((long)(result
));
26408 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26411 char *kwnames
[] = {
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (long)wxGetUTCTime();
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= SWIG_From_long((long)(result
));
26432 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26435 char *kwnames
[] = {
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= (long)wxGetCurrentTime();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_From_long((long)(result
));
26456 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26459 char *kwnames
[] = {
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= wxGetLocalTimeMillis();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26473 hi
= PyLong_FromLong( (&result
)->GetHi() );
26474 lo
= PyLong_FromLong( (&result
)->GetLo() );
26475 shifter
= PyLong_FromLong(32);
26476 shifted
= PyNumber_Lshift(hi
, shifter
);
26477 resultobj
= PyNumber_Or(shifted
, lo
);
26480 Py_DECREF(shifter
);
26481 Py_DECREF(shifted
);
26489 static int _wrap_DefaultDateTime_set(PyObject
*) {
26490 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26495 static PyObject
*_wrap_DefaultDateTime_get(void) {
26498 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26503 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxDataFormatId arg1
;
26506 wxDataFormat
*result
;
26507 PyObject
* obj0
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "type", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26514 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26515 if (SWIG_arg_fail(1)) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26531 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxString
*arg1
= 0 ;
26534 wxDataFormat
*result
;
26535 bool temp1
= false ;
26536 PyObject
* obj0
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "format", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26543 arg1
= wxString_in_helper(obj0
);
26544 if (arg1
== NULL
) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26569 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26570 PyObject
*resultobj
;
26571 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26579 if (SWIG_arg_fail(1)) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 Py_INCREF(Py_None
); resultobj
= Py_None
;
26594 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26595 PyObject
*resultobj
;
26596 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26597 wxDataFormatId arg2
;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26602 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26606 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26607 if (SWIG_arg_fail(2)) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26625 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26626 PyObject
*resultobj
;
26627 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26628 wxDataFormatId arg2
;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26633 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26638 if (SWIG_arg_fail(2)) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26656 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26657 PyObject
*resultobj
;
26658 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26659 wxDataFormat
*arg2
= 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26664 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(1)) SWIG_fail
;
26668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26669 if (SWIG_arg_fail(2)) SWIG_fail
;
26670 if (arg2
== NULL
) {
26671 SWIG_null_ref("wxDataFormat");
26673 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26691 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26696 argc
= PyObject_Length(args
);
26697 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26698 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26704 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26714 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26722 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26738 _v
= SWIG_Check_int(argv
[1]);
26740 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26745 Py_INCREF(Py_NotImplemented
);
26746 return Py_NotImplemented
;
26750 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26751 PyObject
*resultobj
;
26752 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26753 wxDataFormat
*arg2
= 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26758 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26760 if (SWIG_arg_fail(1)) SWIG_fail
;
26762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26763 if (SWIG_arg_fail(2)) SWIG_fail
;
26764 if (arg2
== NULL
) {
26765 SWIG_null_ref("wxDataFormat");
26767 if (SWIG_arg_fail(2)) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26785 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26790 argc
= PyObject_Length(args
);
26791 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26792 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26798 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26808 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26816 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26824 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26832 _v
= SWIG_Check_int(argv
[1]);
26834 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26839 Py_INCREF(Py_NotImplemented
);
26840 return Py_NotImplemented
;
26844 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26847 wxDataFormatId arg2
;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "format", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26856 if (SWIG_arg_fail(1)) SWIG_fail
;
26858 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26859 if (SWIG_arg_fail(2)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 (arg1
)->SetType((wxDataFormatId
)arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 Py_INCREF(Py_None
); resultobj
= Py_None
;
26875 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26878 wxDataFormatId result
;
26879 PyObject
* obj0
= 0 ;
26880 char *kwnames
[] = {
26881 (char *) "self", NULL
26884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26886 if (SWIG_arg_fail(1)) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_From_int((result
));
26901 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= ((wxDataFormat
const *)arg1
)->GetId();
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26933 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26936 wxString
*arg2
= 0 ;
26937 bool temp2
= false ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "format", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 arg2
= wxString_in_helper(obj1
);
26949 if (arg2
== NULL
) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 (arg1
)->SetId((wxString
const &)*arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 Py_INCREF(Py_None
); resultobj
= Py_None
;
26974 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26977 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26979 return Py_BuildValue((char *)"");
26981 static int _wrap_FormatInvalid_set(PyObject
*) {
26982 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26987 static PyObject
*_wrap_FormatInvalid_get(void) {
26990 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26995 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
;
26997 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26998 PyObject
* obj0
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27005 if (SWIG_arg_fail(1)) SWIG_fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 Py_INCREF(Py_None
); resultobj
= Py_None
;
27020 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27023 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27024 SwigValueWrapper
<wxDataFormat
> result
;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "dir", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27033 if (SWIG_arg_fail(1)) SWIG_fail
;
27036 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27037 if (SWIG_arg_fail(2)) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27048 wxDataFormat
* resultptr
;
27049 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27058 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27061 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "dir", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27074 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27075 if (SWIG_arg_fail(2)) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27094 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27097 wxDataFormat
*arg2
= 0 ;
27098 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 PyObject
* obj2
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self",(char *) "format",(char *) "dir", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail
;
27111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27112 if (SWIG_arg_fail(2)) SWIG_fail
;
27113 if (arg2
== NULL
) {
27114 SWIG_null_ref("wxDataFormat");
27116 if (SWIG_arg_fail(2)) SWIG_fail
;
27120 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27121 if (SWIG_arg_fail(3)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27140 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27143 wxDataFormat
*arg2
= 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "format", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(2)) SWIG_fail
;
27157 if (arg2
== NULL
) {
27158 SWIG_null_ref("wxDataFormat");
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27178 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27181 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "dir", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail
;
27194 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27195 if (SWIG_arg_fail(2)) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= result
;
27212 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27215 wxDataFormat
*arg2
= 0 ;
27217 PyObject
* obj0
= 0 ;
27218 PyObject
* obj1
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self",(char *) "format", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27225 if (SWIG_arg_fail(1)) SWIG_fail
;
27227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27228 if (SWIG_arg_fail(2)) SWIG_fail
;
27229 if (arg2
== NULL
) {
27230 SWIG_null_ref("wxDataFormat");
27232 if (SWIG_arg_fail(2)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= result
;
27248 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27251 wxDataFormat
*arg2
= 0 ;
27252 PyObject
*arg3
= (PyObject
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "format",(char *) "data", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail
;
27265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27266 if (SWIG_arg_fail(2)) SWIG_fail
;
27267 if (arg2
== NULL
) {
27268 SWIG_null_ref("wxDataFormat");
27270 if (SWIG_arg_fail(2)) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27289 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27292 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27294 return Py_BuildValue((char *)"");
27296 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27299 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27300 wxDataObjectSimple
*result
;
27301 PyObject
* obj0
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "format", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27310 if (SWIG_arg_fail(1)) SWIG_fail
;
27311 if (arg1
== NULL
) {
27312 SWIG_null_ref("wxDataFormat");
27314 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27331 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27334 wxDataFormat
*result
;
27335 PyObject
* obj0
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27347 result
= (wxDataFormat
*) &_result_ref
;
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27360 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27363 wxDataFormat
*arg2
= 0 ;
27364 PyObject
* obj0
= 0 ;
27365 PyObject
* obj1
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self",(char *) "format", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27372 if (SWIG_arg_fail(1)) SWIG_fail
;
27374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27375 if (SWIG_arg_fail(2)) SWIG_fail
;
27376 if (arg2
== NULL
) {
27377 SWIG_null_ref("wxDataFormat");
27379 if (SWIG_arg_fail(2)) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 Py_INCREF(Py_None
); resultobj
= Py_None
;
27395 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27406 if (SWIG_arg_fail(1)) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27423 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 char *kwnames
[] = {
27429 (char *) "self", NULL
27432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27434 if (SWIG_arg_fail(1)) SWIG_fail
;
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= result
;
27449 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27452 PyObject
*arg2
= (PyObject
*) 0 ;
27454 PyObject
* obj0
= 0 ;
27455 PyObject
* obj1
= 0 ;
27456 char *kwnames
[] = {
27457 (char *) "self",(char *) "data", NULL
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27462 if (SWIG_arg_fail(1)) SWIG_fail
;
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27480 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27483 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27485 return Py_BuildValue((char *)"");
27487 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27490 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27491 wxPyDataObjectSimple
*result
;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "format", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27502 if (arg1
== NULL
) {
27503 SWIG_null_ref("wxDataFormat");
27505 if (SWIG_arg_fail(1)) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27522 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27525 PyObject
*arg2
= (PyObject
*) 0 ;
27526 PyObject
*arg3
= (PyObject
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self",(char *) "self",(char *) "_class", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27536 if (SWIG_arg_fail(1)) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 Py_INCREF(Py_None
); resultobj
= Py_None
;
27553 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27556 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27558 return Py_BuildValue((char *)"");
27560 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxDataObjectComposite
*result
;
27563 char *kwnames
[] = {
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27582 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27585 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27586 bool arg3
= (bool) false ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 PyObject
* obj2
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27598 if (SWIG_arg_fail(2)) SWIG_fail
;
27601 arg3
= (bool)(SWIG_As_bool(obj2
));
27602 if (SWIG_arg_fail(3)) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 (arg1
)->Add(arg2
,arg3
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 Py_INCREF(Py_None
); resultobj
= Py_None
;
27619 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27622 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27624 return Py_BuildValue((char *)"");
27626 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27629 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27630 wxTextDataObject
*result
;
27631 bool temp1
= false ;
27632 PyObject
* obj0
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "text", NULL
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27640 arg1
= wxString_in_helper(obj0
);
27641 if (arg1
== NULL
) SWIG_fail
;
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27667 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(1)) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 result
= (size_t)(arg1
)->GetTextLength();
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27695 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27706 if (SWIG_arg_fail(1)) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (arg1
)->GetText();
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27727 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27730 wxString
*arg2
= 0 ;
27731 bool temp2
= false ;
27732 PyObject
* obj0
= 0 ;
27733 PyObject
* obj1
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "text", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27740 if (SWIG_arg_fail(1)) SWIG_fail
;
27742 arg2
= wxString_in_helper(obj1
);
27743 if (arg2
== NULL
) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 (arg1
)->SetText((wxString
const &)*arg2
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 Py_INCREF(Py_None
); resultobj
= Py_None
;
27768 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27771 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27773 return Py_BuildValue((char *)"");
27775 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27778 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27779 wxPyTextDataObject
*result
;
27780 bool temp1
= false ;
27781 PyObject
* obj0
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "text", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27789 arg1
= wxString_in_helper(obj0
);
27790 if (arg1
== NULL
) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27816 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
;
27818 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27819 PyObject
*arg2
= (PyObject
*) 0 ;
27820 PyObject
*arg3
= (PyObject
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 PyObject
* obj1
= 0 ;
27823 PyObject
* obj2
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self",(char *) "self",(char *) "_class", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 Py_INCREF(Py_None
); resultobj
= Py_None
;
27847 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27850 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27852 return Py_BuildValue((char *)"");
27854 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27857 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27858 wxBitmapDataObject
*result
;
27859 PyObject
* obj0
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "bitmap", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27868 if (SWIG_arg_fail(1)) SWIG_fail
;
27869 if (arg1
== NULL
) {
27870 SWIG_null_ref("wxBitmap");
27872 if (SWIG_arg_fail(1)) SWIG_fail
;
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27889 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27900 if (SWIG_arg_fail(1)) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27909 wxBitmap
* resultptr
;
27910 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27919 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
;
27921 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27922 wxBitmap
*arg2
= 0 ;
27923 PyObject
* obj0
= 0 ;
27924 PyObject
* obj1
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "self",(char *) "bitmap", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27931 if (SWIG_arg_fail(1)) SWIG_fail
;
27933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(2)) SWIG_fail
;
27935 if (arg2
== NULL
) {
27936 SWIG_null_ref("wxBitmap");
27938 if (SWIG_arg_fail(2)) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 Py_INCREF(Py_None
); resultobj
= Py_None
;
27954 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27957 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27959 return Py_BuildValue((char *)"");
27961 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27964 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27965 wxPyBitmapDataObject
*result
;
27966 PyObject
* obj0
= 0 ;
27967 char *kwnames
[] = {
27968 (char *) "bitmap", NULL
27971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27975 if (SWIG_arg_fail(1)) SWIG_fail
;
27976 if (arg1
== NULL
) {
27977 SWIG_null_ref("wxBitmap");
27979 if (SWIG_arg_fail(1)) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27996 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27999 PyObject
*arg2
= (PyObject
*) 0 ;
28000 PyObject
*arg3
= (PyObject
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 PyObject
* obj2
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "self",(char *) "_class", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28010 if (SWIG_arg_fail(1)) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28030 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28032 return Py_BuildValue((char *)"");
28034 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxFileDataObject
*result
;
28037 char *kwnames
[] = {
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxFileDataObject
*)new wxFileDataObject();
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28056 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28059 wxArrayString
*result
;
28060 PyObject
* obj0
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28067 if (SWIG_arg_fail(1)) SWIG_fail
;
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28072 result
= (wxArrayString
*) &_result_ref
;
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= wxArrayString2PyList_helper(*result
);
28087 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28090 wxString
*arg2
= 0 ;
28091 bool temp2
= false ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "filename", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(1)) SWIG_fail
;
28102 arg2
= wxString_in_helper(obj1
);
28103 if (arg2
== NULL
) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 (arg1
)->AddFile((wxString
const &)*arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 Py_INCREF(Py_None
); resultobj
= Py_None
;
28128 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28131 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28133 return Py_BuildValue((char *)"");
28135 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28136 PyObject
*resultobj
;
28137 wxDataFormat
*arg1
= 0 ;
28138 wxCustomDataObject
*result
;
28139 PyObject
* obj0
= 0 ;
28141 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28144 if (SWIG_arg_fail(1)) SWIG_fail
;
28145 if (arg1
== NULL
) {
28146 SWIG_null_ref("wxDataFormat");
28148 if (SWIG_arg_fail(1)) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28164 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28165 PyObject
*resultobj
;
28166 wxString
*arg1
= 0 ;
28167 wxCustomDataObject
*result
;
28168 bool temp1
= false ;
28169 PyObject
* obj0
= 0 ;
28171 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28173 arg1
= wxString_in_helper(obj0
);
28174 if (arg1
== NULL
) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28199 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28200 PyObject
*resultobj
;
28201 wxCustomDataObject
*result
;
28203 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28218 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28223 argc
= PyObject_Length(args
);
28224 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28225 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28228 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28233 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28236 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28243 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28251 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28255 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28260 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28263 PyObject
*arg2
= (PyObject
*) 0 ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self",(char *) "data", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail
;
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28291 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28302 if (SWIG_arg_fail(1)) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= (size_t)(arg1
)->GetSize();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28319 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28323 PyObject
* obj0
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28330 if (SWIG_arg_fail(1)) SWIG_fail
;
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= result
;
28345 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28348 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28350 return Py_BuildValue((char *)"");
28352 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxURLDataObject
*result
;
28355 char *kwnames
[] = {
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (wxURLDataObject
*)new wxURLDataObject();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28374 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28378 PyObject
* obj0
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28385 if (SWIG_arg_fail(1)) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (arg1
)->GetURL();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28406 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28409 wxString
*arg2
= 0 ;
28410 bool temp2
= false ;
28411 PyObject
* obj0
= 0 ;
28412 PyObject
* obj1
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "url", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28419 if (SWIG_arg_fail(1)) SWIG_fail
;
28421 arg2
= wxString_in_helper(obj1
);
28422 if (arg2
== NULL
) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 (arg1
)->SetURL((wxString
const &)*arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28432 Py_INCREF(Py_None
); resultobj
= Py_None
;
28447 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28450 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28452 return Py_BuildValue((char *)"");
28454 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxMetafileDataObject
*result
;
28457 char *kwnames
[] = {
28461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28476 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28479 wxMetafile
*arg2
= 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self",(char *) "metafile", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail
;
28490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28491 if (SWIG_arg_fail(2)) SWIG_fail
;
28492 if (arg2
== NULL
) {
28493 SWIG_null_ref("wxMetafile");
28495 if (SWIG_arg_fail(2)) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 Py_INCREF(Py_None
); resultobj
= Py_None
;
28511 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "self", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28522 if (SWIG_arg_fail(1)) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28531 wxMetafile
* resultptr
;
28532 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28541 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28544 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28546 return Py_BuildValue((char *)"");
28548 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxDragResult arg1
;
28552 PyObject
* obj0
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "res", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28559 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28560 if (SWIG_arg_fail(1)) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28578 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxWindow
*arg1
= (wxWindow
*) 0 ;
28581 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28582 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28583 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28584 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28585 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28586 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28587 wxPyDropSource
*result
;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 PyObject
* obj2
= 0 ;
28591 PyObject
* obj3
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28598 if (SWIG_arg_fail(1)) SWIG_fail
;
28601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28602 if (SWIG_arg_fail(2)) SWIG_fail
;
28603 if (arg2
== NULL
) {
28604 SWIG_null_ref("wxCursor");
28606 if (SWIG_arg_fail(2)) SWIG_fail
;
28611 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28612 if (SWIG_arg_fail(3)) SWIG_fail
;
28613 if (arg3
== NULL
) {
28614 SWIG_null_ref("wxCursor");
28616 if (SWIG_arg_fail(3)) SWIG_fail
;
28621 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(4)) SWIG_fail
;
28623 if (arg4
== NULL
) {
28624 SWIG_null_ref("wxCursor");
28626 if (SWIG_arg_fail(4)) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28643 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28646 PyObject
*arg2
= (PyObject
*) 0 ;
28647 PyObject
*arg3
= (PyObject
*) 0 ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 PyObject
* obj2
= 0 ;
28652 PyObject
* obj3
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28659 if (SWIG_arg_fail(1)) SWIG_fail
;
28663 arg4
= (int)(SWIG_As_int(obj3
));
28664 if (SWIG_arg_fail(4)) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 Py_INCREF(Py_None
); resultobj
= Py_None
;
28680 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 char *kwnames
[] = {
28685 (char *) "self", NULL
28688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28690 if (SWIG_arg_fail(1)) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 Py_INCREF(Py_None
); resultobj
= Py_None
;
28705 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28708 wxDataObject
*arg2
= 0 ;
28709 PyObject
* obj0
= 0 ;
28710 PyObject
* obj1
= 0 ;
28711 char *kwnames
[] = {
28712 (char *) "self",(char *) "data", NULL
28715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28717 if (SWIG_arg_fail(1)) SWIG_fail
;
28719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28720 if (SWIG_arg_fail(2)) SWIG_fail
;
28721 if (arg2
== NULL
) {
28722 SWIG_null_ref("wxDataObject");
28724 if (SWIG_arg_fail(2)) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 (arg1
)->SetData(*arg2
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 Py_INCREF(Py_None
); resultobj
= Py_None
;
28740 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28743 wxDataObject
*result
;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28751 if (SWIG_arg_fail(1)) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28766 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28769 wxDragResult arg2
;
28770 wxCursor
*arg3
= 0 ;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 PyObject
* obj2
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self",(char *) "res",(char *) "cursor", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28780 if (SWIG_arg_fail(1)) SWIG_fail
;
28782 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28783 if (SWIG_arg_fail(2)) SWIG_fail
;
28786 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28787 if (SWIG_arg_fail(3)) SWIG_fail
;
28788 if (arg3
== NULL
) {
28789 SWIG_null_ref("wxCursor");
28791 if (SWIG_arg_fail(3)) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 Py_INCREF(Py_None
); resultobj
= Py_None
;
28807 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28810 int arg2
= (int) wxDrag_CopyOnly
;
28811 wxDragResult result
;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 char *kwnames
[] = {
28815 (char *) "self",(char *) "flags", NULL
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28820 if (SWIG_arg_fail(1)) SWIG_fail
;
28823 arg2
= (int)(SWIG_As_int(obj1
));
28824 if (SWIG_arg_fail(2)) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_From_int((result
));
28841 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
;
28843 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28844 wxDragResult arg2
;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 char *kwnames
[] = {
28849 (char *) "self",(char *) "effect", NULL
28852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28854 if (SWIG_arg_fail(1)) SWIG_fail
;
28856 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28857 if (SWIG_arg_fail(2)) SWIG_fail
;
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28875 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28878 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28880 return Py_BuildValue((char *)"");
28882 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
;
28884 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28885 wxPyDropTarget
*result
;
28886 PyObject
* obj0
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "dataObject", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28894 if (SWIG_arg_fail(1)) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28910 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28913 PyObject
*arg2
= (PyObject
*) 0 ;
28914 PyObject
*arg3
= (PyObject
*) 0 ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 PyObject
* obj2
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "self",(char *) "self",(char *) "_class", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28924 if (SWIG_arg_fail(1)) SWIG_fail
;
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28931 wxPyEndAllowThreads(__tstate
);
28932 if (PyErr_Occurred()) SWIG_fail
;
28934 Py_INCREF(Py_None
); resultobj
= Py_None
;
28941 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28944 PyObject
* obj0
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28951 if (SWIG_arg_fail(1)) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28969 wxDataObject
*result
;
28970 PyObject
* obj0
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28980 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28992 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28995 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "self",(char *) "dataObject", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29004 if (SWIG_arg_fail(1)) SWIG_fail
;
29005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29006 if (SWIG_arg_fail(2)) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 (arg1
)->SetDataObject(arg2
);
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 Py_INCREF(Py_None
); resultobj
= Py_None
;
29021 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29026 wxDragResult arg4
;
29027 wxDragResult result
;
29028 PyObject
* obj0
= 0 ;
29029 PyObject
* obj1
= 0 ;
29030 PyObject
* obj2
= 0 ;
29031 PyObject
* obj3
= 0 ;
29032 char *kwnames
[] = {
29033 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29038 if (SWIG_arg_fail(1)) SWIG_fail
;
29040 arg2
= (int)(SWIG_As_int(obj1
));
29041 if (SWIG_arg_fail(2)) SWIG_fail
;
29044 arg3
= (int)(SWIG_As_int(obj2
));
29045 if (SWIG_arg_fail(3)) SWIG_fail
;
29048 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29049 if (SWIG_arg_fail(4)) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 resultobj
= SWIG_From_int((result
));
29065 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29070 wxDragResult arg4
;
29071 wxDragResult result
;
29072 PyObject
* obj0
= 0 ;
29073 PyObject
* obj1
= 0 ;
29074 PyObject
* obj2
= 0 ;
29075 PyObject
* obj3
= 0 ;
29076 char *kwnames
[] = {
29077 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29082 if (SWIG_arg_fail(1)) SWIG_fail
;
29084 arg2
= (int)(SWIG_As_int(obj1
));
29085 if (SWIG_arg_fail(2)) SWIG_fail
;
29088 arg3
= (int)(SWIG_As_int(obj2
));
29089 if (SWIG_arg_fail(3)) SWIG_fail
;
29092 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29093 if (SWIG_arg_fail(4)) SWIG_fail
;
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29102 resultobj
= SWIG_From_int((result
));
29109 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
;
29111 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 char *kwnames
[] = {
29114 (char *) "self", NULL
29117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29119 if (SWIG_arg_fail(1)) SWIG_fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 (arg1
)->base_OnLeave();
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 Py_INCREF(Py_None
); resultobj
= Py_None
;
29134 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29140 PyObject
* obj0
= 0 ;
29141 PyObject
* obj1
= 0 ;
29142 PyObject
* obj2
= 0 ;
29143 char *kwnames
[] = {
29144 (char *) "self",(char *) "x",(char *) "y", NULL
29147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29149 if (SWIG_arg_fail(1)) SWIG_fail
;
29151 arg2
= (int)(SWIG_As_int(obj1
));
29152 if (SWIG_arg_fail(2)) SWIG_fail
;
29155 arg3
= (int)(SWIG_As_int(obj2
));
29156 if (SWIG_arg_fail(3)) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29174 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
;
29176 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29178 PyObject
* obj0
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29185 if (SWIG_arg_fail(1)) SWIG_fail
;
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (bool)(arg1
)->GetData();
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29202 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29205 wxDragResult arg2
;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "action", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29214 if (SWIG_arg_fail(1)) SWIG_fail
;
29216 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29217 if (SWIG_arg_fail(2)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 Py_INCREF(Py_None
); resultobj
= Py_None
;
29233 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29236 wxDragResult result
;
29237 PyObject
* obj0
= 0 ;
29238 char *kwnames
[] = {
29239 (char *) "self", NULL
29242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29244 if (SWIG_arg_fail(1)) SWIG_fail
;
29246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29247 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29249 wxPyEndAllowThreads(__tstate
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= SWIG_From_int((result
));
29259 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29262 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29264 return Py_BuildValue((char *)"");
29266 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxPyTextDropTarget
*result
;
29269 char *kwnames
[] = {
29273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29288 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
;
29290 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29291 PyObject
*arg2
= (PyObject
*) 0 ;
29292 PyObject
*arg3
= (PyObject
*) 0 ;
29293 PyObject
* obj0
= 0 ;
29294 PyObject
* obj1
= 0 ;
29295 PyObject
* obj2
= 0 ;
29296 char *kwnames
[] = {
29297 (char *) "self",(char *) "self",(char *) "_class", NULL
29300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29302 if (SWIG_arg_fail(1)) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29324 wxDragResult arg4
;
29325 wxDragResult result
;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 PyObject
* obj3
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail
;
29338 arg2
= (int)(SWIG_As_int(obj1
));
29339 if (SWIG_arg_fail(2)) SWIG_fail
;
29342 arg3
= (int)(SWIG_As_int(obj2
));
29343 if (SWIG_arg_fail(3)) SWIG_fail
;
29346 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29347 if (SWIG_arg_fail(4)) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_From_int((result
));
29363 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29368 wxDragResult arg4
;
29369 wxDragResult result
;
29370 PyObject
* obj0
= 0 ;
29371 PyObject
* obj1
= 0 ;
29372 PyObject
* obj2
= 0 ;
29373 PyObject
* obj3
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29380 if (SWIG_arg_fail(1)) SWIG_fail
;
29382 arg2
= (int)(SWIG_As_int(obj1
));
29383 if (SWIG_arg_fail(2)) SWIG_fail
;
29386 arg3
= (int)(SWIG_As_int(obj2
));
29387 if (SWIG_arg_fail(3)) SWIG_fail
;
29390 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29391 if (SWIG_arg_fail(4)) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_From_int((result
));
29407 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29417 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 (arg1
)->base_OnLeave();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 Py_INCREF(Py_None
); resultobj
= Py_None
;
29432 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self",(char *) "x",(char *) "y", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail
;
29449 arg2
= (int)(SWIG_As_int(obj1
));
29450 if (SWIG_arg_fail(2)) SWIG_fail
;
29453 arg3
= (int)(SWIG_As_int(obj2
));
29454 if (SWIG_arg_fail(3)) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29472 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29477 wxDragResult arg4
;
29478 wxDragResult result
;
29479 PyObject
* obj0
= 0 ;
29480 PyObject
* obj1
= 0 ;
29481 PyObject
* obj2
= 0 ;
29482 PyObject
* obj3
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29489 if (SWIG_arg_fail(1)) SWIG_fail
;
29491 arg2
= (int)(SWIG_As_int(obj1
));
29492 if (SWIG_arg_fail(2)) SWIG_fail
;
29495 arg3
= (int)(SWIG_As_int(obj2
));
29496 if (SWIG_arg_fail(3)) SWIG_fail
;
29499 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29500 if (SWIG_arg_fail(4)) SWIG_fail
;
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= SWIG_From_int((result
));
29516 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29519 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29521 return Py_BuildValue((char *)"");
29523 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
;
29525 wxPyFileDropTarget
*result
;
29526 char *kwnames
[] = {
29530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29545 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29548 PyObject
*arg2
= (PyObject
*) 0 ;
29549 PyObject
*arg3
= (PyObject
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 PyObject
* obj2
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self",(char *) "self",(char *) "_class", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29559 if (SWIG_arg_fail(1)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 Py_INCREF(Py_None
); resultobj
= Py_None
;
29576 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29581 wxDragResult arg4
;
29582 wxDragResult result
;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 PyObject
* obj3
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29593 if (SWIG_arg_fail(1)) SWIG_fail
;
29595 arg2
= (int)(SWIG_As_int(obj1
));
29596 if (SWIG_arg_fail(2)) SWIG_fail
;
29599 arg3
= (int)(SWIG_As_int(obj2
));
29600 if (SWIG_arg_fail(3)) SWIG_fail
;
29603 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29604 if (SWIG_arg_fail(4)) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_From_int((result
));
29620 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
;
29622 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29625 wxDragResult arg4
;
29626 wxDragResult result
;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29637 if (SWIG_arg_fail(1)) SWIG_fail
;
29639 arg2
= (int)(SWIG_As_int(obj1
));
29640 if (SWIG_arg_fail(2)) SWIG_fail
;
29643 arg3
= (int)(SWIG_As_int(obj2
));
29644 if (SWIG_arg_fail(3)) SWIG_fail
;
29647 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29648 if (SWIG_arg_fail(4)) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_From_int((result
));
29664 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29674 if (SWIG_arg_fail(1)) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 (arg1
)->base_OnLeave();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29695 PyObject
* obj0
= 0 ;
29696 PyObject
* obj1
= 0 ;
29697 PyObject
* obj2
= 0 ;
29698 char *kwnames
[] = {
29699 (char *) "self",(char *) "x",(char *) "y", NULL
29702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29704 if (SWIG_arg_fail(1)) SWIG_fail
;
29706 arg2
= (int)(SWIG_As_int(obj1
));
29707 if (SWIG_arg_fail(2)) SWIG_fail
;
29710 arg3
= (int)(SWIG_As_int(obj2
));
29711 if (SWIG_arg_fail(3)) SWIG_fail
;
29714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29715 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29729 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29734 wxDragResult arg4
;
29735 wxDragResult result
;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 PyObject
* obj2
= 0 ;
29739 PyObject
* obj3
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail
;
29748 arg2
= (int)(SWIG_As_int(obj1
));
29749 if (SWIG_arg_fail(2)) SWIG_fail
;
29752 arg3
= (int)(SWIG_As_int(obj2
));
29753 if (SWIG_arg_fail(3)) SWIG_fail
;
29756 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29757 if (SWIG_arg_fail(4)) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= SWIG_From_int((result
));
29773 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29776 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29778 return Py_BuildValue((char *)"");
29780 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
;
29782 wxClipboard
*result
;
29783 char *kwnames
[] = {
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (wxClipboard
*)new wxClipboard();
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29802 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "self", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29812 if (SWIG_arg_fail(1)) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 Py_INCREF(Py_None
); resultobj
= Py_None
;
29827 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
;
29829 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29838 if (SWIG_arg_fail(1)) SWIG_fail
;
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= (bool)(arg1
)->Open();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29855 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
;
29857 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29865 if (SWIG_arg_fail(1)) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29873 Py_INCREF(Py_None
); resultobj
= Py_None
;
29880 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
;
29882 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29884 PyObject
* obj0
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29891 if (SWIG_arg_fail(1)) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29908 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29911 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 char *kwnames
[] = {
29916 (char *) "self",(char *) "data", NULL
29919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29921 if (SWIG_arg_fail(1)) SWIG_fail
;
29922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29923 if (SWIG_arg_fail(2)) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (bool)(arg1
)->AddData(arg2
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29940 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
;
29942 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29943 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 char *kwnames
[] = {
29948 (char *) "self",(char *) "data", NULL
29951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29953 if (SWIG_arg_fail(1)) SWIG_fail
;
29954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29955 if (SWIG_arg_fail(2)) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 result
= (bool)(arg1
)->SetData(arg2
);
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29972 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
;
29974 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29975 wxDataFormat
*arg2
= 0 ;
29977 PyObject
* obj0
= 0 ;
29978 PyObject
* obj1
= 0 ;
29979 char *kwnames
[] = {
29980 (char *) "self",(char *) "format", NULL
29983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail
;
29987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29989 if (arg2
== NULL
) {
29990 SWIG_null_ref("wxDataFormat");
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30010 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30013 wxDataObject
*arg2
= 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char *kwnames
[] = {
30018 (char *) "self",(char *) "data", NULL
30021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30023 if (SWIG_arg_fail(1)) SWIG_fail
;
30025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(2)) SWIG_fail
;
30027 if (arg2
== NULL
) {
30028 SWIG_null_ref("wxDataObject");
30030 if (SWIG_arg_fail(2)) SWIG_fail
;
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 result
= (bool)(arg1
)->GetData(*arg2
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30048 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
;
30050 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30051 PyObject
* obj0
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30058 if (SWIG_arg_fail(1)) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 Py_INCREF(Py_None
); resultobj
= Py_None
;
30073 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30077 PyObject
* obj0
= 0 ;
30078 char *kwnames
[] = {
30079 (char *) "self", NULL
30082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30084 if (SWIG_arg_fail(1)) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->Flush();
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30101 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30104 bool arg2
= (bool) true ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 char *kwnames
[] = {
30108 (char *) "self",(char *) "primary", NULL
30111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30113 if (SWIG_arg_fail(1)) SWIG_fail
;
30116 arg2
= (bool)(SWIG_As_bool(obj1
));
30117 if (SWIG_arg_fail(2)) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 (arg1
)->UsePrimarySelection(arg2
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 Py_INCREF(Py_None
); resultobj
= Py_None
;
30134 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30135 PyObject
*resultobj
;
30136 wxClipboard
*result
;
30137 char *kwnames
[] = {
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 result
= (wxClipboard
*)wxClipboard::Get();
30146 wxPyEndAllowThreads(__tstate
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30156 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30159 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30161 return Py_BuildValue((char *)"");
30163 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30164 PyObject
*resultobj
;
30165 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30166 wxClipboardLocker
*result
;
30167 PyObject
* obj0
= 0 ;
30168 char *kwnames
[] = {
30169 (char *) "clipboard", NULL
30172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30175 if (SWIG_arg_fail(1)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30191 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 char *kwnames
[] = {
30196 (char *) "self", NULL
30199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30201 if (SWIG_arg_fail(1)) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 Py_INCREF(Py_None
); resultobj
= Py_None
;
30216 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30217 PyObject
*resultobj
;
30218 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30220 PyObject
* obj0
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "self", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30227 if (SWIG_arg_fail(1)) SWIG_fail
;
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30244 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30247 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30249 return Py_BuildValue((char *)"");
30251 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
;
30253 int arg1
= (int) 0 ;
30254 int arg2
= (int) 0 ;
30255 int arg3
= (int) 0 ;
30256 int arg4
= (int) 0 ;
30257 wxVideoMode
*result
;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 PyObject
* obj2
= 0 ;
30261 PyObject
* obj3
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30269 arg1
= (int)(SWIG_As_int(obj0
));
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30275 arg2
= (int)(SWIG_As_int(obj1
));
30276 if (SWIG_arg_fail(2)) SWIG_fail
;
30281 arg3
= (int)(SWIG_As_int(obj2
));
30282 if (SWIG_arg_fail(3)) SWIG_fail
;
30287 arg4
= (int)(SWIG_As_int(obj3
));
30288 if (SWIG_arg_fail(4)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30305 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30308 PyObject
* obj0
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30315 if (SWIG_arg_fail(1)) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30333 wxVideoMode
*arg2
= 0 ;
30335 PyObject
* obj0
= 0 ;
30336 PyObject
* obj1
= 0 ;
30337 char *kwnames
[] = {
30338 (char *) "self",(char *) "other", NULL
30341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30343 if (SWIG_arg_fail(1)) SWIG_fail
;
30345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30346 if (SWIG_arg_fail(2)) SWIG_fail
;
30347 if (arg2
== NULL
) {
30348 SWIG_null_ref("wxVideoMode");
30350 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30368 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30372 PyObject
* obj0
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail
;
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30388 resultobj
= SWIG_From_int((int)(result
));
30396 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30400 PyObject
* obj0
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "self", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(1)) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= SWIG_From_int((int)(result
));
30424 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
;
30426 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30428 PyObject
* obj0
= 0 ;
30429 char *kwnames
[] = {
30430 (char *) "self", NULL
30433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30435 if (SWIG_arg_fail(1)) SWIG_fail
;
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_From_int((int)(result
));
30452 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
;
30454 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30456 PyObject
* obj0
= 0 ;
30457 char *kwnames
[] = {
30458 (char *) "self", NULL
30461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30463 if (SWIG_arg_fail(1)) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30480 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
;
30482 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30483 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 char *kwnames
[] = {
30488 (char *) "self",(char *) "other", NULL
30491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30493 if (SWIG_arg_fail(1)) SWIG_fail
;
30494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(2)) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30512 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
;
30514 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30515 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self",(char *) "other", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30525 if (SWIG_arg_fail(1)) SWIG_fail
;
30526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30527 if (SWIG_arg_fail(2)) SWIG_fail
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30544 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "w", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30556 if (SWIG_arg_fail(1)) SWIG_fail
;
30558 arg2
= (int)(SWIG_As_int(obj1
));
30559 if (SWIG_arg_fail(2)) SWIG_fail
;
30561 if (arg1
) (arg1
)->w
= arg2
;
30563 Py_INCREF(Py_None
); resultobj
= Py_None
;
30570 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 char *kwnames
[] = {
30576 (char *) "self", NULL
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30581 if (SWIG_arg_fail(1)) SWIG_fail
;
30582 result
= (int) ((arg1
)->w
);
30585 resultobj
= SWIG_From_int((int)(result
));
30593 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
;
30595 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30597 PyObject
* obj0
= 0 ;
30598 PyObject
* obj1
= 0 ;
30599 char *kwnames
[] = {
30600 (char *) "self",(char *) "h", NULL
30603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30605 if (SWIG_arg_fail(1)) SWIG_fail
;
30607 arg2
= (int)(SWIG_As_int(obj1
));
30608 if (SWIG_arg_fail(2)) SWIG_fail
;
30610 if (arg1
) (arg1
)->h
= arg2
;
30612 Py_INCREF(Py_None
); resultobj
= Py_None
;
30619 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30623 PyObject
* obj0
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30631 result
= (int) ((arg1
)->h
);
30634 resultobj
= SWIG_From_int((int)(result
));
30642 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30646 PyObject
* obj0
= 0 ;
30647 PyObject
* obj1
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "self",(char *) "bpp", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30654 if (SWIG_arg_fail(1)) SWIG_fail
;
30656 arg2
= (int)(SWIG_As_int(obj1
));
30657 if (SWIG_arg_fail(2)) SWIG_fail
;
30659 if (arg1
) (arg1
)->bpp
= arg2
;
30661 Py_INCREF(Py_None
); resultobj
= Py_None
;
30668 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30672 PyObject
* obj0
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail
;
30680 result
= (int) ((arg1
)->bpp
);
30683 resultobj
= SWIG_From_int((int)(result
));
30691 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "refresh", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 arg2
= (int)(SWIG_As_int(obj1
));
30706 if (SWIG_arg_fail(2)) SWIG_fail
;
30708 if (arg1
) (arg1
)->refresh
= arg2
;
30710 Py_INCREF(Py_None
); resultobj
= Py_None
;
30717 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30729 result
= (int) ((arg1
)->refresh
);
30732 resultobj
= SWIG_From_int((int)(result
));
30740 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30743 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30745 return Py_BuildValue((char *)"");
30747 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30748 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30753 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30756 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30761 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 size_t arg1
= (size_t) 0 ;
30765 PyObject
* obj0
= 0 ;
30766 char *kwnames
[] = {
30767 (char *) "index", NULL
30770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30773 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30774 if (SWIG_arg_fail(1)) SWIG_fail
;
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (wxDisplay
*)new wxDisplay(arg1
);
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30791 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30792 PyObject
*resultobj
;
30793 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30794 PyObject
* obj0
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(1)) SWIG_fail
;
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30809 Py_INCREF(Py_None
); resultobj
= Py_None
;
30816 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30817 PyObject
*resultobj
;
30819 char *kwnames
[] = {
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (size_t)wxDisplay::GetCount();
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30840 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxPoint
*arg1
= 0 ;
30845 PyObject
* obj0
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "pt", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30853 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= SWIG_From_int((int)(result
));
30871 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxWindow
*arg1
= (wxWindow
*) 0 ;
30875 PyObject
* obj0
= 0 ;
30876 char *kwnames
[] = {
30877 (char *) "window", NULL
30880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30882 if (SWIG_arg_fail(1)) SWIG_fail
;
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 result
= (int)Display_GetFromWindow(arg1
);
30887 wxPyEndAllowThreads(__tstate
);
30888 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_From_int((int)(result
));
30899 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30903 PyObject
* obj0
= 0 ;
30904 char *kwnames
[] = {
30905 (char *) "self", NULL
30908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30910 if (SWIG_arg_fail(1)) SWIG_fail
;
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30927 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
;
30929 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30931 PyObject
* obj0
= 0 ;
30932 char *kwnames
[] = {
30933 (char *) "self", NULL
30936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30938 if (SWIG_arg_fail(1)) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30947 wxRect
* resultptr
;
30948 resultptr
= new wxRect((wxRect
&)(result
));
30949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30957 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
;
30959 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30961 PyObject
* obj0
= 0 ;
30962 char *kwnames
[] = {
30963 (char *) "self", NULL
30966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30968 if (SWIG_arg_fail(1)) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 result
= ((wxDisplay
const *)arg1
)->GetName();
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30989 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30993 PyObject
* obj0
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31000 if (SWIG_arg_fail(1)) SWIG_fail
;
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31017 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31020 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31021 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char *kwnames
[] = {
31026 (char *) "self",(char *) "mode", NULL
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31031 if (SWIG_arg_fail(1)) SWIG_fail
;
31034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31035 if (SWIG_arg_fail(2)) SWIG_fail
;
31036 if (arg2
== NULL
) {
31037 SWIG_null_ref("wxVideoMode");
31039 if (SWIG_arg_fail(2)) SWIG_fail
;
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= result
;
31056 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
;
31058 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31059 wxVideoMode result
;
31060 PyObject
* obj0
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31067 if (SWIG_arg_fail(1)) SWIG_fail
;
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31076 wxVideoMode
* resultptr
;
31077 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31086 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31089 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31090 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 char *kwnames
[] = {
31095 (char *) "self",(char *) "mode", NULL
31098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail
;
31103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31104 if (SWIG_arg_fail(2)) SWIG_fail
;
31105 if (arg2
== NULL
) {
31106 SWIG_null_ref("wxVideoMode");
31108 if (SWIG_arg_fail(2)) SWIG_fail
;
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31127 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
;
31129 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31130 PyObject
* obj0
= 0 ;
31131 char *kwnames
[] = {
31132 (char *) "self", NULL
31135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31137 if (SWIG_arg_fail(1)) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 (arg1
)->ResetMode();
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 Py_INCREF(Py_None
); resultobj
= Py_None
;
31152 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31155 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31157 return Py_BuildValue((char *)"");
31159 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
;
31161 wxStandardPaths
*result
;
31162 char *kwnames
[] = {
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (wxStandardPaths
*)StandardPaths_Get();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31181 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
;
31183 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31185 PyObject
* obj0
= 0 ;
31186 char *kwnames
[] = {
31187 (char *) "self", NULL
31190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31192 if (SWIG_arg_fail(1)) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31213 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
;
31215 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31224 if (SWIG_arg_fail(1)) SWIG_fail
;
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31229 wxPyEndAllowThreads(__tstate
);
31230 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31245 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
;
31247 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31249 PyObject
* obj0
= 0 ;
31250 char *kwnames
[] = {
31251 (char *) "self", NULL
31254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31256 if (SWIG_arg_fail(1)) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31277 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
;
31279 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31281 PyObject
* obj0
= 0 ;
31282 char *kwnames
[] = {
31283 (char *) "self", NULL
31286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31288 if (SWIG_arg_fail(1)) SWIG_fail
;
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31309 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
;
31311 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31313 PyObject
* obj0
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "self", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31320 if (SWIG_arg_fail(1)) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31341 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
;
31343 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31345 PyObject
* obj0
= 0 ;
31346 char *kwnames
[] = {
31347 (char *) "self", NULL
31350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31352 if (SWIG_arg_fail(1)) SWIG_fail
;
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31373 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
;
31375 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31377 PyObject
* obj0
= 0 ;
31378 char *kwnames
[] = {
31379 (char *) "self", NULL
31382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31384 if (SWIG_arg_fail(1)) SWIG_fail
;
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31405 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
;
31407 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31408 wxString
*arg2
= 0 ;
31409 bool temp2
= false ;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 char *kwnames
[] = {
31413 (char *) "self",(char *) "prefix", NULL
31416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31418 if (SWIG_arg_fail(1)) SWIG_fail
;
31420 arg2
= wxString_in_helper(obj1
);
31421 if (arg2
== NULL
) SWIG_fail
;
31425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31426 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31431 Py_INCREF(Py_None
); resultobj
= Py_None
;
31446 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
;
31448 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31478 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31481 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31483 return Py_BuildValue((char *)"");
31485 static PyMethodDef SwigMethods
[] = {
31486 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31493 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31501 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31573 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31591 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31594 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31597 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31600 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31606 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31620 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31626 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31632 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31635 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31649 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31652 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31653 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31656 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31683 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31685 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31687 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31696 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31702 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31716 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31720 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31740 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31748 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31795 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31823 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31839 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31855 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31869 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31879 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31922 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31925 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31928 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31932 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32025 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32026 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32027 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32028 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32045 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32090 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32124 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32132 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32133 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32147 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32157 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32160 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32165 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32168 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32172 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32175 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32179 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32180 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32184 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32188 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32192 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32202 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32215 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32223 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32245 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32249 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32267 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32281 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32292 { NULL
, NULL
, 0, NULL
}
32296 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32298 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32299 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32301 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32302 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32304 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32305 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32307 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32308 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32310 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32311 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32313 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32314 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32316 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32317 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32319 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32320 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32322 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32323 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32325 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32326 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32328 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32331 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32332 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32334 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32335 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32337 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32338 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32340 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32341 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32343 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32344 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32346 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32347 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32349 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32350 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32352 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32353 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32355 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32356 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32358 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32361 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32362 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32364 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32365 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32367 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32368 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32370 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32371 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32373 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32374 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32376 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32377 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32379 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32380 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32382 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32383 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32385 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32386 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32388 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32391 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32392 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32394 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32395 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32397 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32398 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32400 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32403 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32404 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32406 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32407 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32409 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32410 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32412 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32413 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32415 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32416 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32418 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32419 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32421 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32422 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32424 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32425 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32427 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32428 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32430 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32431 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32433 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32434 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32436 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32437 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32439 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32440 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32442 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32443 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32445 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32446 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32448 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32449 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32451 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32452 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32454 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32455 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32457 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32458 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32460 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32461 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32463 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32464 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32466 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32467 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32469 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32470 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32472 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32473 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32475 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32476 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32478 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32479 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32481 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32482 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32484 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32485 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32487 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32488 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32490 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32491 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32493 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32496 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32497 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32499 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32500 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32502 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32503 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32505 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32506 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32508 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32509 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32511 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32512 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32514 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32515 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32517 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32518 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32520 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32523 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32526 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32529 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32532 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32535 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32538 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32541 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) ((wxSizer
*) x
));
32544 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32547 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32550 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32553 static void *_p_wxEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) ((wxEvent
*) x
));
32556 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32559 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32562 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32565 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32568 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32571 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32574 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32577 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32580 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32583 static void *_p_wxControlTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32586 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32589 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32592 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32595 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32598 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32601 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32604 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32607 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32610 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32613 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32616 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32619 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32622 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32625 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32628 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32631 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32634 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32637 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32640 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32643 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32646 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32649 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32652 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32655 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32658 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32661 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32664 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32667 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32670 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32673 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32676 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32679 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32682 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32685 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32688 static void *_p_wxImageTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) ((wxImage
*) x
));
32691 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32694 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32697 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32700 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32703 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32706 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32709 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32712 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32715 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32718 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32721 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32724 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32727 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32730 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32733 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32736 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32739 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32742 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32745 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32748 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32751 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32754 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32757 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32760 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32763 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32766 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32769 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32772 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32775 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32776 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32778 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32779 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32781 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32782 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32784 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32785 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32787 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32788 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32790 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32791 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32793 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32794 return (void *)((wxWindow
*) ((wxControl
*) x
));
32796 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32797 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32799 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32800 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32802 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32803 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32805 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32806 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32906 static swig_type_info
*swig_types_initial
[] = {
32907 _swigt__p_wxLogChain
,
32908 _swigt__p_wxMutexGuiLocker
,
32909 _swigt__p_wxMetafile
,
32910 _swigt__p_wxFileHistory
,
32914 _swigt__p_wxDateTime__TimeZone
,
32915 _swigt__p_wxConfigBase
,
32916 _swigt__p_wxDisplay
,
32917 _swigt__p_wxFileType
,
32918 _swigt__p_wxLogGui
,
32920 _swigt__p_wxDataFormat
,
32921 _swigt__p_wxTimerEvent
,
32924 _swigt__std__ptrdiff_t
,
32927 _swigt__p_wxClipboard
,
32928 _swigt__p_wxStopWatch
,
32930 _swigt__p_wxClipboardLocker
,
32932 _swigt__p_wxLogStderr
,
32933 _swigt__p_wxLogTextCtrl
,
32934 _swigt__p_wxTextCtrl
,
32935 _swigt__p_wxBusyCursor
,
32936 _swigt__p_wxBitmapDataObject
,
32937 _swigt__p_wxTextDataObject
,
32938 _swigt__p_wxDataObject
,
32939 _swigt__p_wxPyTextDataObject
,
32940 _swigt__p_wxPyBitmapDataObject
,
32941 _swigt__p_wxFileDataObject
,
32942 _swigt__p_wxCustomDataObject
,
32943 _swigt__p_wxURLDataObject
,
32944 _swigt__p_wxMetafileDataObject
,
32946 _swigt__p_wxTimerRunner
,
32947 _swigt__p_wxLogWindow
,
32948 _swigt__p_wxTimeSpan
,
32949 _swigt__p_wxArrayString
,
32950 _swigt__p_wxWindowDisabler
,
32951 _swigt__p_form_ops_t
,
32952 _swigt__p_wxToolTip
,
32953 _swigt__p_wxDataObjectComposite
,
32954 _swigt__p_wxSystemSettings
,
32955 _swigt__p_wxFileConfig
,
32956 _swigt__p_wxVideoMode
,
32957 _swigt__p_wxDataObjectSimple
,
32958 _swigt__p_wxPyDataObjectSimple
,
32959 _swigt__p_wxDuplexMode
,
32960 _swigt__p_wxEvtHandler
,
32963 _swigt__p_wxSingleInstanceChecker
,
32964 _swigt__p_wxStandardPaths
,
32965 _swigt__p_wxFileTypeInfo
,
32968 _swigt__p_wxPaperSize
,
32969 _swigt__p_wxMimeTypesManager
,
32970 _swigt__p_wxPyArtProvider
,
32971 _swigt__p_wxPyTipProvider
,
32972 _swigt__p_wxTipProvider
,
32973 _swigt__p_wxJoystick
,
32974 _swigt__p_wxSystemOptions
,
32976 _swigt__p_wxJoystickEvent
,
32977 _swigt__p_wxCursor
,
32978 _swigt__p_wxObject
,
32979 _swigt__p_wxOutputStream
,
32980 _swigt__p_wxDateTime
,
32981 _swigt__p_wxPyDropSource
,
32982 _swigt__p_unsigned_long
,
32983 _swigt__p_wxKillError
,
32984 _swigt__p_wxWindow
,
32985 _swigt__p_wxString
,
32986 _swigt__p_wxPyProcess
,
32987 _swigt__p_wxBitmap
,
32988 _swigt__p_wxConfig
,
32989 _swigt__unsigned_int
,
32990 _swigt__p_unsigned_int
,
32991 _swigt__p_unsigned_char
,
32993 _swigt__p_wxBusyInfo
,
32994 _swigt__p_wxPyDropTarget
,
32995 _swigt__p_wxPyTextDropTarget
,
32996 _swigt__p_wxPyFileDropTarget
,
32997 _swigt__p_wxProcessEvent
,
32999 _swigt__p_wxLogNull
,
33000 _swigt__p_wxColour
,
33001 _swigt__p_wxPyTimer
,
33002 _swigt__p_wxConfigPathChanger
,
33003 _swigt__p_wxDateSpan
,
33008 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33010 static swig_const_info swig_const_table
[] = {
33011 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33012 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33013 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33014 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33015 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33016 {0, 0, 0, 0.0, 0, 0}};
33027 /* Python-specific SWIG API */
33028 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33029 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33030 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33032 /* -----------------------------------------------------------------------------
33033 * global variable support code.
33034 * ----------------------------------------------------------------------------- */
33036 typedef struct swig_globalvar
{
33037 char *name
; /* Name of global variable */
33038 PyObject
*(*get_attr
)(); /* Return the current value */
33039 int (*set_attr
)(PyObject
*); /* Set the value */
33040 struct swig_globalvar
*next
;
33043 typedef struct swig_varlinkobject
{
33045 swig_globalvar
*vars
;
33046 } swig_varlinkobject
;
33049 swig_varlink_repr(swig_varlinkobject
*v
) {
33051 return PyString_FromString("<Swig global variables>");
33055 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33056 swig_globalvar
*var
;
33058 fprintf(fp
,"Swig global variables { ");
33059 for (var
= v
->vars
; var
; var
=var
->next
) {
33060 fprintf(fp
,"%s", var
->name
);
33061 if (var
->next
) fprintf(fp
,", ");
33063 fprintf(fp
," }\n");
33068 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33069 swig_globalvar
*var
= v
->vars
;
33071 if (strcmp(var
->name
,n
) == 0) {
33072 return (*var
->get_attr
)();
33076 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33081 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33082 swig_globalvar
*var
= v
->vars
;
33084 if (strcmp(var
->name
,n
) == 0) {
33085 return (*var
->set_attr
)(p
);
33089 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33093 static PyTypeObject varlinktype
= {
33094 PyObject_HEAD_INIT(0)
33095 0, /* Number of items in variable part (ob_size) */
33096 (char *)"swigvarlink", /* Type name (tp_name) */
33097 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33098 0, /* Itemsize (tp_itemsize) */
33099 0, /* Deallocator (tp_dealloc) */
33100 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33101 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33102 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33103 0, /* tp_compare */
33104 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33105 0, /* tp_as_number */
33106 0, /* tp_as_sequence */
33107 0, /* tp_as_mapping */
33111 0, /* tp_getattro */
33112 0, /* tp_setattro */
33113 0, /* tp_as_buffer */
33116 #if PY_VERSION_HEX >= 0x02000000
33117 0, /* tp_traverse */
33120 #if PY_VERSION_HEX >= 0x02010000
33121 0, /* tp_richcompare */
33122 0, /* tp_weaklistoffset */
33124 #if PY_VERSION_HEX >= 0x02020000
33125 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33127 #if PY_VERSION_HEX >= 0x02030000
33130 #ifdef COUNT_ALLOCS
33131 0,0,0,0 /* tp_alloc -> tp_next */
33135 /* Create a variable linking object for use later */
33137 SWIG_Python_newvarlink(void) {
33138 swig_varlinkobject
*result
= 0;
33139 result
= PyMem_NEW(swig_varlinkobject
,1);
33140 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33141 result
->ob_type
= &varlinktype
;
33143 result
->ob_refcnt
= 0;
33144 Py_XINCREF((PyObject
*) result
);
33145 return ((PyObject
*) result
);
33149 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33150 swig_varlinkobject
*v
;
33151 swig_globalvar
*gv
;
33152 v
= (swig_varlinkobject
*) p
;
33153 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33154 gv
->name
= (char *) malloc(strlen(name
)+1);
33155 strcpy(gv
->name
,name
);
33156 gv
->get_attr
= get_attr
;
33157 gv
->set_attr
= set_attr
;
33158 gv
->next
= v
->vars
;
33162 /* -----------------------------------------------------------------------------
33163 * constants/methods manipulation
33164 * ----------------------------------------------------------------------------- */
33166 /* Install Constants */
33168 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33171 for (i
= 0; constants
[i
].type
; i
++) {
33172 switch(constants
[i
].type
) {
33174 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33176 case SWIG_PY_FLOAT
:
33177 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33179 case SWIG_PY_STRING
:
33180 if (constants
[i
].pvalue
) {
33181 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33183 Py_INCREF(Py_None
);
33187 case SWIG_PY_POINTER
:
33188 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33190 case SWIG_PY_BINARY
:
33191 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33198 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33204 /* -----------------------------------------------------------------------------*/
33205 /* Fix SwigMethods to carry the callback ptrs when needed */
33206 /* -----------------------------------------------------------------------------*/
33209 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33210 swig_const_info
*const_table
,
33211 swig_type_info
**types
,
33212 swig_type_info
**types_initial
) {
33214 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33215 char *c
= methods
[i
].ml_doc
;
33216 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33218 swig_const_info
*ci
= 0;
33219 char *name
= c
+ 10;
33220 for (j
= 0; const_table
[j
].type
; j
++) {
33221 if (strncmp(const_table
[j
].name
, name
,
33222 strlen(const_table
[j
].name
)) == 0) {
33223 ci
= &(const_table
[j
]);
33228 size_t shift
= (ci
->ptype
) - types
;
33229 swig_type_info
*ty
= types_initial
[shift
];
33230 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33231 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33232 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33234 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33235 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33237 strncpy(buff
, "swig_ptr: ", 10);
33239 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33240 methods
[i
].ml_doc
= ndoc
;
33246 /* -----------------------------------------------------------------------------*
33247 * Initialize type list
33248 * -----------------------------------------------------------------------------*/
33250 #if PY_MAJOR_VERSION < 2
33251 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33252 is copied out of Python/modsupport.c in python version 2.3.4 */
33254 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33257 if (!PyModule_Check(m
)) {
33258 PyErr_SetString(PyExc_TypeError
,
33259 "PyModule_AddObject() needs module as first arg");
33263 PyErr_SetString(PyExc_TypeError
,
33264 "PyModule_AddObject() needs non-NULL value");
33268 dict
= PyModule_GetDict(m
);
33269 if (dict
== NULL
) {
33270 /* Internal error -- modules must have a dict! */
33271 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33272 PyModule_GetName(m
));
33275 if (PyDict_SetItemString(dict
, name
, o
))
33282 static swig_type_info
**
33283 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33284 static PyMethodDef swig_empty_runtime_method_table
[] = {
33286 NULL
, NULL
, 0, NULL
33290 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33291 swig_empty_runtime_method_table
);
33292 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33293 if (pointer
&& module) {
33294 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33296 return type_list_handle
;
33299 static swig_type_info
**
33300 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33301 swig_type_info
**type_pointer
;
33303 /* first check if module already created */
33304 type_pointer
= SWIG_Python_GetTypeListHandle();
33305 if (type_pointer
) {
33306 return type_pointer
;
33308 /* create a new module and variable */
33309 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33317 /* -----------------------------------------------------------------------------*
33318 * Partial Init method
33319 * -----------------------------------------------------------------------------*/
33321 #ifdef SWIG_LINK_RUNTIME
33325 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33331 SWIGEXPORT(void) SWIG_init(void) {
33332 static PyObject
*SWIG_globals
= 0;
33333 static int typeinit
= 0;
33336 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33338 /* Fix SwigMethods to carry the callback ptrs when needed */
33339 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33341 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33342 d
= PyModule_GetDict(m
);
33345 #ifdef SWIG_LINK_RUNTIME
33346 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33348 # ifndef SWIG_STATIC_RUNTIME
33349 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33352 for (i
= 0; swig_types_initial
[i
]; i
++) {
33353 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33357 SWIG_InstallConstants(d
,swig_const_table
);
33360 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33363 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33366 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33369 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33372 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33375 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33378 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33381 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33384 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33387 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33390 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33393 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33396 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33399 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33402 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33405 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33408 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33411 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33414 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33417 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33420 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33423 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33426 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33429 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33432 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33435 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33438 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33441 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33444 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33447 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33450 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33453 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33456 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33459 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33462 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33465 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33468 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33471 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33474 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33477 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33480 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33483 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33486 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33489 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33492 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33495 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33498 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33501 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33504 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33507 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33510 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33513 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33516 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33519 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33522 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33525 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33528 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33531 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33534 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33537 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33540 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33543 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33546 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33549 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33552 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33555 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33558 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33561 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33564 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33567 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33570 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33573 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33576 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33579 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33582 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33585 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33588 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33591 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33594 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33597 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33600 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33603 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33606 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33609 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33612 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33615 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33618 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33621 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33624 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33627 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33630 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33632 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33633 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33634 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33635 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33636 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33638 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33641 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33644 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33647 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33649 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33651 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33654 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33657 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33660 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33663 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33666 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33669 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33672 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33675 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33678 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33681 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33684 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33686 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33687 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33688 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33689 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33690 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33692 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33695 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33698 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33701 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33704 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33707 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33710 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33713 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33716 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33719 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33722 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33725 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33728 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33731 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33734 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33737 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33740 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33743 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33746 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33749 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33752 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33755 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33758 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33761 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33764 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33767 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33770 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33773 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33776 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33779 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33782 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33784 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33786 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33789 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33792 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33795 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33798 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33801 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33804 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33807 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33810 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33813 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33816 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33819 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33822 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33824 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33825 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33826 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33827 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33829 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33832 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33835 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33838 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33841 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33844 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33847 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33850 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33852 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33876 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33909 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33912 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33915 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33918 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33921 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33924 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33927 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33930 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33933 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33936 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33938 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33939 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33941 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33944 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33947 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33950 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33953 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33956 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33959 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33962 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33965 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33968 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33971 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33974 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33977 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33980 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33983 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33986 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33989 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33992 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33995 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33998 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34001 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34004 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34007 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34010 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34013 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34016 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34019 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34022 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34025 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34028 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34031 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34034 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34037 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34040 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34043 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34046 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34049 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34052 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34055 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34058 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34061 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34064 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34067 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34070 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34073 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34076 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34079 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34082 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34085 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34088 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34091 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34094 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34097 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34100 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34103 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34106 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34109 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34112 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34115 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34118 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34121 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34124 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34127 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34130 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34133 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34136 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34139 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34142 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34145 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34148 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34151 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34154 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34157 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34160 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34163 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34166 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34169 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34172 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34175 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34178 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34181 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34184 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34187 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34190 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34193 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34196 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34199 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34202 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34205 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34208 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34211 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34214 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34217 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34220 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34223 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34226 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34229 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34232 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34235 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34238 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34241 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34244 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34247 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34250 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34253 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34256 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34259 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34262 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34265 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34268 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34271 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34274 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34277 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34280 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34283 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34286 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34289 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34292 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34295 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34298 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34301 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34304 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34307 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34310 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34313 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34316 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34319 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34322 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34325 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34328 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34331 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34334 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34337 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34340 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34343 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34346 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34349 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34352 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34355 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34358 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34361 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34364 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34367 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34370 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34373 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34376 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34379 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34382 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34385 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34388 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34391 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34394 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34397 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34400 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34403 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34405 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34407 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34410 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34413 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34416 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34419 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34422 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34425 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34428 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34431 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34434 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34437 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34440 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34443 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34446 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34449 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34452 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34455 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34458 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34461 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34464 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34466 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34468 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34471 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34474 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34477 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34480 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34483 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34486 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34489 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34492 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34495 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34498 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34501 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34504 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34505 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34506 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34507 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34509 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);