1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxMetafile swig_types[2]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1345 #define SWIGTYPE_p_wxLog swig_types[4]
1346 #define SWIGTYPE_p_wxMenu swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1350 #define SWIGTYPE_p_wxDisplay swig_types[9]
1351 #define SWIGTYPE_p_wxFileType swig_types[10]
1352 #define SWIGTYPE_p_wxLogGui swig_types[11]
1353 #define SWIGTYPE_p_wxFont swig_types[12]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356 #define SWIGTYPE_p_wxCaret swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_p_int swig_types[18]
1360 #define SWIGTYPE_p_wxSize swig_types[19]
1361 #define SWIGTYPE_p_wxClipboard swig_types[20]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1365 #define SWIGTYPE_p_wxIcon swig_types[24]
1366 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1367 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1369 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1370 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1379 #define SWIGTYPE_p_wxSound swig_types[38]
1380 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1381 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1382 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1383 #define SWIGTYPE_p_wxArrayString swig_types[42]
1384 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxToolTip swig_types[45]
1387 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1389 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1390 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1391 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1393 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1394 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1395 #define SWIGTYPE_p_wxRect swig_types[54]
1396 #define SWIGTYPE_p_char swig_types[55]
1397 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1398 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1399 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1400 #define SWIGTYPE_p_wxFrame swig_types[59]
1401 #define SWIGTYPE_p_wxTimer swig_types[60]
1402 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1403 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1404 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1405 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1407 #define SWIGTYPE_p_wxJoystick swig_types[66]
1408 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1409 #define SWIGTYPE_p_wxPoint swig_types[68]
1410 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1411 #define SWIGTYPE_p_wxCursor swig_types[70]
1412 #define SWIGTYPE_p_wxObject swig_types[71]
1413 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1414 #define SWIGTYPE_p_wxDateTime swig_types[73]
1415 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1416 #define SWIGTYPE_p_unsigned_long swig_types[75]
1417 #define SWIGTYPE_p_wxKillError swig_types[76]
1418 #define SWIGTYPE_p_wxWindow swig_types[77]
1419 #define SWIGTYPE_p_wxString swig_types[78]
1420 #define SWIGTYPE_p_wxPyProcess swig_types[79]
1421 #define SWIGTYPE_p_wxBitmap swig_types[80]
1422 #define SWIGTYPE_p_wxConfig swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxChar swig_types[85]
1427 #define SWIGTYPE_p_wxBusyInfo swig_types[86]
1428 #define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1431 #define SWIGTYPE_p_wxProcessEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPyLog swig_types[91]
1433 #define SWIGTYPE_p_wxLogNull swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxPyTimer swig_types[94]
1436 #define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1437 #define SWIGTYPE_p_wxDateSpan swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _misc_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_misc_
1448 #define SWIG_name "_misc_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1452 #include "wx/wxPython/pyistream.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1458 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1459 #define SWIG_From_int PyInt_FromLong
1467 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1470 if (value
< min_value
) {
1472 PyErr_Format(PyExc_OverflowError
,
1473 "value %ld is less than '%s' minimum %ld",
1474 value
, errmsg
, min_value
);
1477 } else if (value
> max_value
) {
1479 PyErr_Format(PyExc_OverflowError
,
1480 "value %ld is greater than '%s' maximum %ld",
1481 value
, errmsg
, max_value
);
1490 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1492 if (PyNumber_Check(obj
)) {
1493 if (val
) *val
= PyInt_AsLong(obj
);
1497 SWIG_type_error("number", obj
);
1503 #if INT_MAX != LONG_MAX
1505 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1507 const char* errmsg
= val
? "int" : (char*)0;
1509 if (SWIG_AsVal_long(obj
, &v
)) {
1510 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1511 if (val
) *val
= (int)(v
);
1520 SWIG_type_error(errmsg
, obj
);
1526 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1528 return SWIG_AsVal_long(obj
,(long*)val
);
1534 SWIG_As_int(PyObject
* obj
)
1537 if (!SWIG_AsVal_int(obj
, &v
)) {
1539 this is needed to make valgrind/purify happier.
1541 memset((void*)&v
, 0, sizeof(int));
1548 SWIG_Check_int(PyObject
* obj
)
1550 return SWIG_AsVal_int(obj
, (int*)0);
1553 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1555 #include <wx/stockitem.h>
1557 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1558 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1559 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1561 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1562 #define SWIG_From_long PyInt_FromLong
1566 SWIGINTERNSHORT
long
1567 SWIG_As_long(PyObject
* obj
)
1570 if (!SWIG_AsVal_long(obj
, &v
)) {
1572 this is needed to make valgrind/purify happier.
1574 memset((void*)&v
, 0, sizeof(long));
1581 SWIG_Check_long(PyObject
* obj
)
1583 return SWIG_AsVal_long(obj
, (long*)0);
1588 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1590 if (obj
== Py_True
) {
1591 if (val
) *val
= true;
1594 if (obj
== Py_False
) {
1595 if (val
) *val
= false;
1599 if (SWIG_AsVal_int(obj
, &res
)) {
1600 if (val
) *val
= res
? true : false;
1606 SWIG_type_error("bool", obj
);
1612 SWIGINTERNSHORT
bool
1613 SWIG_As_bool(PyObject
* obj
)
1616 if (!SWIG_AsVal_bool(obj
, &v
)) {
1618 this is needed to make valgrind/purify happier.
1620 memset((void*)&v
, 0, sizeof(bool));
1627 SWIG_Check_bool(PyObject
* obj
)
1629 return SWIG_AsVal_bool(obj
, (bool*)0);
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1662 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1665 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1666 SWIG_type_error("unsigned number", obj
);
1669 *val
= (unsigned long)v
;
1674 SWIGINTERNSHORT
unsigned long
1675 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1678 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1680 this is needed to make valgrind/purify happier.
1682 memset((void*)&v
, 0, sizeof(unsigned long));
1689 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1691 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1695 SWIGINTERNSHORT PyObject
*
1696 SWIG_From_unsigned_SS_long(unsigned long value
)
1698 return (value
> LONG_MAX
) ?
1699 PyLong_FromUnsignedLong(value
)
1700 : PyInt_FromLong((long)(value
));
1704 bool wxThread_IsMain() {
1705 #ifdef WXP_WITH_THREAD
1706 return wxThread::IsMain();
1712 static void wxCaret_Destroy(wxCaret
*self
){
1716 #include <wx/snglinst.h>
1720 #include <wx/msw/private.h>
1721 #include <wx/dynload.h>
1726 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1737 // This one only partially works. Appears to be an undocumented
1738 // "standard" convention that not all widgets adhear to. For
1739 // example, for some widgets backgrounds or non-client areas may
1741 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1746 // This one works much better, nearly all widgets and their
1747 // children are captured correctly[**]. Prior to the big
1748 // background erase changes that Vadim did in 2004-2005 this
1749 // method failed badly on XP with Themes activated, most native
1750 // widgets draw only partially, if at all. Without themes it
1751 // worked just like on Win2k. After those changes this method
1754 // ** For example the radio buttons in a wxRadioBox are not its
1755 // children by default, but you can capture it via the panel
1756 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1757 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1758 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1759 PRF_ERASEBKGND
| PRF_OWNED
);
1765 // This one is only defined in the latest SDK and is only
1766 // available on XP. MSDN says it is similar to sending WM_PRINT
1767 // so I expect that it will work similar to the above. Since it
1768 // is avaialble only on XP, it can't be compiled like this and
1769 // will have to be loaded dynamically.
1770 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1775 // Use PrintWindow if available, or fallback to WM_PRINT
1776 // otherwise. Unfortunately using PrintWindow is even worse than
1777 // WM_PRINT. For most native widgets nothing is drawn to the dc
1778 // at all, with or without Themes.
1779 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1780 static bool s_triedToLoad
= false;
1781 static PrintWindow_t pfnPrintWindow
= NULL
;
1782 if ( !s_triedToLoad
)
1785 s_triedToLoad
= true;
1786 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1787 if ( dllUser32
.IsLoaded() )
1789 wxLogNull nolog
; // Don't report errors here
1790 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1795 //printf("Using PrintWindow\n");
1796 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1800 //printf("Using WM_PRINT\n");
1801 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1802 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1803 PRF_ERASEBKGND
| PRF_OWNED
);
1814 #include <wx/tipdlg.h>
1817 class wxPyTipProvider
: public wxTipProvider
{
1819 wxPyTipProvider(size_t currentTip
)
1820 : wxTipProvider(currentTip
) {}
1822 DEC_PYCALLBACK_STRING__pure(GetTip
);
1823 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1827 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1828 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1831 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1833 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1835 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1836 : wxTimer(owner
, id
)
1838 if (owner
== NULL
) SetOwner(this);
1842 void wxPyTimer::Notify() {
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1846 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1847 wxPyEndBlockThreads(blocked
);
1851 void wxPyTimer::base_Notify() {
1857 SWIGINTERN PyObject
*
1858 SWIG_FromCharPtr(const char* cptr
)
1861 size_t size
= strlen(cptr
);
1862 if (size
> INT_MAX
) {
1863 return SWIG_NewPointerObj((char*)(cptr
),
1864 SWIG_TypeQuery("char *"), 0);
1867 return PyString_FromStringAndSize(cptr
, size
);
1869 return PyString_FromString(cptr
);
1879 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1880 unsigned long max_value
,
1883 if (value
> max_value
) {
1885 PyErr_Format(PyExc_OverflowError
,
1886 "value %lu is greater than '%s' minimum %lu",
1887 value
, errmsg
, max_value
);
1895 #if UINT_MAX != ULONG_MAX
1897 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1899 const char* errmsg
= val
? "unsigned int" : (char*)0;
1901 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1902 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1903 if (val
) *val
= (unsigned int)(v
);
1910 SWIG_type_error(errmsg
, obj
);
1915 SWIGINTERNSHORT
unsigned int
1916 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1918 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1923 SWIGINTERNSHORT
unsigned int
1924 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1927 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1929 this is needed to make valgrind/purify happier.
1931 memset((void*)&v
, 0, sizeof(unsigned int));
1938 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1940 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1943 static wxString
Log_TimeStamp(){
1945 wxLog::TimeStamp(&msg
);
1948 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1949 // Make somce wrappers that double any % signs so they are 'escaped'
1950 void wxPyLogFatalError(const wxString
& msg
)
1953 m
.Replace(wxT("%"), wxT("%%"));
1957 void wxPyLogError(const wxString
& msg
)
1960 m
.Replace(wxT("%"), wxT("%%"));
1964 void wxPyLogWarning(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogMessage(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogInfo(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogDebug(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogVerbose(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogStatus(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2010 wxLogStatus(pFrame
, m
);
2013 void wxPyLogSysError(const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2020 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogGeneric(level
, m
);
2027 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask
, m
);
2034 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask
, m
);
2043 // A wxLog class that can be derived from in wxPython
2044 class wxPyLog
: public wxLog
{
2046 wxPyLog() : wxLog() {}
2048 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2050 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2051 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2052 PyObject
* s
= wx2PyString(szString
);
2053 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2056 wxPyEndBlockThreads(blocked
);
2058 wxLog::DoLog(level
, szString
, t
);
2061 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2064 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2065 PyObject
* s
= wx2PyString(szString
);
2066 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2069 wxPyEndBlockThreads(blocked
);
2071 wxLog::DoLogString(szString
, t
);
2080 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2083 #include <wx/joystick.h>
2086 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2087 // A C++ stub class for wxJoystick for platforms that don't have it.
2088 class wxJoystick
: public wxObject
{
2090 wxJoystick(int joystick
= wxJOYSTICK1
) {
2091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2092 PyErr_SetString(PyExc_NotImplementedError
,
2093 "wxJoystick is not available on this platform.");
2094 wxPyEndBlockThreads(blocked
);
2096 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2097 int GetZPosition() { return -1; }
2098 int GetButtonState() { return -1; }
2099 int GetPOVPosition() { return -1; }
2100 int GetPOVCTSPosition() { return -1; }
2101 int GetRudderPosition() { return -1; }
2102 int GetUPosition() { return -1; }
2103 int GetVPosition() { return -1; }
2104 int GetMovementThreshold() { return -1; }
2105 void SetMovementThreshold(int threshold
) {}
2107 bool IsOk(void) { return false; }
2108 int GetNumberJoysticks() { return -1; }
2109 int GetManufacturerId() { return -1; }
2110 int GetProductId() { return -1; }
2111 wxString
GetProductName() { return wxEmptyString
; }
2112 int GetXMin() { return -1; }
2113 int GetYMin() { return -1; }
2114 int GetZMin() { return -1; }
2115 int GetXMax() { return -1; }
2116 int GetYMax() { return -1; }
2117 int GetZMax() { return -1; }
2118 int GetNumberButtons() { return -1; }
2119 int GetNumberAxes() { return -1; }
2120 int GetMaxButtons() { return -1; }
2121 int GetMaxAxes() { return -1; }
2122 int GetPollingMin() { return -1; }
2123 int GetPollingMax() { return -1; }
2124 int GetRudderMin() { return -1; }
2125 int GetRudderMax() { return -1; }
2126 int GetUMin() { return -1; }
2127 int GetUMax() { return -1; }
2128 int GetVMin() { return -1; }
2129 int GetVMax() { return -1; }
2131 bool HasRudder() { return false; }
2132 bool HasZ() { return false; }
2133 bool HasU() { return false; }
2134 bool HasV() { return false; }
2135 bool HasPOV() { return false; }
2136 bool HasPOV4Dir() { return false; }
2137 bool HasPOVCTS() { return false; }
2139 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2140 bool ReleaseCapture() { return false; }
2145 #include <wx/sound.h>
2149 // A C++ stub class for wxWave for platforms that don't have it.
2150 class wxSound
: public wxObject
2154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2155 PyErr_SetString(PyExc_NotImplementedError
,
2156 "wxSound is not available on this platform.");
2157 wxPyEndBlockThreads(blocked
);
2159 wxSound(const wxString
&/*, bool*/) {
2160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(int, const wxByte
*) {
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2174 bool Create(const wxString
&/*, bool*/) { return false; }
2175 bool Create(int, const wxByte
*) { return false; };
2176 bool IsOk() { return false; };
2177 bool Play(unsigned) const { return false; }
2178 static bool Play(const wxString
&, unsigned) { return false; }
2179 static void Stop() {}
2184 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2185 if (fileName
.Length() == 0)
2188 return new wxSound(fileName
);
2190 static wxSound
*new_wxSound(PyObject
*data
){
2191 unsigned char* buffer
; int size
;
2192 wxSound
*sound
= NULL
;
2194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2195 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2197 sound
= new wxSound(size
, buffer
);
2199 wxPyEndBlockThreads(blocked
);
2202 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2204 unsigned char* buffer
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2211 rv
= self
->Create(size
, buffer
);
2213 wxPyEndBlockThreads(blocked
);
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 PyErr_SetString(PyExc_NotImplementedError
,
2218 "Create from data is not available on this platform.");
2219 wxPyEndBlockThreads(blocked
);
2224 #include <wx/mimetype.h>
2226 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2228 if (self
->GetMimeType(&str
))
2229 return wx2PyString(str
);
2233 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2235 if (self
->GetMimeTypes(arr
))
2236 return wxArrayString2PyList_helper(arr
);
2240 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2242 if (self
->GetExtensions(arr
))
2243 return wxArrayString2PyList_helper(arr
);
2247 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2249 if (self
->GetIcon(&loc
))
2250 return new wxIcon(loc
);
2254 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2256 if (self
->GetIcon(&loc
)) {
2257 wxString iconFile
= loc
.GetFileName();
2262 // Make a tuple and put the values in it
2263 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2264 PyObject
* tuple
= PyTuple_New(3);
2265 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2266 wxT("wxIcon"), true));
2267 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2268 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2269 wxPyEndBlockThreads(blocked
);
2275 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2277 if (self
->GetDescription(&str
))
2278 return wx2PyString(str
);
2282 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2284 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2285 return wx2PyString(str
);
2289 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2291 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 wxArrayString verbs
;
2298 wxArrayString commands
;
2299 if (self
->GetAllCommands(&verbs
, &commands
,
2300 wxFileType::MessageParameters(filename
, mimetype
))) {
2301 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2302 PyObject
* tuple
= PyTuple_New(2);
2303 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2304 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2305 wxPyEndBlockThreads(blocked
);
2311 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2312 return wxFileType::ExpandCommand(command
,
2313 wxFileType::MessageParameters(filename
, mimetype
));
2315 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2317 self
->EnumAllFileTypes(arr
);
2318 return wxArrayString2PyList_helper(arr
);
2321 #include <wx/artprov.h>
2323 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2324 static const wxString
wxPyART_MENU(wxART_MENU
);
2325 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2326 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2327 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2328 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2329 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2330 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2331 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2332 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2333 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2334 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2335 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2336 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2337 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2338 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2339 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2340 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2341 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2342 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2343 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2344 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2345 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2346 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2347 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2348 static const wxString
wxPyART_HELP(wxART_HELP
);
2349 static const wxString
wxPyART_TIP(wxART_TIP
);
2350 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2351 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2352 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2353 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2354 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2355 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2356 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2357 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2358 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2359 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2360 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2361 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2362 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2363 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2364 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2365 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2366 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2367 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2368 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2369 static const wxString
wxPyART_COPY(wxART_COPY
);
2370 static const wxString
wxPyART_CUT(wxART_CUT
);
2371 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2372 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2373 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2374 static const wxString
wxPyART_REDO(wxART_REDO
);
2375 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2376 static const wxString
wxPyART_FIND(wxART_FIND
);
2377 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2378 // Python aware wxArtProvider
2379 class wxPyArtProvider
: public wxArtProvider
{
2382 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2383 const wxArtClient
& client
,
2384 const wxSize
& size
) {
2385 wxBitmap rval
= wxNullBitmap
;
2386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2387 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2388 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2392 s1
= wx2PyString(id
);
2393 s2
= wx2PyString(client
);
2394 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2399 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2404 wxPyEndBlockThreads(blocked
);
2411 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2415 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2416 PyObject
* ret
= PyTuple_New(3);
2418 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2419 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2420 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2425 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2430 cont
= self
->GetFirstGroup(value
, index
);
2431 return __EnumerationHelper(cont
, value
, index
);
2433 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2437 cont
= self
->GetNextGroup(value
, index
);
2438 return __EnumerationHelper(cont
, value
, index
);
2440 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2445 cont
= self
->GetFirstEntry(value
, index
);
2446 return __EnumerationHelper(cont
, value
, index
);
2448 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2452 cont
= self
->GetNextEntry(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2457 self
->Read(key
, &rv
, defaultVal
);
2462 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2464 if (PyNumber_Check(obj
)) {
2465 if (val
) *val
= PyFloat_AsDouble(obj
);
2469 SWIG_type_error("number", obj
);
2475 SWIGINTERNSHORT
double
2476 SWIG_As_double(PyObject
* obj
)
2479 if (!SWIG_AsVal_double(obj
, &v
)) {
2481 this is needed to make valgrind/purify happier.
2483 memset((void*)&v
, 0, sizeof(double));
2490 SWIG_Check_double(PyObject
* obj
)
2492 return SWIG_AsVal_double(obj
, (double*)0);
2495 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2497 self
->Read(key
, &rv
, defaultVal
);
2501 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2502 #define SWIG_From_double PyFloat_FromDouble
2505 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2507 self
->Read(key
, &rv
, defaultVal
);
2511 #include <wx/datetime.h>
2513 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2514 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2516 #define LOCAL_TZ wxDateTime::Local
2518 static PyObject
*DateTime_GetAmPmStrings(){
2521 wxDateTime::GetAmPmStrings(&am
, &pm
);
2522 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2523 PyObject
* tup
= PyTuple_New(2);
2524 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2525 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2526 wxPyEndBlockThreads(blocked
);
2530 #if UINT_MAX < LONG_MAX
2531 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2535 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2536 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2540 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2541 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2542 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2543 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2544 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2545 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2546 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2547 return (*self
< *other
);
2549 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2550 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2551 return (*self
<= *other
);
2553 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2554 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2555 return (*self
> *other
);
2557 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2558 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2559 return (*self
>= *other
);
2561 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2562 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2563 return (*self
== *other
);
2565 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2566 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2567 return (*self
!= *other
);
2569 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2571 const wxChar
* _date
= date
;
2572 rv
= self
->ParseRfc822Date(_date
);
2573 if (rv
== NULL
) return -1;
2576 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2578 const wxChar
* _date
= date
;
2579 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2580 if (rv
== NULL
) return -1;
2583 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2585 const wxChar
* _datetime
= datetime
;
2586 rv
= self
->ParseDateTime(_datetime
);
2587 if (rv
== NULL
) return -1;
2588 return rv
- _datetime
;
2590 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2592 const wxChar
* _date
= date
;
2593 rv
= self
->ParseDate(_date
);
2594 if (rv
== NULL
) return -1;
2597 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2599 const wxChar
* _time
= time
;
2600 rv
= self
->ParseTime(_time
);
2601 if (rv
== NULL
) return -1;
2604 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2605 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2606 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2607 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2608 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2609 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2610 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2611 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2612 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2613 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2614 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2615 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2616 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2617 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2618 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2619 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2621 #include <wx/dataobj.h>
2623 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2624 size_t count
= self
->GetFormatCount(dir
);
2625 wxDataFormat
* formats
= new wxDataFormat
[count
];
2626 self
->GetAllFormats(formats
, dir
);
2628 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2629 PyObject
* list
= PyList_New(count
);
2630 for (size_t i
=0; i
<count
; i
++) {
2631 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2632 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2633 PyList_Append(list
, obj
);
2636 wxPyEndBlockThreads(blocked
);
2640 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2641 PyObject
* rval
= NULL
;
2642 size_t size
= self
->GetDataSize(format
);
2643 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2645 char* buf
= new char[size
];
2646 if (self
->GetDataHere(format
, buf
))
2647 rval
= PyString_FromStringAndSize(buf
, size
);
2654 wxPyEndBlockThreads(blocked
);
2657 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2659 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2660 if (PyString_Check(data
)) {
2661 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2664 // raise a TypeError if not a string
2665 PyErr_SetString(PyExc_TypeError
, "String expected.");
2668 wxPyEndBlockThreads(blocked
);
2671 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2672 PyObject
* rval
= NULL
;
2673 size_t size
= self
->GetDataSize();
2674 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2676 char* buf
= new char[size
];
2677 if (self
->GetDataHere(buf
))
2678 rval
= PyString_FromStringAndSize(buf
, size
);
2685 wxPyEndBlockThreads(blocked
);
2688 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2690 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2691 if (PyString_Check(data
)) {
2692 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2695 // raise a TypeError if not a string
2696 PyErr_SetString(PyExc_TypeError
, "String expected.");
2699 wxPyEndBlockThreads(blocked
);
2702 // Create a new class for wxPython to use
2703 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2705 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2706 : wxDataObjectSimple(format
) {}
2708 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2709 bool GetDataHere(void *buf
) const;
2710 bool SetData(size_t len
, const void *buf
) const;
2714 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2716 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2717 // We need to get the data for this object and write it to buf. I think
2718 // the best way to do this for wxPython is to have the Python method
2719 // return either a string or None and then act appropriately with the
2723 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2724 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2726 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2728 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2730 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2734 wxPyEndBlockThreads(blocked
);
2738 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2739 // For this one we simply need to make a string from buf and len
2740 // and send it to the Python method.
2742 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2743 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2744 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2745 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2748 wxPyEndBlockThreads(blocked
);
2752 // Create a new class for wxPython to use
2753 class wxPyTextDataObject
: public wxTextDataObject
{
2755 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2756 : wxTextDataObject(text
) {}
2758 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2759 DEC_PYCALLBACK_STRING__const(GetText
);
2760 DEC_PYCALLBACK__STRING(SetText
);
2764 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2765 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2766 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2769 // Create a new class for wxPython to use
2770 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2772 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2773 : wxBitmapDataObject(bitmap
) {}
2775 wxBitmap
GetBitmap() const;
2776 void SetBitmap(const wxBitmap
& bitmap
);
2780 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2781 wxBitmap
* rval
= &wxNullBitmap
;
2782 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2783 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2786 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2788 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2793 wxPyEndBlockThreads(blocked
);
2797 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2798 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2799 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2800 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2801 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2804 wxPyEndBlockThreads(blocked
);
2807 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2808 return new wxCustomDataObject(wxDataFormat(formatName
));
2810 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2813 if (PyString_Check(data
)) {
2814 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2817 // raise a TypeError if not a string
2818 PyErr_SetString(PyExc_TypeError
, "String expected.");
2821 wxPyEndBlockThreads(blocked
);
2824 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2826 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2827 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2828 wxPyEndBlockThreads(blocked
);
2832 #include <wx/metafile.h>
2835 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2838 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2839 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2841 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2842 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2845 class wxPyTextDropTarget
: public wxTextDropTarget
{
2847 wxPyTextDropTarget() {}
2849 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2851 DEC_PYCALLBACK__(OnLeave
);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2855 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2860 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2861 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2862 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2865 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2869 class wxPyFileDropTarget
: public wxFileDropTarget
{
2871 wxPyFileDropTarget() {}
2873 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2875 DEC_PYCALLBACK__(OnLeave
);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2884 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2885 const wxArrayString
& filenames
) {
2887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2888 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2889 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2893 wxPyEndBlockThreads(blocked
);
2899 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2900 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2903 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2908 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2910 #include <wx/display.h>
2912 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2913 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2915 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2917 #include <wx/dynarray.h>
2918 #include <wx/vidmode.h>
2920 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2921 #include "wx/arrimpl.cpp"
2922 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2923 const wxVideoMode wxDefaultVideoMode
;
2928 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2931 static size_t GetCount()
2932 { wxPyRaiseNotImplemented(); return 0; }
2934 static int GetFromPoint(const wxPoint
& pt
)
2935 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2936 static int GetFromWindow(wxWindow
*window
)
2937 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2939 virtual bool IsOk() const { return false; }
2940 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2941 virtual wxString
GetName() const { return wxEmptyString
; }
2942 bool IsPrimary() const { return false; }
2944 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2945 { wxArrayVideoModes a
; return a
; }
2947 virtual wxVideoMode
GetCurrentMode() const
2948 { return wxDefaultVideoMode
; }
2950 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2957 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2958 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2959 PyObject
* pyList
= NULL
;
2960 wxArrayVideoModes arr
= self
->GetModes(mode
);
2961 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2962 pyList
= PyList_New(0);
2963 for (int i
=0; i
< arr
.GetCount(); i
++) {
2964 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2965 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2966 PyList_Append(pyList
, pyObj
);
2969 wxPyEndBlockThreads(blocked
);
2973 #include <wx/stdpaths.h>
2975 static wxStandardPaths
*StandardPaths_Get(){
2976 return (wxStandardPaths
*) &wxStandardPaths::Get();
2978 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2979 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2983 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxSystemColour arg1
;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "index", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2994 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 if (!wxPyCheckForApp()) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3006 wxColour
* resultptr
;
3007 resultptr
= new wxColour((wxColour
&)(result
));
3008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3016 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "index", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3027 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3028 if (SWIG_arg_fail(1)) SWIG_fail
;
3031 if (!wxPyCheckForApp()) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3040 resultptr
= new wxFont((wxFont
&)(result
));
3041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3049 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxSystemMetric arg1
;
3052 wxWindow
*arg2
= (wxWindow
*) NULL
;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "index",(char *) "win", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3062 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3063 if (SWIG_arg_fail(1)) SWIG_fail
;
3066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3067 if (SWIG_arg_fail(2)) SWIG_fail
;
3070 if (!wxPyCheckForApp()) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 resultobj
= SWIG_From_int((int)(result
));
3086 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxSystemFeature arg1
;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "index", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3097 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3098 if (SWIG_arg_fail(1)) SWIG_fail
;
3101 if (!wxPyCheckForApp()) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3117 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxSystemScreenType result
;
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3126 if (!wxPyCheckForApp()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= SWIG_From_int((result
));
3140 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxSystemScreenType arg1
;
3143 PyObject
* obj0
= 0 ;
3145 (char *) "screen", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3150 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3151 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 if (!wxPyCheckForApp()) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 Py_INCREF(Py_None
); resultobj
= Py_None
;
3168 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3171 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3173 return Py_BuildValue((char *)"");
3175 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3176 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3181 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3186 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3188 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3195 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxSystemOptions
*result
;
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (wxSystemOptions
*)new wxSystemOptions();
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3217 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxString
*arg1
= 0 ;
3220 wxString
*arg2
= 0 ;
3221 bool temp1
= false ;
3222 bool temp2
= false ;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3226 (char *) "name",(char *) "value", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3231 arg1
= wxString_in_helper(obj0
);
3232 if (arg1
== NULL
) SWIG_fail
;
3236 arg2
= wxString_in_helper(obj1
);
3237 if (arg2
== NULL
) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxString
*arg1
= 0 ;
3274 bool temp1
= false ;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3278 (char *) "name",(char *) "value", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3283 arg1
= wxString_in_helper(obj0
);
3284 if (arg1
== NULL
) SWIG_fail
;
3288 arg2
= (int)(SWIG_As_int(obj1
));
3289 if (SWIG_arg_fail(2)) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxString
*arg1
= 0 ;
3317 bool temp1
= false ;
3318 PyObject
* obj0
= 0 ;
3320 (char *) "name", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3325 arg1
= wxString_in_helper(obj0
);
3326 if (arg1
== NULL
) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3357 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxString
*arg1
= 0 ;
3361 bool temp1
= false ;
3362 PyObject
* obj0
= 0 ;
3364 (char *) "name", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3369 arg1
= wxString_in_helper(obj0
);
3370 if (arg1
== NULL
) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= SWIG_From_int((int)(result
));
3397 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxString
*arg1
= 0 ;
3401 bool temp1
= false ;
3402 PyObject
* obj0
= 0 ;
3404 (char *) "name", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3409 arg1
= wxString_in_helper(obj0
);
3410 if (arg1
== NULL
) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3437 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxString
*arg1
= 0 ;
3441 bool temp1
= false ;
3442 PyObject
* obj0
= 0 ;
3444 (char *) "name", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3449 arg1
= wxString_in_helper(obj0
);
3450 if (arg1
== NULL
) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3477 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3480 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3482 return Py_BuildValue((char *)"");
3484 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3485 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3490 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3495 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3497 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3504 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3505 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3510 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3515 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3517 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3524 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3525 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3530 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3535 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3537 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3544 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (long)wxNewId();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3560 resultobj
= SWIG_From_long((long)(result
));
3568 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3571 PyObject
* obj0
= 0 ;
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3578 arg1
= (long)(SWIG_As_long(obj0
));
3579 if (SWIG_arg_fail(1)) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (long)wxGetCurrentId();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= SWIG_From_long((long)(result
));
3619 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3623 PyObject
* obj0
= 0 ;
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3630 arg1
= (int)(SWIG_As_int(obj0
));
3631 if (SWIG_arg_fail(1)) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 result
= (bool)wxIsStockID(arg1
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3649 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3652 wxString
*arg2
= 0 ;
3654 bool temp2
= false ;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "id",(char *) "label", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3663 arg1
= (int)(SWIG_As_int(obj0
));
3664 if (SWIG_arg_fail(1)) SWIG_fail
;
3667 arg2
= wxString_in_helper(obj1
);
3668 if (arg2
== NULL
) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3695 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3698 bool arg2
= (bool) true ;
3699 wxString arg3
= (wxString
) wxPyEmptyString
;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3703 PyObject
* obj2
= 0 ;
3705 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3710 arg1
= (int)(SWIG_As_int(obj0
));
3711 if (SWIG_arg_fail(1)) SWIG_fail
;
3715 arg2
= (bool)(SWIG_As_bool(obj1
));
3716 if (SWIG_arg_fail(2)) SWIG_fail
;
3721 wxString
* sptr
= wxString_in_helper(obj2
);
3722 if (sptr
== NULL
) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3747 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3755 if (!wxPyCheckForApp()) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 Py_INCREF(Py_None
); resultobj
= Py_None
;
3769 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3777 if (!wxPyCheckForApp()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 bool arg1
= (bool) true ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "resetTimer", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3803 arg1
= (bool)(SWIG_As_bool(obj0
));
3804 if (SWIG_arg_fail(1)) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (long)wxGetElapsedTime(arg1
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= SWIG_From_long((long)(result
));
3823 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 int *arg1
= (int *) 0 ;
3826 int *arg2
= (int *) 0 ;
3835 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3836 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3839 if (!wxPyCheckForApp()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 wxGetMousePosition(arg1
,arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3847 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3848 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3849 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3850 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3857 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (bool)wxIsBusy();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3881 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3909 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3912 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3914 bool temp1
= false ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "command", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3923 arg1
= wxString_in_helper(obj0
);
3924 if (arg1
== NULL
) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (bool)wxShell((wxString
const &)*arg1
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3952 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 int *arg1
= (int *) 0 ;
3976 int *arg2
= (int *) 0 ;
3986 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3987 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (int)wxGetOsVersion(arg1
,arg2
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= SWIG_From_int((int)(result
));
3999 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4000 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4001 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4002 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4009 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= wxGetOsDescription();
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4037 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 result
= (long)wxGetFreeMemory();
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_From_long((long)(result
));
4061 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxShutdownFlags arg1
;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "wFlags", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4072 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4073 if (SWIG_arg_fail(1)) SWIG_fail
;
4076 if (!wxPyCheckForApp()) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4092 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "secs", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4102 arg1
= (int)(SWIG_As_int(obj0
));
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 unsigned long arg1
;
4122 PyObject
* obj0
= 0 ;
4124 (char *) "milliseconds", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4129 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4130 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 Py_INCREF(Py_None
); resultobj
= Py_None
;
4146 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 unsigned long arg1
;
4149 PyObject
* obj0
= 0 ;
4151 (char *) "microseconds", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4156 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4157 if (SWIG_arg_fail(1)) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 Py_INCREF(Py_None
); resultobj
= Py_None
;
4173 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4176 PyObject
* obj0
= 0 ;
4178 (char *) "enable", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4183 arg1
= (bool)(SWIG_As_bool(obj0
));
4184 if (SWIG_arg_fail(1)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxEnableTopLevelWindows(arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 Py_INCREF(Py_None
); resultobj
= Py_None
;
4200 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxString
*arg1
= 0 ;
4204 bool temp1
= false ;
4205 PyObject
* obj0
= 0 ;
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4212 arg1
= wxString_in_helper(obj0
);
4213 if (arg1
== NULL
) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4244 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 result
= wxGetEmailAddress();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4272 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= wxGetHostName();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4300 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= wxGetFullHostName();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4328 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= wxGetUserId();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4356 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= wxGetUserName();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4384 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= wxGetHomeDir();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4412 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4415 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4417 bool temp1
= false ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "user", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4426 arg1
= wxString_in_helper(obj0
);
4427 if (arg1
== NULL
) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= wxGetUserHome((wxString
const &)*arg1
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4459 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 unsigned long result
;
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= (unsigned long)wxGetProcessId();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4475 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4483 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 Py_INCREF(Py_None
); resultobj
= Py_None
;
4504 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4507 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4508 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4509 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4514 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4515 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4516 int arg6
= (int) 0 ;
4517 wxWindow
*arg7
= (wxWindow
*) NULL
;
4518 int arg8
= (int) -1 ;
4519 int arg9
= (int) -1 ;
4521 bool temp1
= false ;
4522 bool temp2
= false ;
4523 bool temp3
= false ;
4524 bool temp4
= false ;
4525 bool temp5
= false ;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4528 PyObject
* obj2
= 0 ;
4529 PyObject
* obj3
= 0 ;
4530 PyObject
* obj4
= 0 ;
4531 PyObject
* obj5
= 0 ;
4532 PyObject
* obj6
= 0 ;
4533 PyObject
* obj7
= 0 ;
4534 PyObject
* obj8
= 0 ;
4536 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4542 arg1
= wxString_in_helper(obj0
);
4543 if (arg1
== NULL
) SWIG_fail
;
4549 arg2
= wxString_in_helper(obj1
);
4550 if (arg2
== NULL
) SWIG_fail
;
4556 arg3
= wxString_in_helper(obj2
);
4557 if (arg3
== NULL
) SWIG_fail
;
4563 arg4
= wxString_in_helper(obj3
);
4564 if (arg4
== NULL
) SWIG_fail
;
4570 arg5
= wxString_in_helper(obj4
);
4571 if (arg5
== NULL
) SWIG_fail
;
4577 arg6
= (int)(SWIG_As_int(obj5
));
4578 if (SWIG_arg_fail(6)) SWIG_fail
;
4582 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4583 if (SWIG_arg_fail(7)) SWIG_fail
;
4587 arg8
= (int)(SWIG_As_int(obj7
));
4588 if (SWIG_arg_fail(8)) SWIG_fail
;
4593 arg9
= (int)(SWIG_As_int(obj8
));
4594 if (SWIG_arg_fail(9)) SWIG_fail
;
4598 if (!wxPyCheckForApp()) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4658 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxString
*arg1
= 0 ;
4661 wxString
*arg2
= 0 ;
4662 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4663 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4664 wxWindow
*arg4
= (wxWindow
*) NULL
;
4666 bool temp1
= false ;
4667 bool temp2
= false ;
4668 bool temp3
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4674 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4679 arg1
= wxString_in_helper(obj0
);
4680 if (arg1
== NULL
) SWIG_fail
;
4684 arg2
= wxString_in_helper(obj1
);
4685 if (arg2
== NULL
) SWIG_fail
;
4690 arg3
= wxString_in_helper(obj2
);
4691 if (arg3
== NULL
) SWIG_fail
;
4696 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4697 if (SWIG_arg_fail(4)) SWIG_fail
;
4700 if (!wxPyCheckForApp()) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4744 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxString
*arg1
= 0 ;
4747 wxString
*arg2
= 0 ;
4748 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4750 wxWindow
*arg4
= (wxWindow
*) NULL
;
4752 bool temp1
= false ;
4753 bool temp2
= false ;
4754 bool temp3
= false ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4758 PyObject
* obj3
= 0 ;
4760 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4765 arg1
= wxString_in_helper(obj0
);
4766 if (arg1
== NULL
) SWIG_fail
;
4770 arg2
= wxString_in_helper(obj1
);
4771 if (arg2
== NULL
) SWIG_fail
;
4776 arg3
= wxString_in_helper(obj2
);
4777 if (arg3
== NULL
) SWIG_fail
;
4782 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4783 if (SWIG_arg_fail(4)) SWIG_fail
;
4786 if (!wxPyCheckForApp()) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4830 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4833 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4834 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4835 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4836 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4839 wxWindow
*arg5
= (wxWindow
*) NULL
;
4841 bool temp1
= false ;
4842 bool temp2
= false ;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4846 PyObject
* obj2
= 0 ;
4847 PyObject
* obj3
= 0 ;
4848 PyObject
* obj4
= 0 ;
4850 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4856 arg1
= wxString_in_helper(obj0
);
4857 if (arg1
== NULL
) SWIG_fail
;
4863 arg2
= wxString_in_helper(obj1
);
4864 if (arg2
== NULL
) SWIG_fail
;
4870 arg3
= (long)(SWIG_As_long(obj2
));
4871 if (SWIG_arg_fail(3)) SWIG_fail
;
4877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4881 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4882 if (SWIG_arg_fail(5)) SWIG_fail
;
4885 if (!wxPyCheckForApp()) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4921 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxString
*arg1
= 0 ;
4924 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4925 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4926 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4927 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4928 wxWindow
*arg4
= (wxWindow
*) NULL
;
4929 int arg5
= (int) -1 ;
4930 int arg6
= (int) -1 ;
4931 bool arg7
= (bool) true ;
4933 bool temp1
= false ;
4934 bool temp2
= false ;
4935 bool temp3
= false ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 PyObject
* obj2
= 0 ;
4939 PyObject
* obj3
= 0 ;
4940 PyObject
* obj4
= 0 ;
4941 PyObject
* obj5
= 0 ;
4942 PyObject
* obj6
= 0 ;
4944 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4949 arg1
= wxString_in_helper(obj0
);
4950 if (arg1
== NULL
) SWIG_fail
;
4955 arg2
= wxString_in_helper(obj1
);
4956 if (arg2
== NULL
) SWIG_fail
;
4962 arg3
= wxString_in_helper(obj2
);
4963 if (arg3
== NULL
) SWIG_fail
;
4968 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4969 if (SWIG_arg_fail(4)) SWIG_fail
;
4973 arg5
= (int)(SWIG_As_int(obj4
));
4974 if (SWIG_arg_fail(5)) SWIG_fail
;
4979 arg6
= (int)(SWIG_As_int(obj5
));
4980 if (SWIG_arg_fail(6)) SWIG_fail
;
4985 arg7
= (bool)(SWIG_As_bool(obj6
));
4986 if (SWIG_arg_fail(7)) SWIG_fail
;
4990 if (!wxPyCheckForApp()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5034 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxString
*arg1
= 0 ;
5037 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5038 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5041 wxWindow
*arg4
= (wxWindow
*) NULL
;
5043 bool temp1
= false ;
5044 bool temp2
= false ;
5045 bool temp3
= false ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 PyObject
* obj2
= 0 ;
5049 PyObject
* obj3
= 0 ;
5051 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5056 arg1
= wxString_in_helper(obj0
);
5057 if (arg1
== NULL
) SWIG_fail
;
5062 arg2
= wxString_in_helper(obj1
);
5063 if (arg2
== NULL
) SWIG_fail
;
5069 arg3
= wxString_in_helper(obj2
);
5070 if (arg3
== NULL
) SWIG_fail
;
5075 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5076 if (SWIG_arg_fail(4)) SWIG_fail
;
5079 if (!wxPyCheckForApp()) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5123 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
;
5125 wxString
*arg1
= 0 ;
5126 wxString
*arg2
= 0 ;
5128 wxString
*arg4
= (wxString
*) 0 ;
5129 wxWindow
*arg5
= (wxWindow
*) NULL
;
5130 int arg6
= (int) -1 ;
5131 int arg7
= (int) -1 ;
5132 bool arg8
= (bool) true ;
5133 int arg9
= (int) 150 ;
5134 int arg10
= (int) 200 ;
5136 bool temp1
= false ;
5137 bool temp2
= false ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 PyObject
* obj2
= 0 ;
5141 PyObject
* obj3
= 0 ;
5142 PyObject
* obj4
= 0 ;
5143 PyObject
* obj5
= 0 ;
5144 PyObject
* obj6
= 0 ;
5145 PyObject
* obj7
= 0 ;
5146 PyObject
* obj8
= 0 ;
5148 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5153 arg1
= wxString_in_helper(obj0
);
5154 if (arg1
== NULL
) SWIG_fail
;
5158 arg2
= wxString_in_helper(obj1
);
5159 if (arg2
== NULL
) SWIG_fail
;
5163 arg3
= PyList_Size(obj2
);
5164 arg4
= wxString_LIST_helper(obj2
);
5165 if (arg4
== NULL
) SWIG_fail
;
5168 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5169 if (SWIG_arg_fail(5)) SWIG_fail
;
5173 arg6
= (int)(SWIG_As_int(obj4
));
5174 if (SWIG_arg_fail(6)) SWIG_fail
;
5179 arg7
= (int)(SWIG_As_int(obj5
));
5180 if (SWIG_arg_fail(7)) SWIG_fail
;
5185 arg8
= (bool)(SWIG_As_bool(obj6
));
5186 if (SWIG_arg_fail(8)) SWIG_fail
;
5191 arg9
= (int)(SWIG_As_int(obj7
));
5192 if (SWIG_arg_fail(9)) SWIG_fail
;
5197 arg10
= (int)(SWIG_As_int(obj8
));
5198 if (SWIG_arg_fail(10)) SWIG_fail
;
5202 if (!wxPyCheckForApp()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5225 if (arg4
) delete [] arg4
;
5238 if (arg4
) delete [] arg4
;
5244 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxString
*arg1
= 0 ;
5247 wxString
*arg2
= 0 ;
5249 wxString
*arg4
= (wxString
*) 0 ;
5250 wxWindow
*arg5
= (wxWindow
*) NULL
;
5251 int arg6
= (int) -1 ;
5252 int arg7
= (int) -1 ;
5253 bool arg8
= (bool) true ;
5254 int arg9
= (int) 150 ;
5255 int arg10
= (int) 200 ;
5257 bool temp1
= false ;
5258 bool temp2
= false ;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5261 PyObject
* obj2
= 0 ;
5262 PyObject
* obj3
= 0 ;
5263 PyObject
* obj4
= 0 ;
5264 PyObject
* obj5
= 0 ;
5265 PyObject
* obj6
= 0 ;
5266 PyObject
* obj7
= 0 ;
5267 PyObject
* obj8
= 0 ;
5269 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5274 arg1
= wxString_in_helper(obj0
);
5275 if (arg1
== NULL
) SWIG_fail
;
5279 arg2
= wxString_in_helper(obj1
);
5280 if (arg2
== NULL
) SWIG_fail
;
5284 arg3
= PyList_Size(obj2
);
5285 arg4
= wxString_LIST_helper(obj2
);
5286 if (arg4
== NULL
) SWIG_fail
;
5289 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5290 if (SWIG_arg_fail(5)) SWIG_fail
;
5294 arg6
= (int)(SWIG_As_int(obj4
));
5295 if (SWIG_arg_fail(6)) SWIG_fail
;
5300 arg7
= (int)(SWIG_As_int(obj5
));
5301 if (SWIG_arg_fail(7)) SWIG_fail
;
5306 arg8
= (bool)(SWIG_As_bool(obj6
));
5307 if (SWIG_arg_fail(8)) SWIG_fail
;
5312 arg9
= (int)(SWIG_As_int(obj7
));
5313 if (SWIG_arg_fail(9)) SWIG_fail
;
5318 arg10
= (int)(SWIG_As_int(obj8
));
5319 if (SWIG_arg_fail(10)) SWIG_fail
;
5323 if (!wxPyCheckForApp()) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_From_int((int)(result
));
5342 if (arg4
) delete [] arg4
;
5355 if (arg4
) delete [] arg4
;
5361 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxString
*arg1
= 0 ;
5364 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5365 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5366 int arg3
= (int) wxOK
|wxCENTRE
;
5367 wxWindow
*arg4
= (wxWindow
*) NULL
;
5368 int arg5
= (int) -1 ;
5369 int arg6
= (int) -1 ;
5371 bool temp1
= false ;
5372 bool temp2
= false ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5375 PyObject
* obj2
= 0 ;
5376 PyObject
* obj3
= 0 ;
5377 PyObject
* obj4
= 0 ;
5378 PyObject
* obj5
= 0 ;
5380 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5385 arg1
= wxString_in_helper(obj0
);
5386 if (arg1
== NULL
) SWIG_fail
;
5391 arg2
= wxString_in_helper(obj1
);
5392 if (arg2
== NULL
) SWIG_fail
;
5398 arg3
= (int)(SWIG_As_int(obj2
));
5399 if (SWIG_arg_fail(3)) SWIG_fail
;
5403 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5404 if (SWIG_arg_fail(4)) SWIG_fail
;
5408 arg5
= (int)(SWIG_As_int(obj4
));
5409 if (SWIG_arg_fail(5)) SWIG_fail
;
5414 arg6
= (int)(SWIG_As_int(obj5
));
5415 if (SWIG_arg_fail(6)) SWIG_fail
;
5419 if (!wxPyCheckForApp()) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_From_int((int)(result
));
5451 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxString
*arg1
= 0 ;
5454 wxString
*arg2
= 0 ;
5455 wxString
*arg3
= 0 ;
5457 long arg5
= (long) 0 ;
5458 long arg6
= (long) 100 ;
5459 wxWindow
*arg7
= (wxWindow
*) NULL
;
5460 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5461 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5463 bool temp1
= false ;
5464 bool temp2
= false ;
5465 bool temp3
= false ;
5467 PyObject
* obj0
= 0 ;
5468 PyObject
* obj1
= 0 ;
5469 PyObject
* obj2
= 0 ;
5470 PyObject
* obj3
= 0 ;
5471 PyObject
* obj4
= 0 ;
5472 PyObject
* obj5
= 0 ;
5473 PyObject
* obj6
= 0 ;
5474 PyObject
* obj7
= 0 ;
5476 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5481 arg1
= wxString_in_helper(obj0
);
5482 if (arg1
== NULL
) SWIG_fail
;
5486 arg2
= wxString_in_helper(obj1
);
5487 if (arg2
== NULL
) SWIG_fail
;
5491 arg3
= wxString_in_helper(obj2
);
5492 if (arg3
== NULL
) SWIG_fail
;
5496 arg4
= (long)(SWIG_As_long(obj3
));
5497 if (SWIG_arg_fail(4)) SWIG_fail
;
5501 arg5
= (long)(SWIG_As_long(obj4
));
5502 if (SWIG_arg_fail(5)) SWIG_fail
;
5507 arg6
= (long)(SWIG_As_long(obj5
));
5508 if (SWIG_arg_fail(6)) SWIG_fail
;
5512 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5513 if (SWIG_arg_fail(7)) SWIG_fail
;
5518 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5522 if (!wxPyCheckForApp()) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_From_long((long)(result
));
5562 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5571 if (!wxPyCheckForApp()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (bool)wxColourDisplay();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5587 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5596 if (!wxPyCheckForApp()) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (int)wxDisplayDepth();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_From_int((int)(result
));
5612 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5621 if (!wxPyCheckForApp()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (int)wxGetDisplayDepth();
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_From_int((int)(result
));
5637 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 int *arg1
= (int *) 0 ;
5640 int *arg2
= (int *) 0 ;
5649 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5650 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5653 if (!wxPyCheckForApp()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 wxDisplaySize(arg1
,arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5662 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5663 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5664 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5671 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5680 if (!wxPyCheckForApp()) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= wxGetDisplaySize();
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5689 resultptr
= new wxSize((wxSize
&)(result
));
5690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5698 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 int *arg1
= (int *) 0 ;
5701 int *arg2
= (int *) 0 ;
5710 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5711 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5714 if (!wxPyCheckForApp()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 wxDisplaySizeMM(arg1
,arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 Py_INCREF(Py_None
); resultobj
= Py_None
;
5722 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5723 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5724 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5725 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5732 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5741 if (!wxPyCheckForApp()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= wxGetDisplaySizeMM();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5750 resultptr
= new wxSize((wxSize
&)(result
));
5751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5759 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 int *arg1
= (int *) 0 ;
5762 int *arg2
= (int *) 0 ;
5763 int *arg3
= (int *) 0 ;
5764 int *arg4
= (int *) 0 ;
5777 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5778 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5779 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5780 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5783 if (!wxPyCheckForApp()) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5791 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5792 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5793 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5794 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5795 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5796 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5797 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5798 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5805 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5814 if (!wxPyCheckForApp()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= wxGetClientDisplayRect();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5823 resultptr
= new wxRect((wxRect
&)(result
));
5824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5832 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxCursor
*arg1
= 0 ;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "cursor", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5845 SWIG_null_ref("wxCursor");
5847 if (SWIG_arg_fail(1)) SWIG_fail
;
5850 if (!wxPyCheckForApp()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "cursor", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail
;
5878 if (!wxPyCheckForApp()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 wxBeginBusyCursor(arg1
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5901 if (!wxPyCheckForApp()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (wxWindow
*)wxGetActiveWindow();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= wxPyMake_wxObject(result
, 0);
5917 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5922 PyObject
* obj0
= 0 ;
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5930 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5933 if (!wxPyCheckForApp()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= wxPyMake_wxObject(result
, 0);
5949 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5954 PyObject
* obj0
= 0 ;
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5962 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5965 if (!wxPyCheckForApp()) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= wxPyMake_wxObject(result
, 0);
5981 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxWindow
*arg1
= (wxWindow
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "win", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5992 if (SWIG_arg_fail(1)) SWIG_fail
;
5994 if (!wxPyCheckForApp()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= wxPyMake_wxObject(result
, 0);
6010 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "key", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6021 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6022 if (SWIG_arg_fail(1)) SWIG_fail
;
6025 if (!wxPyCheckForApp()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6049 if (!wxPyCheckForApp()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxWakeUpMainThread();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 Py_INCREF(Py_None
); resultobj
= Py_None
;
6063 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6071 if (!wxPyCheckForApp()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6093 if (!wxPyCheckForApp()) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 Py_INCREF(Py_None
); resultobj
= Py_None
;
6107 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxMutexGuiLocker
*result
;
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6116 if (!wxPyCheckForApp()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6130 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6140 if (SWIG_arg_fail(1)) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6158 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6160 return Py_BuildValue((char *)"");
6162 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (bool)wxThread_IsMain();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6186 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxString
*arg1
= 0 ;
6190 bool temp1
= false ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "tip", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6198 arg1
= wxString_in_helper(obj0
);
6199 if (arg1
== NULL
) SWIG_fail
;
6203 if (!wxPyCheckForApp()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= wxPyMake_wxObject(result
, 1);
6227 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6230 wxString
*arg2
= 0 ;
6231 bool temp2
= false ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6235 (char *) "self",(char *) "tip", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail
;
6242 arg2
= wxString_in_helper(obj1
);
6243 if (arg2
== NULL
) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 (arg1
)->SetTip((wxString
const &)*arg2
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6268 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (arg1
)->GetTip();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6300 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6311 if (SWIG_arg_fail(1)) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (wxWindow
*)(arg1
)->GetWindow();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= wxPyMake_wxObject(result
, 0);
6328 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "flag", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6338 arg1
= (bool)(SWIG_As_bool(obj0
));
6339 if (SWIG_arg_fail(1)) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 wxToolTip::Enable(arg1
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 Py_INCREF(Py_None
); resultobj
= Py_None
;
6355 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "milliseconds", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6365 arg1
= (long)(SWIG_As_long(obj0
));
6366 if (SWIG_arg_fail(1)) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 wxToolTip::SetDelay(arg1
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 Py_INCREF(Py_None
); resultobj
= Py_None
;
6382 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6385 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6387 return Py_BuildValue((char *)"");
6389 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxWindow
*arg1
= (wxWindow
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "window",(char *) "size", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6403 if (SWIG_arg_fail(1)) SWIG_fail
;
6406 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6409 if (!wxPyCheckForApp()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6423 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxCaret
*arg1
= (wxCaret
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6433 if (SWIG_arg_fail(1)) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxCaret_Destroy(arg1
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6448 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxCaret
*arg1
= (wxCaret
*) 0 ;
6452 PyObject
* obj0
= 0 ;
6454 (char *) "self", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6459 if (SWIG_arg_fail(1)) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)(arg1
)->IsOk();
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6476 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxCaret
*arg1
= (wxCaret
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6482 (char *) "self", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6487 if (SWIG_arg_fail(1)) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)(arg1
)->IsVisible();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxCaret
*arg1
= (wxCaret
*) 0 ;
6508 PyObject
* obj0
= 0 ;
6510 (char *) "self", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6515 if (SWIG_arg_fail(1)) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (arg1
)->GetPosition();
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 wxPoint
* resultptr
;
6525 resultptr
= new wxPoint((wxPoint
&)(result
));
6526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6534 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxCaret
*arg1
= (wxCaret
*) 0 ;
6537 int *arg2
= (int *) 0 ;
6538 int *arg3
= (int *) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6549 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6552 if (SWIG_arg_fail(1)) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 (arg1
)->GetPosition(arg2
,arg3
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 Py_INCREF(Py_None
); resultobj
= Py_None
;
6561 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6562 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6563 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6564 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6571 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxCaret
*arg1
= (wxCaret
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6577 (char *) "self", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6582 if (SWIG_arg_fail(1)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (arg1
)->GetSize();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6592 resultptr
= new wxSize((wxSize
&)(result
));
6593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6601 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxCaret
*arg1
= (wxCaret
*) 0 ;
6604 int *arg2
= (int *) 0 ;
6605 int *arg3
= (int *) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6616 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->GetSize(arg2
,arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6628 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6629 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6630 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6631 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6638 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxCaret
*arg1
= (wxCaret
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6644 (char *) "self", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6649 if (SWIG_arg_fail(1)) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxWindow
*)(arg1
)->GetWindow();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= wxPyMake_wxObject(result
, 0);
6666 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxCaret
*arg1
= (wxCaret
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6673 PyObject
* obj2
= 0 ;
6675 (char *) "self",(char *) "x",(char *) "y", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6680 if (SWIG_arg_fail(1)) SWIG_fail
;
6682 arg2
= (int)(SWIG_As_int(obj1
));
6683 if (SWIG_arg_fail(2)) SWIG_fail
;
6686 arg3
= (int)(SWIG_As_int(obj2
));
6687 if (SWIG_arg_fail(3)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 (arg1
)->Move(arg2
,arg3
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxCaret
*arg1
= (wxCaret
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6711 (char *) "self",(char *) "pt", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 (arg1
)->Move((wxPoint
const &)*arg2
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxCaret
*arg1
= (wxCaret
*) 0 ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6742 PyObject
* obj2
= 0 ;
6744 (char *) "self",(char *) "width",(char *) "height", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6749 if (SWIG_arg_fail(1)) SWIG_fail
;
6751 arg2
= (int)(SWIG_As_int(obj1
));
6752 if (SWIG_arg_fail(2)) SWIG_fail
;
6755 arg3
= (int)(SWIG_As_int(obj2
));
6756 if (SWIG_arg_fail(3)) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 (arg1
)->SetSize(arg2
,arg3
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6772 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxCaret
*arg1
= (wxCaret
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "size", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6785 if (SWIG_arg_fail(1)) SWIG_fail
;
6788 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 (arg1
)->SetSize((wxSize
const &)*arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxCaret
*arg1
= (wxCaret
*) 0 ;
6807 int arg2
= (int) true ;
6808 PyObject
* obj0
= 0 ;
6809 PyObject
* obj1
= 0 ;
6811 (char *) "self",(char *) "show", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6816 if (SWIG_arg_fail(1)) SWIG_fail
;
6819 arg2
= (int)(SWIG_As_int(obj1
));
6820 if (SWIG_arg_fail(2)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 Py_INCREF(Py_None
); resultobj
= Py_None
;
6837 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxCaret
*arg1
= (wxCaret
*) 0 ;
6840 PyObject
* obj0
= 0 ;
6842 (char *) "self", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6847 if (SWIG_arg_fail(1)) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6862 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (int)wxCaret::GetBlinkTime();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_From_int((int)(result
));
6886 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "milliseconds", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6896 arg1
= (int)(SWIG_As_int(obj0
));
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxCaret::SetBlinkTime(arg1
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6916 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6918 return Py_BuildValue((char *)"");
6920 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6923 wxBusyCursor
*result
;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "cursor", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail
;
6935 if (!wxPyCheckForApp()) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6949 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "self", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 Py_INCREF(Py_None
); resultobj
= Py_None
;
6974 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6977 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6979 return Py_BuildValue((char *)"");
6981 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxWindow
*arg1
= (wxWindow
*) NULL
;
6984 wxWindowDisabler
*result
;
6985 PyObject
* obj0
= 0 ;
6987 (char *) "winToSkip", NULL
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6993 if (SWIG_arg_fail(1)) SWIG_fail
;
6996 if (!wxPyCheckForApp()) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7010 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "self", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7038 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7040 return Py_BuildValue((char *)"");
7042 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxString
*arg1
= 0 ;
7046 bool temp1
= false ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "message", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7054 arg1
= wxString_in_helper(obj0
);
7055 if (arg1
== NULL
) SWIG_fail
;
7059 if (!wxPyCheckForApp()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7081 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7086 (char *) "self", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7091 if (SWIG_arg_fail(1)) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7106 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7109 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7111 return Py_BuildValue((char *)"");
7113 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxStopWatch
*result
;
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (wxStopWatch
*)new wxStopWatch();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7135 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7138 long arg2
= (long) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7142 (char *) "self",(char *) "t0", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7150 arg2
= (long)(SWIG_As_long(obj1
));
7151 if (SWIG_arg_fail(2)) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->Start(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 Py_INCREF(Py_None
); resultobj
= Py_None
;
7168 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7203 if (SWIG_arg_fail(1)) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_From_long((long)(result
));
7246 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7249 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7251 return Py_BuildValue((char *)"");
7253 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 int arg1
= (int) 9 ;
7256 int arg2
= (int) wxID_FILE1
;
7257 wxFileHistory
*result
;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7261 (char *) "maxFiles",(char *) "idBase", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 arg1
= (int)(SWIG_As_int(obj0
));
7268 if (SWIG_arg_fail(1)) SWIG_fail
;
7273 arg2
= (int)(SWIG_As_int(obj1
));
7274 if (SWIG_arg_fail(2)) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7291 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7301 if (SWIG_arg_fail(1)) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7319 wxString
*arg2
= 0 ;
7320 bool temp2
= false ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "file", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7329 if (SWIG_arg_fail(1)) SWIG_fail
;
7331 arg2
= wxString_in_helper(obj1
);
7332 if (arg2
== NULL
) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "i", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 arg2
= (int)(SWIG_As_int(obj1
));
7372 if (SWIG_arg_fail(2)) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 (arg1
)->RemoveFileFromHistory(arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 Py_INCREF(Py_None
); resultobj
= Py_None
;
7388 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_From_int((int)(result
));
7416 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7419 wxMenu
*arg2
= (wxMenu
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7421 PyObject
* obj1
= 0 ;
7423 (char *) "self",(char *) "menu", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7428 if (SWIG_arg_fail(1)) SWIG_fail
;
7429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7430 if (SWIG_arg_fail(2)) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 (arg1
)->UseMenu(arg2
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7448 wxMenu
*arg2
= (wxMenu
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7452 (char *) "self",(char *) "menu", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7457 if (SWIG_arg_fail(1)) SWIG_fail
;
7458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(2)) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 (arg1
)->RemoveMenu(arg2
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7477 wxConfigBase
*arg2
= 0 ;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7481 (char *) "self",(char *) "config", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7486 if (SWIG_arg_fail(1)) SWIG_fail
;
7488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7489 if (SWIG_arg_fail(2)) SWIG_fail
;
7491 SWIG_null_ref("wxConfigBase");
7493 if (SWIG_arg_fail(2)) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->Load(*arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7512 wxConfigBase
*arg2
= 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7516 (char *) "self",(char *) "config", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7521 if (SWIG_arg_fail(1)) SWIG_fail
;
7523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7524 if (SWIG_arg_fail(2)) SWIG_fail
;
7526 SWIG_null_ref("wxConfigBase");
7528 if (SWIG_arg_fail(2)) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->Save(*arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7549 (char *) "self", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7554 if (SWIG_arg_fail(1)) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->AddFilesToMenu();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7572 wxMenu
*arg2
= (wxMenu
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "self",(char *) "menu", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail
;
7582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(2)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 (arg1
)->AddFilesToMenu(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7603 PyObject
* obj0
= 0 ;
7604 PyObject
* obj1
= 0 ;
7606 (char *) "self",(char *) "i", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7611 if (SWIG_arg_fail(1)) SWIG_fail
;
7613 arg2
= (int)(SWIG_As_int(obj1
));
7614 if (SWIG_arg_fail(2)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7636 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7647 if (SWIG_arg_fail(1)) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_From_int((int)(result
));
7664 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7667 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7669 return Py_BuildValue((char *)"");
7671 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxString
*arg1
= 0 ;
7674 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7675 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7676 wxSingleInstanceChecker
*result
;
7677 bool temp1
= false ;
7678 bool temp2
= false ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7682 (char *) "name",(char *) "path", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7687 arg1
= wxString_in_helper(obj0
);
7688 if (arg1
== NULL
) SWIG_fail
;
7693 arg2
= wxString_in_helper(obj1
);
7694 if (arg2
== NULL
) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7728 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxSingleInstanceChecker
*result
;
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7750 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7778 wxString
*arg2
= 0 ;
7779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7782 bool temp2
= false ;
7783 bool temp3
= false ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7786 PyObject
* obj2
= 0 ;
7788 (char *) "self",(char *) "name",(char *) "path", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail
;
7795 arg2
= wxString_in_helper(obj1
);
7796 if (arg2
== NULL
) SWIG_fail
;
7801 arg3
= wxString_in_helper(obj2
);
7802 if (arg3
== NULL
) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7866 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7869 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7871 return Py_BuildValue((char *)"");
7873 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxWindow
*arg1
= (wxWindow
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7881 (char *) "window",(char *) "dc", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7889 if (SWIG_arg_fail(2)) SWIG_fail
;
7891 SWIG_null_ref("wxDC");
7893 if (SWIG_arg_fail(2)) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7911 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "self", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7921 if (SWIG_arg_fail(1)) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 Py_INCREF(Py_None
); resultobj
= Py_None
;
7936 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (arg1
)->GetTip();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7968 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7974 (char *) "self", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (size_t)(arg1
)->GetCurrentTip();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7996 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7999 wxString
*arg2
= 0 ;
8001 bool temp2
= false ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "tip", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail
;
8012 arg2
= wxString_in_helper(obj1
);
8013 if (arg2
== NULL
) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8044 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8047 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8049 return Py_BuildValue((char *)"");
8051 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8054 wxPyTipProvider
*result
;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "currentTip", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8062 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8063 if (SWIG_arg_fail(1)) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8079 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8082 PyObject
*arg2
= (PyObject
*) 0 ;
8083 PyObject
*arg3
= (PyObject
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8088 (char *) "self",(char *) "self",(char *) "_class", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8110 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8113 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8115 return Py_BuildValue((char *)"");
8117 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxWindow
*arg1
= (wxWindow
*) 0 ;
8120 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8121 bool arg3
= (bool) true ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8127 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8132 if (SWIG_arg_fail(1)) SWIG_fail
;
8133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8134 if (SWIG_arg_fail(2)) SWIG_fail
;
8137 arg3
= (bool)(SWIG_As_bool(obj2
));
8138 if (SWIG_arg_fail(3)) SWIG_fail
;
8142 if (!wxPyCheckForApp()) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8158 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxString
*arg1
= 0 ;
8162 wxTipProvider
*result
;
8163 bool temp1
= false ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8167 (char *) "filename",(char *) "currentTip", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8172 arg1
= wxString_in_helper(obj0
);
8173 if (arg1
== NULL
) SWIG_fail
;
8177 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8178 if (SWIG_arg_fail(2)) SWIG_fail
;
8181 if (!wxPyCheckForApp()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8203 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8206 int arg2
= (int) -1 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "owner",(char *) "id", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail
;
8221 arg2
= (int)(SWIG_As_int(obj1
));
8222 if (SWIG_arg_fail(2)) SWIG_fail
;
8226 if (!wxPyCheckForApp()) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8240 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8243 PyObject
* obj0
= 0 ;
8245 (char *) "self", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8250 if (SWIG_arg_fail(1)) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8268 PyObject
*arg2
= (PyObject
*) 0 ;
8269 PyObject
*arg3
= (PyObject
*) 0 ;
8270 int arg4
= (int) 1 ;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8273 PyObject
* obj2
= 0 ;
8274 PyObject
* obj3
= 0 ;
8276 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8281 if (SWIG_arg_fail(1)) SWIG_fail
;
8286 arg4
= (int)(SWIG_As_int(obj3
));
8287 if (SWIG_arg_fail(4)) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8304 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8307 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8308 int arg3
= (int) -1 ;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8311 PyObject
* obj2
= 0 ;
8313 (char *) "self",(char *) "owner",(char *) "id", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8318 if (SWIG_arg_fail(1)) SWIG_fail
;
8319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(2)) SWIG_fail
;
8323 arg3
= (int)(SWIG_As_int(obj2
));
8324 if (SWIG_arg_fail(3)) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 (arg1
)->SetOwner(arg2
,arg3
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8344 wxEvtHandler
*result
;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "self", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= wxPyMake_wxObject(result
, 0);
8369 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8372 int arg2
= (int) -1 ;
8373 bool arg3
= (bool) false ;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8377 PyObject
* obj2
= 0 ;
8379 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8384 if (SWIG_arg_fail(1)) SWIG_fail
;
8387 arg2
= (int)(SWIG_As_int(obj1
));
8388 if (SWIG_arg_fail(2)) SWIG_fail
;
8393 arg3
= (bool)(SWIG_As_bool(obj2
));
8394 if (SWIG_arg_fail(3)) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8413 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8423 if (SWIG_arg_fail(1)) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8449 if (SWIG_arg_fail(1)) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8466 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "self", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_From_int((int)(result
));
8494 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8505 if (SWIG_arg_fail(1)) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8522 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_From_int((int)(result
));
8550 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8553 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8555 return Py_BuildValue((char *)"");
8557 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 int arg1
= (int) 0 ;
8560 int arg2
= (int) 0 ;
8561 wxTimerEvent
*result
;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8565 (char *) "timerid",(char *) "interval", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8571 arg1
= (int)(SWIG_As_int(obj0
));
8572 if (SWIG_arg_fail(1)) SWIG_fail
;
8577 arg2
= (int)(SWIG_As_int(obj1
));
8578 if (SWIG_arg_fail(2)) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8595 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8606 if (SWIG_arg_fail(1)) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= SWIG_From_int((int)(result
));
8623 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8626 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8628 return Py_BuildValue((char *)"");
8630 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8631 PyObject
*resultobj
;
8633 wxTimerRunner
*result
;
8634 PyObject
* obj0
= 0 ;
8636 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8639 if (SWIG_arg_fail(1)) SWIG_fail
;
8641 SWIG_null_ref("wxTimer");
8643 if (SWIG_arg_fail(1)) SWIG_fail
;
8646 if (!wxPyCheckForApp()) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8660 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8661 PyObject
*resultobj
;
8664 bool arg3
= (bool) false ;
8665 wxTimerRunner
*result
;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8668 PyObject
* obj2
= 0 ;
8670 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8673 if (SWIG_arg_fail(1)) SWIG_fail
;
8675 SWIG_null_ref("wxTimer");
8677 if (SWIG_arg_fail(1)) SWIG_fail
;
8680 arg2
= (int)(SWIG_As_int(obj1
));
8681 if (SWIG_arg_fail(2)) SWIG_fail
;
8685 arg3
= (bool)(SWIG_As_bool(obj2
));
8686 if (SWIG_arg_fail(3)) SWIG_fail
;
8690 if (!wxPyCheckForApp()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8704 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8709 argc
= PyObject_Length(args
);
8710 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8711 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8717 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8725 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8728 if ((argc
>= 2) && (argc
<= 3)) {
8732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8740 _v
= SWIG_Check_int(argv
[1]);
8743 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8745 _v
= SWIG_Check_bool(argv
[2]);
8747 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8753 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8758 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8787 bool arg3
= (bool) false ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 PyObject
* obj2
= 0 ;
8792 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 arg2
= (int)(SWIG_As_int(obj1
));
8800 if (SWIG_arg_fail(2)) SWIG_fail
;
8804 arg3
= (bool)(SWIG_As_bool(obj2
));
8805 if (SWIG_arg_fail(3)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->Start(arg2
,arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8827 return Py_BuildValue((char *)"");
8829 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxLog
*)new wxLog();
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8851 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)wxLog::IsEnabled();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 bool arg1
= (bool) true ;
8879 PyObject
* obj0
= 0 ;
8881 (char *) "doIt", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8887 arg1
= (bool)(SWIG_As_bool(obj0
));
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (bool)wxLog::EnableLogging(arg1
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8907 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8910 wxChar
*arg2
= (wxChar
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8914 PyObject
* obj2
= 0 ;
8916 (char *) "level",(char *) "szString",(char *) "t", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8921 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8922 if (SWIG_arg_fail(1)) SWIG_fail
;
8924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(2)) SWIG_fail
;
8927 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8928 if (SWIG_arg_fail(3)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxLog
*arg1
= (wxLog
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8954 if (SWIG_arg_fail(1)) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 wxLog::FlushActive();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8990 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (wxLog
*)wxLog::GetActiveTarget();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9012 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxLog
*arg1
= (wxLog
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "pLogger", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9023 if (SWIG_arg_fail(1)) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9038 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 Py_INCREF(Py_None
); resultobj
= Py_None
;
9059 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 bool arg1
= (bool) true ;
9083 PyObject
* obj0
= 0 ;
9085 (char *) "bVerbose", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9091 arg1
= (bool)(SWIG_As_bool(obj0
));
9092 if (SWIG_arg_fail(1)) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 wxLog::SetVerbose(arg1
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9112 PyObject
* obj0
= 0 ;
9114 (char *) "logLevel", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9119 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9120 if (SWIG_arg_fail(1)) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 wxLog::SetLogLevel(arg1
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 Py_INCREF(Py_None
); resultobj
= Py_None
;
9136 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 wxLog::DontCreateOnDemand();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "ulMask", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9167 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxLog::SetTraceMask(arg1
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxString
*arg1
= 0 ;
9187 bool temp1
= false ;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "str", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9195 arg1
= wxString_in_helper(obj0
);
9196 if (arg1
== NULL
) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 wxLog::AddTraceMask((wxString
const &)*arg1
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxString
*arg1
= 0 ;
9224 bool temp1
= false ;
9225 PyObject
* obj0
= 0 ;
9227 (char *) "str", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9232 arg1
= wxString_in_helper(obj0
);
9233 if (arg1
== NULL
) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 wxLog::ClearTraceMasks();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 Py_INCREF(Py_None
); resultobj
= Py_None
;
9279 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxArrayString
*result
;
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9291 result
= (wxArrayString
*) &_result_ref
;
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= wxArrayString2PyList_helper(*result
);
9306 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxChar
*arg1
= (wxChar
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxLog::SetTimestamp((wxChar
const *)arg1
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 Py_INCREF(Py_None
); resultobj
= Py_None
;
9331 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (bool)wxLog::GetVerbose();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9355 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (wxTraceMask
)wxLog::GetTraceMask();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9379 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxChar
*arg1
= (wxChar
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "mask", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9390 if (SWIG_arg_fail(1)) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9407 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (wxLogLevel
)wxLog::GetLogLevel();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9431 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (wxChar
*)wxLog::GetTimestamp();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9453 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= Log_TimeStamp();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9481 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxLog
*arg1
= (wxLog
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 wxLog_Destroy(arg1
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 Py_INCREF(Py_None
); resultobj
= Py_None
;
9506 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9509 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9511 return Py_BuildValue((char *)"");
9513 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxLogStderr
*result
;
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (wxLogStderr
*)new wxLogStderr();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9535 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9538 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9540 return Py_BuildValue((char *)"");
9542 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9545 wxLogTextCtrl
*result
;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "pTextCtrl", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9553 if (SWIG_arg_fail(1)) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9568 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9571 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9573 return Py_BuildValue((char *)"");
9575 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (wxLogGui
*)new wxLogGui();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9597 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9600 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9602 return Py_BuildValue((char *)"");
9604 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxFrame
*arg1
= (wxFrame
*) 0 ;
9607 wxString
*arg2
= 0 ;
9608 bool arg3
= (bool) true ;
9609 bool arg4
= (bool) true ;
9610 wxLogWindow
*result
;
9611 bool temp2
= false ;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9614 PyObject
* obj2
= 0 ;
9615 PyObject
* obj3
= 0 ;
9617 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9622 if (SWIG_arg_fail(1)) SWIG_fail
;
9624 arg2
= wxString_in_helper(obj1
);
9625 if (arg2
== NULL
) SWIG_fail
;
9630 arg3
= (bool)(SWIG_As_bool(obj2
));
9631 if (SWIG_arg_fail(3)) SWIG_fail
;
9636 arg4
= (bool)(SWIG_As_bool(obj3
));
9637 if (SWIG_arg_fail(4)) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9662 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9665 bool arg2
= (bool) true ;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9669 (char *) "self",(char *) "bShow", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9677 arg2
= (bool)(SWIG_As_bool(obj1
));
9678 if (SWIG_arg_fail(2)) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9695 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9706 if (SWIG_arg_fail(1)) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= wxPyMake_wxObject(result
, 0);
9723 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9729 (char *) "self", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9734 if (SWIG_arg_fail(1)) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9749 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 (char *) "self", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9777 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9784 (char *) "self",(char *) "bDoPass", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9789 if (SWIG_arg_fail(1)) SWIG_fail
;
9791 arg2
= (bool)(SWIG_As_bool(obj1
));
9792 if (SWIG_arg_fail(2)) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 (arg1
)->PassMessages(arg2
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 Py_INCREF(Py_None
); resultobj
= Py_None
;
9808 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9811 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9813 return Py_BuildValue((char *)"");
9815 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxLog
*arg1
= (wxLog
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "logger", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= (wxLogChain
*)new wxLogChain(arg1
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9841 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9844 wxLog
*arg2
= (wxLog
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9848 (char *) "self",(char *) "logger", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9853 if (SWIG_arg_fail(1)) SWIG_fail
;
9854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9855 if (SWIG_arg_fail(2)) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 (arg1
)->SetLog(arg2
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 Py_INCREF(Py_None
); resultobj
= Py_None
;
9870 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9877 (char *) "self",(char *) "bDoPass", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9882 if (SWIG_arg_fail(1)) SWIG_fail
;
9884 arg2
= (bool)(SWIG_As_bool(obj1
));
9885 if (SWIG_arg_fail(2)) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 (arg1
)->PassMessages(arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 Py_INCREF(Py_None
); resultobj
= Py_None
;
9901 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9912 if (SWIG_arg_fail(1)) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (bool)(arg1
)->IsPassingMessages();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9929 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (wxLog
*)(arg1
)->GetOldLog();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9955 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9958 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9960 return Py_BuildValue((char *)"");
9962 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 unsigned long result
;
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (unsigned long)wxSysErrorCode();
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9986 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 unsigned long arg1
= (unsigned long) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "nErrCode", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9998 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9999 if (SWIG_arg_fail(1)) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= wxSysErrorMsg(arg1
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10022 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxString
*arg1
= 0 ;
10025 bool temp1
= false ;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "msg", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10033 arg1
= wxString_in_helper(obj0
);
10034 if (arg1
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 wxPyLogFatalError((wxString
const &)*arg1
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10059 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxString
*arg1
= 0 ;
10062 bool temp1
= false ;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "msg", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10070 arg1
= wxString_in_helper(obj0
);
10071 if (arg1
== NULL
) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 wxPyLogError((wxString
const &)*arg1
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxString
*arg1
= 0 ;
10099 bool temp1
= false ;
10100 PyObject
* obj0
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "msg", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10107 arg1
= wxString_in_helper(obj0
);
10108 if (arg1
== NULL
) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 wxPyLogWarning((wxString
const &)*arg1
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxString
*arg1
= 0 ;
10136 bool temp1
= false ;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "msg", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10144 arg1
= wxString_in_helper(obj0
);
10145 if (arg1
== NULL
) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 wxPyLogMessage((wxString
const &)*arg1
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 Py_INCREF(Py_None
); resultobj
= Py_None
;
10170 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxString
*arg1
= 0 ;
10173 bool temp1
= false ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "msg", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10181 arg1
= wxString_in_helper(obj0
);
10182 if (arg1
== NULL
) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 wxPyLogInfo((wxString
const &)*arg1
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxString
*arg1
= 0 ;
10210 bool temp1
= false ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "msg", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10218 arg1
= wxString_in_helper(obj0
);
10219 if (arg1
== NULL
) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 wxPyLogDebug((wxString
const &)*arg1
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 Py_INCREF(Py_None
); resultobj
= Py_None
;
10244 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxString
*arg1
= 0 ;
10247 bool temp1
= false ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "msg", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10255 arg1
= wxString_in_helper(obj0
);
10256 if (arg1
== NULL
) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 wxPyLogVerbose((wxString
const &)*arg1
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10281 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxString
*arg1
= 0 ;
10284 bool temp1
= false ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "msg", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10292 arg1
= wxString_in_helper(obj0
);
10293 if (arg1
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 wxPyLogStatus((wxString
const &)*arg1
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxFrame
*arg1
= (wxFrame
*) 0 ;
10321 wxString
*arg2
= 0 ;
10322 bool temp2
= false ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "pFrame",(char *) "msg", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10331 if (SWIG_arg_fail(1)) SWIG_fail
;
10333 arg2
= wxString_in_helper(obj1
);
10334 if (arg2
== NULL
) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxString
*arg1
= 0 ;
10362 bool temp1
= false ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "msg", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10370 arg1
= wxString_in_helper(obj0
);
10371 if (arg1
== NULL
) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxPyLogSysError((wxString
const &)*arg1
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10396 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 unsigned long arg1
;
10399 wxString
*arg2
= 0 ;
10400 bool temp2
= false ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "level",(char *) "msg", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10409 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10410 if (SWIG_arg_fail(1)) SWIG_fail
;
10413 arg2
= wxString_in_helper(obj1
);
10414 if (arg2
== NULL
) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10440 PyObject
*resultobj
;
10441 unsigned long arg1
;
10442 wxString
*arg2
= 0 ;
10443 bool temp2
= false ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10447 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10449 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 arg2
= wxString_in_helper(obj1
);
10454 if (arg2
== NULL
) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10479 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10480 PyObject
*resultobj
;
10481 wxString
*arg1
= 0 ;
10482 wxString
*arg2
= 0 ;
10483 bool temp1
= false ;
10484 bool temp2
= false ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10488 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10490 arg1
= wxString_in_helper(obj0
);
10491 if (arg1
== NULL
) SWIG_fail
;
10495 arg2
= wxString_in_helper(obj1
);
10496 if (arg2
== NULL
) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10534 argc
= PyObject_Length(args
);
10535 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10536 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10541 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10545 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10548 return _wrap_LogTrace__SWIG_1(self
,args
);
10554 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10557 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10560 return _wrap_LogTrace__SWIG_0(self
,args
);
10565 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10570 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxString
*arg1
= 0 ;
10573 wxString
*arg2
= 0 ;
10574 bool temp1
= false ;
10575 bool temp2
= false ;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "title",(char *) "text", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10584 arg1
= wxString_in_helper(obj0
);
10585 if (arg1
== NULL
) SWIG_fail
;
10589 arg2
= wxString_in_helper(obj1
);
10590 if (arg2
== NULL
) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 Py_INCREF(Py_None
); resultobj
= Py_None
;
10623 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10626 char *kwnames
[] = {
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (wxLogNull
*)new wxLogNull();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10645 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10655 if (SWIG_arg_fail(1)) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 Py_INCREF(Py_None
); resultobj
= Py_None
;
10670 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10673 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10675 return Py_BuildValue((char *)"");
10677 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10680 char *kwnames
[] = {
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (wxPyLog
*)new wxPyLog();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10699 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10702 PyObject
*arg2
= (PyObject
*) 0 ;
10703 PyObject
*arg3
= (PyObject
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 PyObject
* obj2
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self",(char *) "self",(char *) "_class", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10713 if (SWIG_arg_fail(1)) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 Py_INCREF(Py_None
); resultobj
= Py_None
;
10730 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10733 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10735 return Py_BuildValue((char *)"");
10737 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10740 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10741 int arg3
= (int) wxKILL_NOCHILDREN
;
10742 wxKillError result
;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 char *kwnames
[] = {
10747 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10752 arg1
= (int)(SWIG_As_int(obj0
));
10753 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10763 arg3
= (int)(SWIG_As_int(obj2
));
10764 if (SWIG_arg_fail(3)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= SWIG_From_int((result
));
10781 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "pid", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10792 arg1
= (int)(SWIG_As_int(obj0
));
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (bool)wxPyProcess::Exists(arg1
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10811 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxString
*arg1
= 0 ;
10814 int arg2
= (int) wxEXEC_ASYNC
;
10815 wxPyProcess
*result
;
10816 bool temp1
= false ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "cmd",(char *) "flags", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10825 arg1
= wxString_in_helper(obj0
);
10826 if (arg1
== NULL
) SWIG_fail
;
10831 arg2
= (int)(SWIG_As_int(obj1
));
10832 if (SWIG_arg_fail(2)) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10857 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10860 int arg2
= (int) -1 ;
10861 wxPyProcess
*result
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "parent",(char *) "id", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10871 if (SWIG_arg_fail(1)) SWIG_fail
;
10875 arg2
= (int)(SWIG_As_int(obj1
));
10876 if (SWIG_arg_fail(2)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10893 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10896 PyObject
*arg2
= (PyObject
*) 0 ;
10897 PyObject
*arg3
= (PyObject
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "self",(char *) "_class", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10907 if (SWIG_arg_fail(1)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 PyObject
* obj2
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self",(char *) "pid",(char *) "status", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail
;
10940 arg2
= (int)(SWIG_As_int(obj1
));
10941 if (SWIG_arg_fail(2)) SWIG_fail
;
10944 arg3
= (int)(SWIG_As_int(obj2
));
10945 if (SWIG_arg_fail(3)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->base_OnTerminate(arg2
,arg3
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 (arg1
)->Redirect();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 Py_INCREF(Py_None
); resultobj
= Py_None
;
10986 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10990 PyObject
* obj0
= 0 ;
10991 char *kwnames
[] = {
10992 (char *) "self", NULL
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10997 if (SWIG_arg_fail(1)) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (bool)(arg1
)->IsRedirected();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11024 if (SWIG_arg_fail(1)) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11042 wxInputStream
*result
;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 wxPyInputStream
* _ptr
= NULL
;
11062 _ptr
= new wxPyInputStream(result
);
11064 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11072 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11075 wxInputStream
*result
;
11076 PyObject
* obj0
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11083 if (SWIG_arg_fail(1)) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 wxPyInputStream
* _ptr
= NULL
;
11095 _ptr
= new wxPyInputStream(result
);
11097 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11105 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11108 wxOutputStream
*result
;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11116 if (SWIG_arg_fail(1)) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11131 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11141 if (SWIG_arg_fail(1)) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 (arg1
)->CloseOutput();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 Py_INCREF(Py_None
); resultobj
= Py_None
;
11156 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11167 if (SWIG_arg_fail(1)) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11212 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11243 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11245 return Py_BuildValue((char *)"");
11247 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 int arg1
= (int) 0 ;
11250 int arg2
= (int) 0 ;
11251 int arg3
= (int) 0 ;
11252 wxProcessEvent
*result
;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 PyObject
* obj2
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11263 arg1
= (int)(SWIG_As_int(obj0
));
11264 if (SWIG_arg_fail(1)) SWIG_fail
;
11269 arg2
= (int)(SWIG_As_int(obj1
));
11270 if (SWIG_arg_fail(2)) SWIG_fail
;
11275 arg3
= (int)(SWIG_As_int(obj2
));
11276 if (SWIG_arg_fail(3)) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11293 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (int)(arg1
)->GetPid();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_From_int((int)(result
));
11321 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (int)(arg1
)->GetExitCode();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_From_int((int)(result
));
11349 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "m_pid", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11361 if (SWIG_arg_fail(1)) SWIG_fail
;
11363 arg2
= (int)(SWIG_As_int(obj1
));
11364 if (SWIG_arg_fail(2)) SWIG_fail
;
11366 if (arg1
) (arg1
)->m_pid
= arg2
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11386 if (SWIG_arg_fail(1)) SWIG_fail
;
11387 result
= (int) ((arg1
)->m_pid
);
11390 resultobj
= SWIG_From_int((int)(result
));
11398 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self",(char *) "m_exitcode", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail
;
11412 arg2
= (int)(SWIG_As_int(obj1
));
11413 if (SWIG_arg_fail(2)) SWIG_fail
;
11415 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail
;
11436 result
= (int) ((arg1
)->m_exitcode
);
11439 resultobj
= SWIG_From_int((int)(result
));
11447 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11450 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11452 return Py_BuildValue((char *)"");
11454 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxString
*arg1
= 0 ;
11457 int arg2
= (int) wxEXEC_ASYNC
;
11458 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11460 bool temp1
= false ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 PyObject
* obj2
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "command",(char *) "flags",(char *) "process", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11470 arg1
= wxString_in_helper(obj0
);
11471 if (arg1
== NULL
) SWIG_fail
;
11476 arg2
= (int)(SWIG_As_int(obj1
));
11477 if (SWIG_arg_fail(2)) SWIG_fail
;
11481 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11482 if (SWIG_arg_fail(3)) SWIG_fail
;
11485 if (!wxPyCheckForApp()) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_From_long((long)(result
));
11509 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11512 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11513 wxKillError
*arg3
= (wxKillError
*) 0 ;
11514 int arg4
= (int) wxKILL_NOCHILDREN
;
11516 wxKillError temp3
;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11529 arg1
= (long)(SWIG_As_long(obj0
));
11530 if (SWIG_arg_fail(1)) SWIG_fail
;
11534 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11535 if (SWIG_arg_fail(2)) SWIG_fail
;
11540 arg4
= (int)(SWIG_As_int(obj2
));
11541 if (SWIG_arg_fail(4)) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_From_int((int)(result
));
11556 o
= PyInt_FromLong((long) (*arg3
));
11557 resultobj
= t_output_helper(resultobj
, o
);
11565 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 int arg1
= (int) wxJOYSTICK1
;
11568 wxJoystick
*result
;
11569 PyObject
* obj0
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "joystick", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11577 arg1
= (int)(SWIG_As_int(obj0
));
11578 if (SWIG_arg_fail(1)) SWIG_fail
;
11582 if (!wxPyCheckForApp()) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxJoystick
*)new wxJoystick(arg1
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11596 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11606 if (SWIG_arg_fail(1)) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11621 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (arg1
)->GetPosition();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 wxPoint
* resultptr
;
11642 resultptr
= new wxPoint((wxPoint
&)(result
));
11643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11651 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (int)(arg1
)->GetZPosition();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_int((int)(result
));
11679 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (int)(arg1
)->GetButtonState();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_From_int((int)(result
));
11707 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (int)(arg1
)->GetPOVPosition();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_From_int((int)(result
));
11735 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11739 PyObject
* obj0
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (int)(arg1
)->GetPOVCTSPosition();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_From_int((int)(result
));
11763 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (int)(arg1
)->GetRudderPosition();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_From_int((int)(result
));
11791 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11802 if (SWIG_arg_fail(1)) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (int)(arg1
)->GetUPosition();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= SWIG_From_int((int)(result
));
11819 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11830 if (SWIG_arg_fail(1)) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (int)(arg1
)->GetVPosition();
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_From_int((int)(result
));
11847 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (int)(arg1
)->GetMovementThreshold();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int((int)(result
));
11875 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "threshold", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 arg2
= (int)(SWIG_As_int(obj1
));
11890 if (SWIG_arg_fail(2)) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetMovementThreshold(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11917 if (SWIG_arg_fail(1)) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->IsOk();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11945 if (SWIG_arg_fail(1)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (int)(arg1
)->GetNumberJoysticks();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_From_int((int)(result
));
11962 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11973 if (SWIG_arg_fail(1)) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)(arg1
)->GetManufacturerId();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_From_int((int)(result
));
11990 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (int)(arg1
)->GetProductId();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_From_int((int)(result
));
12018 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (arg1
)->GetProductName();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12050 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (int)(arg1
)->GetXMin();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_From_int((int)(result
));
12078 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (int)(arg1
)->GetYMin();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_From_int((int)(result
));
12106 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (int)(arg1
)->GetZMin();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int((int)(result
));
12134 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (int)(arg1
)->GetXMax();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_From_int((int)(result
));
12162 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (int)(arg1
)->GetYMax();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_From_int((int)(result
));
12190 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (int)(arg1
)->GetZMax();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_From_int((int)(result
));
12218 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12229 if (SWIG_arg_fail(1)) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (int)(arg1
)->GetNumberButtons();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_From_int((int)(result
));
12246 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (int)(arg1
)->GetNumberAxes();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_From_int((int)(result
));
12274 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (int)(arg1
)->GetMaxButtons();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_From_int((int)(result
));
12302 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (int)(arg1
)->GetMaxAxes();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_From_int((int)(result
));
12330 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12341 if (SWIG_arg_fail(1)) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (int)(arg1
)->GetPollingMin();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_From_int((int)(result
));
12358 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (int)(arg1
)->GetPollingMax();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_From_int((int)(result
));
12386 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (int)(arg1
)->GetRudderMin();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_From_int((int)(result
));
12414 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (int)(arg1
)->GetRudderMax();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_From_int((int)(result
));
12442 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12453 if (SWIG_arg_fail(1)) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (int)(arg1
)->GetUMin();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_From_int((int)(result
));
12470 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (int)(arg1
)->GetUMax();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_From_int((int)(result
));
12498 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12509 if (SWIG_arg_fail(1)) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (int)(arg1
)->GetVMin();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_From_int((int)(result
));
12526 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (int)(arg1
)->GetVMax();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= SWIG_From_int((int)(result
));
12554 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)(arg1
)->HasRudder();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12582 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12593 if (SWIG_arg_fail(1)) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (bool)(arg1
)->HasZ();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12610 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12621 if (SWIG_arg_fail(1)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (bool)(arg1
)->HasU();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (bool)(arg1
)->HasV();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12666 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (bool)(arg1
)->HasPOV();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12694 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12705 if (SWIG_arg_fail(1)) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (bool)(arg1
)->HasPOV4Dir();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12722 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12733 if (SWIG_arg_fail(1)) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (bool)(arg1
)->HasPOVCTS();
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12750 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12753 wxWindow
*arg2
= (wxWindow
*) 0 ;
12754 int arg3
= (int) 0 ;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 PyObject
* obj2
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12765 if (SWIG_arg_fail(1)) SWIG_fail
;
12766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(2)) SWIG_fail
;
12770 arg3
= (int)(SWIG_As_int(obj2
));
12771 if (SWIG_arg_fail(3)) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12790 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (bool)(arg1
)->ReleaseCapture();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12818 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12821 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12823 return Py_BuildValue((char *)"");
12825 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12828 int arg2
= (int) 0 ;
12829 int arg3
= (int) wxJOYSTICK1
;
12830 int arg4
= (int) 0 ;
12831 wxJoystickEvent
*result
;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 PyObject
* obj2
= 0 ;
12835 PyObject
* obj3
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12843 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12849 arg2
= (int)(SWIG_As_int(obj1
));
12850 if (SWIG_arg_fail(2)) SWIG_fail
;
12855 arg3
= (int)(SWIG_As_int(obj2
));
12856 if (SWIG_arg_fail(3)) SWIG_fail
;
12861 arg4
= (int)(SWIG_As_int(obj3
));
12862 if (SWIG_arg_fail(4)) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12879 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12890 if (SWIG_arg_fail(1)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 wxPoint
* resultptr
;
12900 resultptr
= new wxPoint((wxPoint
&)(result
));
12901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12909 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_From_int((int)(result
));
12937 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_From_int((int)(result
));
12965 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_From_int((int)(result
));
12993 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13004 if (SWIG_arg_fail(1)) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_From_int((int)(result
));
13021 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self",(char *) "stick", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail
;
13035 arg2
= (int)(SWIG_As_int(obj1
));
13036 if (SWIG_arg_fail(2)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetJoystick(arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "state", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13066 arg2
= (int)(SWIG_As_int(obj1
));
13067 if (SWIG_arg_fail(2)) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->SetButtonState(arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "change", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13095 if (SWIG_arg_fail(1)) SWIG_fail
;
13097 arg2
= (int)(SWIG_As_int(obj1
));
13098 if (SWIG_arg_fail(2)) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetButtonChange(arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13117 wxPoint
*arg2
= 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "pos", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 Py_INCREF(Py_None
); resultobj
= Py_None
;
13146 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "zPos", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13158 if (SWIG_arg_fail(1)) SWIG_fail
;
13160 arg2
= (int)(SWIG_As_int(obj1
));
13161 if (SWIG_arg_fail(2)) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 (arg1
)->SetZPosition(arg2
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 Py_INCREF(Py_None
); resultobj
= Py_None
;
13177 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13188 if (SWIG_arg_fail(1)) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13205 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13209 PyObject
* obj0
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13216 if (SWIG_arg_fail(1)) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13233 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13237 PyObject
* obj0
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13244 if (SWIG_arg_fail(1)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13261 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13264 int arg2
= (int) wxJOY_BUTTON_ANY
;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "but", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail
;
13277 arg2
= (int)(SWIG_As_int(obj1
));
13278 if (SWIG_arg_fail(2)) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13297 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13300 int arg2
= (int) wxJOY_BUTTON_ANY
;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self",(char *) "but", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13310 if (SWIG_arg_fail(1)) SWIG_fail
;
13313 arg2
= (int)(SWIG_As_int(obj1
));
13314 if (SWIG_arg_fail(2)) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13333 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13336 int arg2
= (int) wxJOY_BUTTON_ANY
;
13338 PyObject
* obj0
= 0 ;
13339 PyObject
* obj1
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "but", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail
;
13349 arg2
= (int)(SWIG_As_int(obj1
));
13350 if (SWIG_arg_fail(2)) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13369 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13372 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13374 return Py_BuildValue((char *)"");
13376 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13379 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13381 bool temp1
= false ;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "fileName", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13390 arg1
= wxString_in_helper(obj0
);
13391 if (arg1
== NULL
) SWIG_fail
;
13396 if (!wxPyCheckForApp()) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13418 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 PyObject
*arg1
= (PyObject
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "data", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13430 if (!wxPyCheckForApp()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (wxSound
*)new_wxSound(arg1
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13444 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxSound
*arg1
= (wxSound
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13454 if (SWIG_arg_fail(1)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 Py_INCREF(Py_None
); resultobj
= Py_None
;
13469 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxSound
*arg1
= (wxSound
*) 0 ;
13472 wxString
*arg2
= 0 ;
13474 bool temp2
= false ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self",(char *) "fileName", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13483 if (SWIG_arg_fail(1)) SWIG_fail
;
13485 arg2
= wxString_in_helper(obj1
);
13486 if (arg2
== NULL
) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13513 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxSound
*arg1
= (wxSound
*) 0 ;
13516 PyObject
*arg2
= (PyObject
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self",(char *) "data", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13526 if (SWIG_arg_fail(1)) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxSound
*arg1
= (wxSound
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13555 if (SWIG_arg_fail(1)) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)(arg1
)->IsOk();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxSound
*arg1
= (wxSound
*) 0 ;
13575 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self",(char *) "flags", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail
;
13588 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13589 if (SWIG_arg_fail(2)) SWIG_fail
;
13593 if (!wxPyCheckForApp()) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13609 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxString
*arg1
= 0 ;
13612 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13614 bool temp1
= false ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "filename",(char *) "flags", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13623 arg1
= wxString_in_helper(obj0
);
13624 if (arg1
== NULL
) SWIG_fail
;
13629 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13630 if (SWIG_arg_fail(2)) SWIG_fail
;
13634 if (!wxPyCheckForApp()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13658 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 char *kwnames
[] = {
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13666 if (!wxPyCheckForApp()) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13683 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13685 return Py_BuildValue((char *)"");
13687 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxString
*arg1
= 0 ;
13690 wxString
*arg2
= 0 ;
13691 wxString
*arg3
= 0 ;
13692 wxString
*arg4
= 0 ;
13693 wxFileTypeInfo
*result
;
13694 bool temp1
= false ;
13695 bool temp2
= false ;
13696 bool temp3
= false ;
13697 bool temp4
= false ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 PyObject
* obj2
= 0 ;
13701 PyObject
* obj3
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13708 arg1
= wxString_in_helper(obj0
);
13709 if (arg1
== NULL
) SWIG_fail
;
13713 arg2
= wxString_in_helper(obj1
);
13714 if (arg2
== NULL
) SWIG_fail
;
13718 arg3
= wxString_in_helper(obj2
);
13719 if (arg3
== NULL
) SWIG_fail
;
13723 arg4
= wxString_in_helper(obj3
);
13724 if (arg4
== NULL
) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13773 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxArrayString
*arg1
= 0 ;
13776 wxFileTypeInfo
*result
;
13777 bool temp1
= false ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "sArray", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13785 if (! PySequence_Check(obj0
)) {
13786 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13789 arg1
= new wxArrayString
;
13791 int i
, len
=PySequence_Length(obj0
);
13792 for (i
=0; i
<len
; i
++) {
13793 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13795 PyObject
* str
= PyObject_Unicode(item
);
13797 PyObject
* str
= PyObject_Str(item
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13800 arg1
->Add(Py2wxString(str
));
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13814 if (temp1
) delete arg1
;
13819 if (temp1
) delete arg1
;
13825 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
;
13827 wxFileTypeInfo
*result
;
13828 char *kwnames
[] = {
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13847 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13858 if (SWIG_arg_fail(1)) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13875 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13878 wxString
*arg2
= 0 ;
13879 int arg3
= (int) 0 ;
13880 bool temp2
= false ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail
;
13892 arg2
= wxString_in_helper(obj1
);
13893 if (arg2
== NULL
) SWIG_fail
;
13898 arg3
= (int)(SWIG_As_int(obj2
));
13899 if (SWIG_arg_fail(3)) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 Py_INCREF(Py_None
); resultobj
= Py_None
;
13924 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13927 wxString
*arg2
= 0 ;
13928 bool temp2
= false ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self",(char *) "shortDesc", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13937 if (SWIG_arg_fail(1)) SWIG_fail
;
13939 arg2
= wxString_in_helper(obj1
);
13940 if (arg2
== NULL
) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 Py_INCREF(Py_None
); resultobj
= Py_None
;
13965 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13976 if (SWIG_arg_fail(1)) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13981 result
= (wxString
*) &_result_ref
;
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13991 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14000 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14011 if (SWIG_arg_fail(1)) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14016 result
= (wxString
*) &_result_ref
;
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14026 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14035 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14051 result
= (wxString
*) &_result_ref
;
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14070 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14086 result
= (wxString
*) &_result_ref
;
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14096 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14105 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14121 result
= (wxString
*) &_result_ref
;
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14140 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14143 wxArrayString
*result
;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14156 result
= (wxArrayString
*) &_result_ref
;
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= wxArrayString2PyList_helper(*result
);
14171 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_From_int((int)(result
));
14199 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14210 if (SWIG_arg_fail(1)) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14215 result
= (wxString
*) &_result_ref
;
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14225 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14234 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_From_int((int)(result
));
14262 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14265 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14267 return Py_BuildValue((char *)"");
14269 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxFileTypeInfo
*arg1
= 0 ;
14272 wxFileType
*result
;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "ftInfo", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14282 if (arg1
== NULL
) {
14283 SWIG_null_ref("wxFileTypeInfo");
14285 if (SWIG_arg_fail(1)) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14301 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxFileType
*arg1
= (wxFileType
*) 0 ;
14304 PyObject
* obj0
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14311 if (SWIG_arg_fail(1)) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14326 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxFileType
*arg1
= (wxFileType
*) 0 ;
14330 PyObject
* obj0
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14337 if (SWIG_arg_fail(1)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= result
;
14352 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxFileType
*arg1
= (wxFileType
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14363 if (SWIG_arg_fail(1)) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= result
;
14378 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxFileType
*arg1
= (wxFileType
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
;
14404 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxFileType
*arg1
= (wxFileType
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14415 if (SWIG_arg_fail(1)) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14430 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxFileType
*arg1
= (wxFileType
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14441 if (SWIG_arg_fail(1)) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
;
14456 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxFileType
*arg1
= (wxFileType
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14467 if (SWIG_arg_fail(1)) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= result
;
14482 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxFileType
*arg1
= (wxFileType
*) 0 ;
14485 wxString
*arg2
= 0 ;
14486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14489 bool temp2
= false ;
14490 bool temp3
= false ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14500 if (SWIG_arg_fail(1)) SWIG_fail
;
14502 arg2
= wxString_in_helper(obj1
);
14503 if (arg2
== NULL
) SWIG_fail
;
14508 arg3
= wxString_in_helper(obj2
);
14509 if (arg3
== NULL
) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
;
14543 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxFileType
*arg1
= (wxFileType
*) 0 ;
14546 wxString
*arg2
= 0 ;
14547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14550 bool temp2
= false ;
14551 bool temp3
= false ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 PyObject
* obj2
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14561 if (SWIG_arg_fail(1)) SWIG_fail
;
14563 arg2
= wxString_in_helper(obj1
);
14564 if (arg2
== NULL
) SWIG_fail
;
14569 arg3
= wxString_in_helper(obj2
);
14570 if (arg3
== NULL
) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
;
14604 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxFileType
*arg1
= (wxFileType
*) 0 ;
14607 wxString
*arg2
= 0 ;
14608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14611 bool temp2
= false ;
14612 bool temp3
= false ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 PyObject
* obj2
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14622 if (SWIG_arg_fail(1)) SWIG_fail
;
14624 arg2
= wxString_in_helper(obj1
);
14625 if (arg2
== NULL
) SWIG_fail
;
14630 arg3
= wxString_in_helper(obj2
);
14631 if (arg3
== NULL
) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= result
;
14665 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxFileType
*arg1
= (wxFileType
*) 0 ;
14668 wxString
*arg2
= 0 ;
14669 wxString
*arg3
= 0 ;
14670 bool arg4
= (bool) true ;
14672 bool temp2
= false ;
14673 bool temp3
= false ;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 PyObject
* obj2
= 0 ;
14677 PyObject
* obj3
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail
;
14686 arg2
= wxString_in_helper(obj1
);
14687 if (arg2
== NULL
) SWIG_fail
;
14691 arg3
= wxString_in_helper(obj2
);
14692 if (arg3
== NULL
) SWIG_fail
;
14697 arg4
= (bool)(SWIG_As_bool(obj3
));
14698 if (SWIG_arg_fail(4)) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14733 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxFileType
*arg1
= (wxFileType
*) 0 ;
14736 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14737 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14738 int arg3
= (int) 0 ;
14740 bool temp2
= false ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 PyObject
* obj2
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self",(char *) "cmd",(char *) "index", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14750 if (SWIG_arg_fail(1)) SWIG_fail
;
14753 arg2
= wxString_in_helper(obj1
);
14754 if (arg2
== NULL
) SWIG_fail
;
14760 arg3
= (int)(SWIG_As_int(obj2
));
14761 if (SWIG_arg_fail(3)) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxFileType
*arg1
= (wxFileType
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)(arg1
)->Unassociate();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14816 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxString
*arg1
= 0 ;
14819 wxString
*arg2
= 0 ;
14820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14823 bool temp1
= false ;
14824 bool temp2
= false ;
14825 bool temp3
= false ;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 PyObject
* obj2
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14835 arg1
= wxString_in_helper(obj0
);
14836 if (arg1
== NULL
) SWIG_fail
;
14840 arg2
= wxString_in_helper(obj1
);
14841 if (arg2
== NULL
) SWIG_fail
;
14846 arg3
= wxString_in_helper(obj2
);
14847 if (arg3
== NULL
) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14895 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14898 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14900 return Py_BuildValue((char *)"");
14902 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14903 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14908 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14911 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14916 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxString
*arg1
= 0 ;
14919 wxString
*arg2
= 0 ;
14921 bool temp1
= false ;
14922 bool temp2
= false ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "mimeType",(char *) "wildcard", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14931 arg1
= wxString_in_helper(obj0
);
14932 if (arg1
== NULL
) SWIG_fail
;
14936 arg2
= wxString_in_helper(obj1
);
14937 if (arg2
== NULL
) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14972 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxMimeTypesManager
*result
;
14975 char *kwnames
[] = {
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14994 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14997 int arg2
= (int) wxMAILCAP_ALL
;
14998 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14999 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15000 bool temp3
= false ;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 PyObject
* obj2
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15010 if (SWIG_arg_fail(1)) SWIG_fail
;
15013 arg2
= (int)(SWIG_As_int(obj1
));
15014 if (SWIG_arg_fail(2)) SWIG_fail
;
15019 arg3
= wxString_in_helper(obj2
);
15020 if (arg3
== NULL
) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 Py_INCREF(Py_None
); resultobj
= Py_None
;
15046 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->ClearData();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 Py_INCREF(Py_None
); resultobj
= Py_None
;
15071 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15074 wxString
*arg2
= 0 ;
15075 wxFileType
*result
;
15076 bool temp2
= false ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "ext", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15085 if (SWIG_arg_fail(1)) SWIG_fail
;
15087 arg2
= wxString_in_helper(obj1
);
15088 if (arg2
== NULL
) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15113 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15116 wxString
*arg2
= 0 ;
15117 wxFileType
*result
;
15118 bool temp2
= false ;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self",(char *) "mimeType", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15127 if (SWIG_arg_fail(1)) SWIG_fail
;
15129 arg2
= wxString_in_helper(obj1
);
15130 if (arg2
== NULL
) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15155 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15158 wxString
*arg2
= 0 ;
15159 bool arg3
= (bool) false ;
15161 bool temp2
= false ;
15162 PyObject
* obj0
= 0 ;
15163 PyObject
* obj1
= 0 ;
15164 PyObject
* obj2
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15173 arg2
= wxString_in_helper(obj1
);
15174 if (arg2
== NULL
) SWIG_fail
;
15179 arg3
= (bool)(SWIG_As_bool(obj2
));
15180 if (SWIG_arg_fail(3)) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15207 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15210 wxString
*arg2
= 0 ;
15212 bool temp2
= false ;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "filename", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail
;
15223 arg2
= wxString_in_helper(obj1
);
15224 if (arg2
== NULL
) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15251 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
;
15277 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15280 wxFileTypeInfo
*arg2
= 0 ;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self",(char *) "ft", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15289 if (SWIG_arg_fail(1)) SWIG_fail
;
15291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(2)) SWIG_fail
;
15293 if (arg2
== NULL
) {
15294 SWIG_null_ref("wxFileTypeInfo");
15296 if (SWIG_arg_fail(2)) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15315 wxFileTypeInfo
*arg2
= 0 ;
15316 wxFileType
*result
;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "ftInfo", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15325 if (SWIG_arg_fail(1)) SWIG_fail
;
15327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15328 if (SWIG_arg_fail(2)) SWIG_fail
;
15329 if (arg2
== NULL
) {
15330 SWIG_null_ref("wxFileTypeInfo");
15332 if (SWIG_arg_fail(2)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15348 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15351 wxFileType
*arg2
= (wxFileType
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "ft", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15363 if (SWIG_arg_fail(2)) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (bool)(arg1
)->Unassociate(arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15390 if (SWIG_arg_fail(1)) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 Py_INCREF(Py_None
); resultobj
= Py_None
;
15405 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15408 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15410 return Py_BuildValue((char *)"");
15412 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15413 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15418 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15423 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15425 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15432 static int _wrap_ART_MENU_set(PyObject
*) {
15433 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15438 static PyObject
*_wrap_ART_MENU_get(void) {
15443 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15445 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15452 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15453 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15458 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15463 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15465 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15472 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15473 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15478 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15483 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15485 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15492 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15493 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15498 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15503 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15505 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15512 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15513 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15518 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15523 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15525 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15532 static int _wrap_ART_BUTTON_set(PyObject
*) {
15533 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15538 static PyObject
*_wrap_ART_BUTTON_get(void) {
15543 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15545 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15552 static int _wrap_ART_OTHER_set(PyObject
*) {
15553 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15558 static PyObject
*_wrap_ART_OTHER_get(void) {
15563 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15565 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15572 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15573 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15578 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15583 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15585 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15592 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15593 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15598 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15603 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15605 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15612 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15613 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15618 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15623 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15625 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15632 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15633 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15638 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15643 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15645 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15652 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15653 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15658 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15663 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15665 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15672 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15673 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15678 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15683 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15685 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15692 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15693 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15698 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15703 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15705 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15712 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15713 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15718 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15723 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15725 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15732 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15733 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15738 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15743 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15745 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15752 static int _wrap_ART_GO_UP_set(PyObject
*) {
15753 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15758 static PyObject
*_wrap_ART_GO_UP_get(void) {
15763 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15765 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15772 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15773 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15778 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15783 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15785 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15792 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15793 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15798 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15803 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15805 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15812 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15813 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15818 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15823 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15825 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15832 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15833 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15838 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15843 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15845 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15852 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15853 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15858 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15863 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15865 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15872 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15873 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15878 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15883 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15885 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15892 static int _wrap_ART_PRINT_set(PyObject
*) {
15893 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15898 static PyObject
*_wrap_ART_PRINT_get(void) {
15903 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15905 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15912 static int _wrap_ART_HELP_set(PyObject
*) {
15913 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15918 static PyObject
*_wrap_ART_HELP_get(void) {
15923 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15925 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15932 static int _wrap_ART_TIP_set(PyObject
*) {
15933 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15938 static PyObject
*_wrap_ART_TIP_get(void) {
15943 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15945 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15952 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15953 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15958 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15963 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15965 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15972 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15973 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15978 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15983 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15985 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15992 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15993 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15998 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16003 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16005 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16012 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16013 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16018 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16023 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16025 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16032 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16033 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16038 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16043 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16045 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16052 static int _wrap_ART_CDROM_set(PyObject
*) {
16053 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16058 static PyObject
*_wrap_ART_CDROM_get(void) {
16063 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16065 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16072 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16073 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16078 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16083 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16085 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16092 static int _wrap_ART_FOLDER_set(PyObject
*) {
16093 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16098 static PyObject
*_wrap_ART_FOLDER_get(void) {
16103 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16105 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16112 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16113 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16118 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16123 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16125 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16132 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16133 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16138 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16143 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16145 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16152 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16153 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16158 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16163 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16165 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16172 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16173 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16178 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16183 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16185 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16192 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16193 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16198 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16203 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16205 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16212 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16213 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16218 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16223 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16225 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16232 static int _wrap_ART_ERROR_set(PyObject
*) {
16233 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16238 static PyObject
*_wrap_ART_ERROR_get(void) {
16243 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16245 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16252 static int _wrap_ART_QUESTION_set(PyObject
*) {
16253 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16258 static PyObject
*_wrap_ART_QUESTION_get(void) {
16263 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16265 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16272 static int _wrap_ART_WARNING_set(PyObject
*) {
16273 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16278 static PyObject
*_wrap_ART_WARNING_get(void) {
16283 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16285 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16292 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16293 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16298 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16303 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16305 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16312 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16313 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16318 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16323 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16325 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16332 static int _wrap_ART_COPY_set(PyObject
*) {
16333 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16338 static PyObject
*_wrap_ART_COPY_get(void) {
16343 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16345 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16352 static int _wrap_ART_CUT_set(PyObject
*) {
16353 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16358 static PyObject
*_wrap_ART_CUT_get(void) {
16363 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16365 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16372 static int _wrap_ART_PASTE_set(PyObject
*) {
16373 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16378 static PyObject
*_wrap_ART_PASTE_get(void) {
16383 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16385 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16392 static int _wrap_ART_DELETE_set(PyObject
*) {
16393 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16398 static PyObject
*_wrap_ART_DELETE_get(void) {
16403 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16405 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16412 static int _wrap_ART_UNDO_set(PyObject
*) {
16413 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16418 static PyObject
*_wrap_ART_UNDO_get(void) {
16423 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16425 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16432 static int _wrap_ART_REDO_set(PyObject
*) {
16433 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16438 static PyObject
*_wrap_ART_REDO_get(void) {
16443 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16445 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16452 static int _wrap_ART_QUIT_set(PyObject
*) {
16453 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16458 static PyObject
*_wrap_ART_QUIT_get(void) {
16463 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16465 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16472 static int _wrap_ART_FIND_set(PyObject
*) {
16473 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16478 static PyObject
*_wrap_ART_FIND_get(void) {
16483 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16485 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16492 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16493 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16498 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16503 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16505 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16512 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxPyArtProvider
*result
;
16515 char *kwnames
[] = {
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16521 if (!wxPyCheckForApp()) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16535 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16538 PyObject
*arg2
= (PyObject
*) 0 ;
16539 PyObject
*arg3
= (PyObject
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 PyObject
* obj2
= 0 ;
16543 char *kwnames
[] = {
16544 (char *) "self",(char *) "self",(char *) "_class", NULL
16547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16549 if (SWIG_arg_fail(1)) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "provider", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16576 if (SWIG_arg_fail(1)) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 wxPyArtProvider::PushProvider(arg1
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16594 char *kwnames
[] = {
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (bool)wxPyArtProvider::PopProvider();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16615 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "provider", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16643 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxString
*arg1
= 0 ;
16646 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16647 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16648 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16649 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16651 bool temp1
= false ;
16652 bool temp2
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "id",(char *) "client",(char *) "size", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16663 arg1
= wxString_in_helper(obj0
);
16664 if (arg1
== NULL
) SWIG_fail
;
16669 arg2
= wxString_in_helper(obj1
);
16670 if (arg2
== NULL
) SWIG_fail
;
16677 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16681 if (!wxPyCheckForApp()) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 wxBitmap
* resultptr
;
16690 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16715 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxString
*arg1
= 0 ;
16718 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16719 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16720 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16721 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16723 bool temp1
= false ;
16724 bool temp2
= false ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 PyObject
* obj2
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "id",(char *) "client",(char *) "size", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16735 arg1
= wxString_in_helper(obj0
);
16736 if (arg1
== NULL
) SWIG_fail
;
16741 arg2
= wxString_in_helper(obj1
);
16742 if (arg2
== NULL
) SWIG_fail
;
16749 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16753 if (!wxPyCheckForApp()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16761 wxIcon
* resultptr
;
16762 resultptr
= new wxIcon((wxIcon
&)(result
));
16763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16787 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxString
*arg1
= 0 ;
16790 bool arg2
= (bool) false ;
16792 bool temp1
= false ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "client",(char *) "platform_dependent", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16801 arg1
= wxString_in_helper(obj0
);
16802 if (arg1
== NULL
) SWIG_fail
;
16807 arg2
= (bool)(SWIG_As_bool(obj1
));
16808 if (SWIG_arg_fail(2)) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 wxSize
* resultptr
;
16820 resultptr
= new wxSize((wxSize
&)(result
));
16821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16837 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 wxPyArtProvider_Destroy(arg1
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16865 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16867 return Py_BuildValue((char *)"");
16869 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 Py_INCREF(Py_None
); resultobj
= Py_None
;
16894 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16897 wxConfigBase
*result
;
16898 PyObject
* obj0
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "config", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16905 if (SWIG_arg_fail(1)) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16920 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 bool arg1
= (bool) true ;
16923 wxConfigBase
*result
;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "createOnDemand", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16932 arg1
= (bool)(SWIG_As_bool(obj0
));
16933 if (SWIG_arg_fail(1)) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16950 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxConfigBase
*result
;
16953 char *kwnames
[] = {
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxConfigBase
*)wxConfigBase::Create();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16972 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 char *kwnames
[] = {
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 wxConfigBase::DontCreateOnDemand();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 Py_INCREF(Py_None
); resultobj
= Py_None
;
16993 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16996 wxString
*arg2
= 0 ;
16997 bool temp2
= false ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "path", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 arg2
= wxString_in_helper(obj1
);
17009 if (arg2
== NULL
) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->SetPath((wxString
const &)*arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17034 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17045 if (SWIG_arg_fail(1)) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17050 result
= (wxString
*) &_result_ref
;
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17069 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17080 if (SWIG_arg_fail(1)) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= result
;
17095 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self",(char *) "index", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17108 if (SWIG_arg_fail(1)) SWIG_fail
;
17110 arg2
= (long)(SWIG_As_long(obj1
));
17111 if (SWIG_arg_fail(2)) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= result
;
17127 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17138 if (SWIG_arg_fail(1)) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
;
17153 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self",(char *) "index", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17166 if (SWIG_arg_fail(1)) SWIG_fail
;
17168 arg2
= (long)(SWIG_As_long(obj1
));
17169 if (SWIG_arg_fail(2)) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= result
;
17185 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17188 bool arg2
= (bool) false ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self",(char *) "recursive", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17198 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 arg2
= (bool)(SWIG_As_bool(obj1
));
17202 if (SWIG_arg_fail(2)) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17221 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17224 bool arg2
= (bool) false ;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self",(char *) "recursive", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail
;
17237 arg2
= (bool)(SWIG_As_bool(obj1
));
17238 if (SWIG_arg_fail(2)) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17257 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17260 wxString
*arg2
= 0 ;
17262 bool temp2
= false ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "name", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17271 if (SWIG_arg_fail(1)) SWIG_fail
;
17273 arg2
= wxString_in_helper(obj1
);
17274 if (arg2
== NULL
) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17301 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17304 wxString
*arg2
= 0 ;
17306 bool temp2
= false ;
17307 PyObject
* obj0
= 0 ;
17308 PyObject
* obj1
= 0 ;
17309 char *kwnames
[] = {
17310 (char *) "self",(char *) "name", NULL
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17315 if (SWIG_arg_fail(1)) SWIG_fail
;
17317 arg2
= wxString_in_helper(obj1
);
17318 if (arg2
== NULL
) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17348 wxString
*arg2
= 0 ;
17350 bool temp2
= false ;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self",(char *) "name", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail
;
17361 arg2
= wxString_in_helper(obj1
);
17362 if (arg2
== NULL
) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17389 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17392 wxString
*arg2
= 0 ;
17393 wxConfigBase::EntryType result
;
17394 bool temp2
= false ;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "name", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17403 if (SWIG_arg_fail(1)) SWIG_fail
;
17405 arg2
= wxString_in_helper(obj1
);
17406 if (arg2
== NULL
) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_From_int((result
));
17431 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17434 wxString
*arg2
= 0 ;
17435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17438 bool temp2
= false ;
17439 bool temp3
= false ;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17449 if (SWIG_arg_fail(1)) SWIG_fail
;
17451 arg2
= wxString_in_helper(obj1
);
17452 if (arg2
== NULL
) SWIG_fail
;
17457 arg3
= wxString_in_helper(obj2
);
17458 if (arg3
== NULL
) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17498 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17501 wxString
*arg2
= 0 ;
17502 long arg3
= (long) 0 ;
17504 bool temp2
= false ;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 PyObject
* obj2
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail
;
17516 arg2
= wxString_in_helper(obj1
);
17517 if (arg2
== NULL
) SWIG_fail
;
17522 arg3
= (long)(SWIG_As_long(obj2
));
17523 if (SWIG_arg_fail(3)) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_From_long((long)(result
));
17550 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17553 wxString
*arg2
= 0 ;
17554 double arg3
= (double) 0.0 ;
17556 bool temp2
= false ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail
;
17568 arg2
= wxString_in_helper(obj1
);
17569 if (arg2
== NULL
) SWIG_fail
;
17574 arg3
= (double)(SWIG_As_double(obj2
));
17575 if (SWIG_arg_fail(3)) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_From_double((double)(result
));
17602 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17605 wxString
*arg2
= 0 ;
17606 bool arg3
= (bool) false ;
17608 bool temp2
= false ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail
;
17620 arg2
= wxString_in_helper(obj1
);
17621 if (arg2
== NULL
) SWIG_fail
;
17626 arg3
= (bool)(SWIG_As_bool(obj2
));
17627 if (SWIG_arg_fail(3)) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17654 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17657 wxString
*arg2
= 0 ;
17658 wxString
*arg3
= 0 ;
17660 bool temp2
= false ;
17661 bool temp3
= false ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "key",(char *) "value", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17673 arg2
= wxString_in_helper(obj1
);
17674 if (arg2
== NULL
) SWIG_fail
;
17678 arg3
= wxString_in_helper(obj2
);
17679 if (arg3
== NULL
) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17714 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17717 wxString
*arg2
= 0 ;
17720 bool temp2
= false ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 PyObject
* obj2
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "key",(char *) "value", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17730 if (SWIG_arg_fail(1)) SWIG_fail
;
17732 arg2
= wxString_in_helper(obj1
);
17733 if (arg2
== NULL
) SWIG_fail
;
17737 arg3
= (long)(SWIG_As_long(obj2
));
17738 if (SWIG_arg_fail(3)) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17764 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17767 wxString
*arg2
= 0 ;
17770 bool temp2
= false ;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 PyObject
* obj2
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "key",(char *) "value", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17780 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 arg2
= wxString_in_helper(obj1
);
17783 if (arg2
== NULL
) SWIG_fail
;
17787 arg3
= (double)(SWIG_As_double(obj2
));
17788 if (SWIG_arg_fail(3)) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17814 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17817 wxString
*arg2
= 0 ;
17820 bool temp2
= false ;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 PyObject
* obj2
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "key",(char *) "value", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 arg2
= wxString_in_helper(obj1
);
17833 if (arg2
== NULL
) SWIG_fail
;
17837 arg3
= (bool)(SWIG_As_bool(obj2
));
17838 if (SWIG_arg_fail(3)) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17864 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17867 bool arg2
= (bool) false ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self",(char *) "currentOnly", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17877 if (SWIG_arg_fail(1)) SWIG_fail
;
17880 arg2
= (bool)(SWIG_As_bool(obj1
));
17881 if (SWIG_arg_fail(2)) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (bool)(arg1
)->Flush(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17900 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17903 wxString
*arg2
= 0 ;
17904 wxString
*arg3
= 0 ;
17906 bool temp2
= false ;
17907 bool temp3
= false ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 PyObject
* obj2
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17917 if (SWIG_arg_fail(1)) SWIG_fail
;
17919 arg2
= wxString_in_helper(obj1
);
17920 if (arg2
== NULL
) SWIG_fail
;
17924 arg3
= wxString_in_helper(obj2
);
17925 if (arg3
== NULL
) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17960 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17963 wxString
*arg2
= 0 ;
17964 wxString
*arg3
= 0 ;
17966 bool temp2
= false ;
17967 bool temp3
= false ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 PyObject
* obj2
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail
;
17979 arg2
= wxString_in_helper(obj1
);
17980 if (arg2
== NULL
) SWIG_fail
;
17984 arg3
= wxString_in_helper(obj2
);
17985 if (arg3
== NULL
) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18020 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18023 wxString
*arg2
= 0 ;
18024 bool arg3
= (bool) true ;
18026 bool temp2
= false ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18036 if (SWIG_arg_fail(1)) SWIG_fail
;
18038 arg2
= wxString_in_helper(obj1
);
18039 if (arg2
== NULL
) SWIG_fail
;
18044 arg3
= (bool)(SWIG_As_bool(obj2
));
18045 if (SWIG_arg_fail(3)) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18072 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18075 wxString
*arg2
= 0 ;
18077 bool temp2
= false ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self",(char *) "key", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18086 if (SWIG_arg_fail(1)) SWIG_fail
;
18088 arg2
= wxString_in_helper(obj1
);
18089 if (arg2
== NULL
) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18116 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (bool)(arg1
)->DeleteAll();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18144 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18147 bool arg2
= (bool) true ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self",(char *) "doIt", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18159 arg2
= (bool)(SWIG_As_bool(obj1
));
18160 if (SWIG_arg_fail(2)) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->SetExpandEnvVars(arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 Py_INCREF(Py_None
); resultobj
= Py_None
;
18177 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18181 PyObject
* obj0
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18188 if (SWIG_arg_fail(1)) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18205 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18208 bool arg2
= (bool) true ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "doIt", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 arg2
= (bool)(SWIG_As_bool(obj1
));
18221 if (SWIG_arg_fail(2)) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->SetRecordDefaults(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18238 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18249 if (SWIG_arg_fail(1)) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18266 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18269 wxString
*arg2
= 0 ;
18271 bool temp2
= false ;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "str", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18280 if (SWIG_arg_fail(1)) SWIG_fail
;
18282 arg2
= wxString_in_helper(obj1
);
18283 if (arg2
== NULL
) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18314 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18325 if (SWIG_arg_fail(1)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18346 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18357 if (SWIG_arg_fail(1)) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18378 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18381 wxString
*arg2
= 0 ;
18382 bool temp2
= false ;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "appName", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail
;
18393 arg2
= wxString_in_helper(obj1
);
18394 if (arg2
== NULL
) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->SetAppName((wxString
const &)*arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18422 wxString
*arg2
= 0 ;
18423 bool temp2
= false ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "self",(char *) "vendorName", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18432 if (SWIG_arg_fail(1)) SWIG_fail
;
18434 arg2
= wxString_in_helper(obj1
);
18435 if (arg2
== NULL
) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18460 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self",(char *) "style", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail
;
18474 arg2
= (long)(SWIG_As_long(obj1
));
18475 if (SWIG_arg_fail(2)) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 (arg1
)->SetStyle(arg2
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 Py_INCREF(Py_None
); resultobj
= Py_None
;
18491 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(1)) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_From_long((long)(result
));
18519 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18522 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18524 return Py_BuildValue((char *)"");
18526 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18529 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18530 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18531 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18534 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18535 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18536 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18538 bool temp1
= false ;
18539 bool temp2
= false ;
18540 bool temp3
= false ;
18541 bool temp4
= false ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 PyObject
* obj2
= 0 ;
18545 PyObject
* obj3
= 0 ;
18546 PyObject
* obj4
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18554 arg1
= wxString_in_helper(obj0
);
18555 if (arg1
== NULL
) SWIG_fail
;
18561 arg2
= wxString_in_helper(obj1
);
18562 if (arg2
== NULL
) SWIG_fail
;
18568 arg3
= wxString_in_helper(obj2
);
18569 if (arg3
== NULL
) SWIG_fail
;
18575 arg4
= wxString_in_helper(obj3
);
18576 if (arg4
== NULL
) SWIG_fail
;
18582 arg5
= (long)(SWIG_As_long(obj4
));
18583 if (SWIG_arg_fail(5)) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18632 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxConfig
*arg1
= (wxConfig
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18642 if (SWIG_arg_fail(1)) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 Py_INCREF(Py_None
); resultobj
= Py_None
;
18657 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18660 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18662 return Py_BuildValue((char *)"");
18664 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18667 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18668 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18669 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18672 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18673 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18674 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18675 wxFileConfig
*result
;
18676 bool temp1
= false ;
18677 bool temp2
= false ;
18678 bool temp3
= false ;
18679 bool temp4
= false ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 PyObject
* obj2
= 0 ;
18683 PyObject
* obj3
= 0 ;
18684 PyObject
* obj4
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18692 arg1
= wxString_in_helper(obj0
);
18693 if (arg1
== NULL
) SWIG_fail
;
18699 arg2
= wxString_in_helper(obj1
);
18700 if (arg2
== NULL
) SWIG_fail
;
18706 arg3
= wxString_in_helper(obj2
);
18707 if (arg3
== NULL
) SWIG_fail
;
18713 arg4
= wxString_in_helper(obj3
);
18714 if (arg4
== NULL
) SWIG_fail
;
18720 arg5
= (long)(SWIG_As_long(obj4
));
18721 if (SWIG_arg_fail(5)) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18770 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 Py_INCREF(Py_None
); resultobj
= Py_None
;
18795 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18798 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18800 return Py_BuildValue((char *)"");
18802 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18805 wxString
*arg2
= 0 ;
18806 wxConfigPathChanger
*result
;
18807 bool temp2
= false ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "config",(char *) "entry", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18816 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 arg2
= wxString_in_helper(obj1
);
18819 if (arg2
== NULL
) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18844 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18854 if (SWIG_arg_fail(1)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18880 if (SWIG_arg_fail(1)) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18885 result
= (wxString
*) &_result_ref
;
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18904 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18907 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18909 return Py_BuildValue((char *)"");
18911 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxString
*arg1
= 0 ;
18915 bool temp1
= false ;
18916 PyObject
* obj0
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "sz", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18923 arg1
= wxString_in_helper(obj0
);
18924 if (arg1
== NULL
) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18955 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18956 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18961 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18966 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18968 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18975 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18976 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18981 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18986 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18988 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18995 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxDateTime::Country arg1
;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "country", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19005 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19006 if (SWIG_arg_fail(1)) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 Py_INCREF(Py_None
); resultobj
= Py_None
;
19022 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxDateTime::Country result
;
19025 char *kwnames
[] = {
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= SWIG_From_int((result
));
19044 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "country", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19056 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19076 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "cal", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19088 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19089 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_From_int((int)(result
));
19108 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "year", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19119 arg1
= (int)(SWIG_As_int(obj0
));
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_From_int((int)(result
));
19138 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19141 wxDateTime::Month result
;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "cal", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19150 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19151 if (SWIG_arg_fail(1)) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_From_int((result
));
19168 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 int arg1
= (int) wxDateTime::Inv_Year
;
19171 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "year",(char *) "cal", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19182 arg1
= (int)(SWIG_As_int(obj0
));
19183 if (SWIG_arg_fail(1)) SWIG_fail
;
19188 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19189 if (SWIG_arg_fail(2)) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19208 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 int arg1
= (int) wxDateTime::Inv_Year
;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "year", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19220 arg1
= (int)(SWIG_As_int(obj0
));
19221 if (SWIG_arg_fail(1)) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (int)wxDateTime::GetCentury(arg1
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= SWIG_From_int((int)(result
));
19240 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19243 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "year",(char *) "cal", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 arg1
= (int)(SWIG_As_int(obj0
));
19254 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19259 if (SWIG_arg_fail(2)) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= SWIG_From_int((int)(result
));
19278 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxDateTime::Month arg1
;
19281 int arg2
= (int) wxDateTime::Inv_Year
;
19282 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 PyObject
* obj2
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "month",(char *) "year",(char *) "cal", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19293 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19294 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 arg2
= (int)(SWIG_As_int(obj1
));
19299 if (SWIG_arg_fail(2)) SWIG_fail
;
19304 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19305 if (SWIG_arg_fail(3)) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_From_int((int)(result
));
19324 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxDateTime::Month arg1
;
19327 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "month",(char *) "flags", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19337 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19338 if (SWIG_arg_fail(1)) SWIG_fail
;
19342 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19343 if (SWIG_arg_fail(2)) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19366 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxDateTime::WeekDay arg1
;
19369 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "weekday",(char *) "flags", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19379 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19380 if (SWIG_arg_fail(1)) SWIG_fail
;
19384 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19385 if (SWIG_arg_fail(2)) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19408 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19411 char *kwnames
[] = {
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (PyObject
*)DateTime_GetAmPmStrings();
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= result
;
19430 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 int arg1
= (int) wxDateTime::Inv_Year
;
19433 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "year",(char *) "country", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19444 arg1
= (int)(SWIG_As_int(obj0
));
19445 if (SWIG_arg_fail(1)) SWIG_fail
;
19450 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19451 if (SWIG_arg_fail(2)) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19470 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 int arg1
= (int) wxDateTime::Inv_Year
;
19473 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "year",(char *) "country", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 arg1
= (int)(SWIG_As_int(obj0
));
19485 if (SWIG_arg_fail(1)) SWIG_fail
;
19490 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19491 if (SWIG_arg_fail(2)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 wxDateTime
* resultptr
;
19503 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19512 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 int arg1
= (int) wxDateTime::Inv_Year
;
19515 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "year",(char *) "country", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19526 arg1
= (int)(SWIG_As_int(obj0
));
19527 if (SWIG_arg_fail(1)) SWIG_fail
;
19532 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19533 if (SWIG_arg_fail(2)) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19544 wxDateTime
* resultptr
;
19545 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19554 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19557 char *kwnames
[] = {
19561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= wxDateTime::Now();
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19570 wxDateTime
* resultptr
;
19571 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19580 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19583 char *kwnames
[] = {
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= wxDateTime::UNow();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19596 wxDateTime
* resultptr
;
19597 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19606 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19609 char *kwnames
[] = {
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= wxDateTime::Today();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 wxDateTime
* resultptr
;
19623 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19632 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxDateTime
*result
;
19635 char *kwnames
[] = {
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (wxDateTime
*)new wxDateTime();
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19654 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19657 wxDateTime
*result
;
19658 PyObject
* obj0
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "timet", NULL
19663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19665 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19666 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (wxDateTime
*)new wxDateTime(arg1
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19682 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19685 wxDateTime
*result
;
19686 PyObject
* obj0
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "jdn", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19693 arg1
= (double)(SWIG_As_double(obj0
));
19694 if (SWIG_arg_fail(1)) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (wxDateTime
*)new wxDateTime(arg1
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19710 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19713 int arg2
= (int) 0 ;
19714 int arg3
= (int) 0 ;
19715 int arg4
= (int) 0 ;
19716 wxDateTime
*result
;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 PyObject
* obj2
= 0 ;
19720 PyObject
* obj3
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19727 arg1
= (int)(SWIG_As_int(obj0
));
19728 if (SWIG_arg_fail(1)) SWIG_fail
;
19732 arg2
= (int)(SWIG_As_int(obj1
));
19733 if (SWIG_arg_fail(2)) SWIG_fail
;
19738 arg3
= (int)(SWIG_As_int(obj2
));
19739 if (SWIG_arg_fail(3)) SWIG_fail
;
19744 arg4
= (int)(SWIG_As_int(obj3
));
19745 if (SWIG_arg_fail(4)) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19762 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19765 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19766 int arg3
= (int) wxDateTime::Inv_Year
;
19767 int arg4
= (int) 0 ;
19768 int arg5
= (int) 0 ;
19769 int arg6
= (int) 0 ;
19770 int arg7
= (int) 0 ;
19771 wxDateTime
*result
;
19772 PyObject
* obj0
= 0 ;
19773 PyObject
* obj1
= 0 ;
19774 PyObject
* obj2
= 0 ;
19775 PyObject
* obj3
= 0 ;
19776 PyObject
* obj4
= 0 ;
19777 PyObject
* obj5
= 0 ;
19778 PyObject
* obj6
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19785 arg1
= (int)(SWIG_As_int(obj0
));
19786 if (SWIG_arg_fail(1)) SWIG_fail
;
19790 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19791 if (SWIG_arg_fail(2)) SWIG_fail
;
19796 arg3
= (int)(SWIG_As_int(obj2
));
19797 if (SWIG_arg_fail(3)) SWIG_fail
;
19802 arg4
= (int)(SWIG_As_int(obj3
));
19803 if (SWIG_arg_fail(4)) SWIG_fail
;
19808 arg5
= (int)(SWIG_As_int(obj4
));
19809 if (SWIG_arg_fail(5)) SWIG_fail
;
19814 arg6
= (int)(SWIG_As_int(obj5
));
19815 if (SWIG_arg_fail(6)) SWIG_fail
;
19820 arg7
= (int)(SWIG_As_int(obj6
));
19821 if (SWIG_arg_fail(7)) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19838 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19848 if (SWIG_arg_fail(1)) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 Py_INCREF(Py_None
); resultobj
= Py_None
;
19863 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19866 wxDateTime
*result
;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19874 if (SWIG_arg_fail(1)) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19879 result
= (wxDateTime
*) &_result_ref
;
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19892 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19896 wxDateTime
*result
;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "timet", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19905 if (SWIG_arg_fail(1)) SWIG_fail
;
19907 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19908 if (SWIG_arg_fail(2)) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19914 result
= (wxDateTime
*) &_result_ref
;
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19927 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19931 wxDateTime
*result
;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "jdn", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail
;
19942 arg2
= (double)(SWIG_As_double(obj1
));
19943 if (SWIG_arg_fail(2)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19949 result
= (wxDateTime
*) &_result_ref
;
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19962 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19966 int arg3
= (int) 0 ;
19967 int arg4
= (int) 0 ;
19968 int arg5
= (int) 0 ;
19969 wxDateTime
*result
;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19972 PyObject
* obj2
= 0 ;
19973 PyObject
* obj3
= 0 ;
19974 PyObject
* obj4
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail
;
19983 arg2
= (int)(SWIG_As_int(obj1
));
19984 if (SWIG_arg_fail(2)) SWIG_fail
;
19988 arg3
= (int)(SWIG_As_int(obj2
));
19989 if (SWIG_arg_fail(3)) SWIG_fail
;
19994 arg4
= (int)(SWIG_As_int(obj3
));
19995 if (SWIG_arg_fail(4)) SWIG_fail
;
20000 arg5
= (int)(SWIG_As_int(obj4
));
20001 if (SWIG_arg_fail(5)) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20008 result
= (wxDateTime
*) &_result_ref
;
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20021 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20025 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20026 int arg4
= (int) wxDateTime::Inv_Year
;
20027 int arg5
= (int) 0 ;
20028 int arg6
= (int) 0 ;
20029 int arg7
= (int) 0 ;
20030 int arg8
= (int) 0 ;
20031 wxDateTime
*result
;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 PyObject
* obj2
= 0 ;
20035 PyObject
* obj3
= 0 ;
20036 PyObject
* obj4
= 0 ;
20037 PyObject
* obj5
= 0 ;
20038 PyObject
* obj6
= 0 ;
20039 PyObject
* obj7
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20046 if (SWIG_arg_fail(1)) SWIG_fail
;
20048 arg2
= (int)(SWIG_As_int(obj1
));
20049 if (SWIG_arg_fail(2)) SWIG_fail
;
20053 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20054 if (SWIG_arg_fail(3)) SWIG_fail
;
20059 arg4
= (int)(SWIG_As_int(obj3
));
20060 if (SWIG_arg_fail(4)) SWIG_fail
;
20065 arg5
= (int)(SWIG_As_int(obj4
));
20066 if (SWIG_arg_fail(5)) SWIG_fail
;
20071 arg6
= (int)(SWIG_As_int(obj5
));
20072 if (SWIG_arg_fail(6)) SWIG_fail
;
20077 arg7
= (int)(SWIG_As_int(obj6
));
20078 if (SWIG_arg_fail(7)) SWIG_fail
;
20083 arg8
= (int)(SWIG_As_int(obj7
));
20084 if (SWIG_arg_fail(8)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20091 result
= (wxDateTime
*) &_result_ref
;
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20104 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20107 wxDateTime
*result
;
20108 PyObject
* obj0
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20115 if (SWIG_arg_fail(1)) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20120 result
= (wxDateTime
*) &_result_ref
;
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20133 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20137 wxDateTime
*result
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 char *kwnames
[] = {
20141 (char *) "self",(char *) "year", NULL
20144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20146 if (SWIG_arg_fail(1)) SWIG_fail
;
20148 arg2
= (int)(SWIG_As_int(obj1
));
20149 if (SWIG_arg_fail(2)) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20155 result
= (wxDateTime
*) &_result_ref
;
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20168 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20171 wxDateTime::Month arg2
;
20172 wxDateTime
*result
;
20173 PyObject
* obj0
= 0 ;
20174 PyObject
* obj1
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "month", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail
;
20183 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20184 if (SWIG_arg_fail(2)) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20190 result
= (wxDateTime
*) &_result_ref
;
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20203 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20207 wxDateTime
*result
;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "day", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20216 if (SWIG_arg_fail(1)) SWIG_fail
;
20218 arg2
= (int)(SWIG_As_int(obj1
));
20219 if (SWIG_arg_fail(2)) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20225 result
= (wxDateTime
*) &_result_ref
;
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20238 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20242 wxDateTime
*result
;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "hour", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 arg2
= (int)(SWIG_As_int(obj1
));
20254 if (SWIG_arg_fail(2)) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20260 result
= (wxDateTime
*) &_result_ref
;
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20273 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20277 wxDateTime
*result
;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "minute", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20286 if (SWIG_arg_fail(1)) SWIG_fail
;
20288 arg2
= (int)(SWIG_As_int(obj1
));
20289 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20295 result
= (wxDateTime
*) &_result_ref
;
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20308 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20312 wxDateTime
*result
;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "second", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20321 if (SWIG_arg_fail(1)) SWIG_fail
;
20323 arg2
= (int)(SWIG_As_int(obj1
));
20324 if (SWIG_arg_fail(2)) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20330 result
= (wxDateTime
*) &_result_ref
;
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20343 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20347 wxDateTime
*result
;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "millisecond", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 arg2
= (int)(SWIG_As_int(obj1
));
20359 if (SWIG_arg_fail(2)) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20365 result
= (wxDateTime
*) &_result_ref
;
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20378 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20381 wxDateTime::WeekDay arg2
;
20382 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20383 wxDateTime
*result
;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail
;
20395 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20396 if (SWIG_arg_fail(2)) SWIG_fail
;
20400 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20401 if (SWIG_arg_fail(3)) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20408 result
= (wxDateTime
*) &_result_ref
;
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20421 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20424 wxDateTime::WeekDay arg2
;
20425 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 PyObject
* obj2
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail
;
20438 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20439 if (SWIG_arg_fail(2)) SWIG_fail
;
20443 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20444 if (SWIG_arg_fail(3)) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20455 wxDateTime
* resultptr
;
20456 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20465 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20468 wxDateTime::WeekDay arg2
;
20469 wxDateTime
*result
;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self",(char *) "weekday", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20478 if (SWIG_arg_fail(1)) SWIG_fail
;
20480 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20481 if (SWIG_arg_fail(2)) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20487 result
= (wxDateTime
*) &_result_ref
;
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20500 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20503 wxDateTime::WeekDay arg2
;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self",(char *) "weekday", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20513 if (SWIG_arg_fail(1)) SWIG_fail
;
20515 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20516 if (SWIG_arg_fail(2)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20526 wxDateTime
* resultptr
;
20527 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20536 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20539 wxDateTime::WeekDay arg2
;
20540 wxDateTime
*result
;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self",(char *) "weekday", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20549 if (SWIG_arg_fail(1)) SWIG_fail
;
20551 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20552 if (SWIG_arg_fail(2)) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20558 result
= (wxDateTime
*) &_result_ref
;
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20571 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20574 wxDateTime::WeekDay arg2
;
20576 PyObject
* obj0
= 0 ;
20577 PyObject
* obj1
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self",(char *) "weekday", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20584 if (SWIG_arg_fail(1)) SWIG_fail
;
20586 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20587 if (SWIG_arg_fail(2)) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20597 wxDateTime
* resultptr
;
20598 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20607 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
;
20609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20610 wxDateTime::WeekDay arg2
;
20611 int arg3
= (int) 1 ;
20612 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20613 int arg5
= (int) wxDateTime::Inv_Year
;
20615 PyObject
* obj0
= 0 ;
20616 PyObject
* obj1
= 0 ;
20617 PyObject
* obj2
= 0 ;
20618 PyObject
* obj3
= 0 ;
20619 PyObject
* obj4
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20626 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20629 if (SWIG_arg_fail(2)) SWIG_fail
;
20633 arg3
= (int)(SWIG_As_int(obj2
));
20634 if (SWIG_arg_fail(3)) SWIG_fail
;
20639 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20640 if (SWIG_arg_fail(4)) SWIG_fail
;
20645 arg5
= (int)(SWIG_As_int(obj4
));
20646 if (SWIG_arg_fail(5)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20665 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20668 wxDateTime::WeekDay arg2
;
20669 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20670 int arg4
= (int) wxDateTime::Inv_Year
;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 PyObject
* obj2
= 0 ;
20675 PyObject
* obj3
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20682 if (SWIG_arg_fail(1)) SWIG_fail
;
20684 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20685 if (SWIG_arg_fail(2)) SWIG_fail
;
20689 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20690 if (SWIG_arg_fail(3)) SWIG_fail
;
20695 arg4
= (int)(SWIG_As_int(obj3
));
20696 if (SWIG_arg_fail(4)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20715 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20718 wxDateTime::WeekDay arg2
;
20719 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20720 int arg4
= (int) wxDateTime::Inv_Year
;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 PyObject
* obj2
= 0 ;
20725 PyObject
* obj3
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20732 if (SWIG_arg_fail(1)) SWIG_fail
;
20734 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20735 if (SWIG_arg_fail(2)) SWIG_fail
;
20739 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20740 if (SWIG_arg_fail(3)) SWIG_fail
;
20745 arg4
= (int)(SWIG_As_int(obj3
));
20746 if (SWIG_arg_fail(4)) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20757 wxDateTime
* resultptr
;
20758 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20767 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20771 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20772 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 PyObject
* obj2
= 0 ;
20777 PyObject
* obj3
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail
;
20786 arg2
= (int)(SWIG_As_int(obj1
));
20787 if (SWIG_arg_fail(2)) SWIG_fail
;
20791 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20792 if (SWIG_arg_fail(3)) SWIG_fail
;
20797 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20798 if (SWIG_arg_fail(4)) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20817 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20821 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20822 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 PyObject
* obj2
= 0 ;
20827 PyObject
* obj3
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20836 arg2
= (int)(SWIG_As_int(obj1
));
20837 if (SWIG_arg_fail(2)) SWIG_fail
;
20841 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20842 if (SWIG_arg_fail(3)) SWIG_fail
;
20847 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20848 if (SWIG_arg_fail(4)) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 wxDateTime
* resultptr
;
20860 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20869 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20873 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 PyObject
* obj2
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20884 arg1
= (int)(SWIG_As_int(obj0
));
20885 if (SWIG_arg_fail(1)) SWIG_fail
;
20888 arg2
= (int)(SWIG_As_int(obj1
));
20889 if (SWIG_arg_fail(2)) SWIG_fail
;
20893 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20894 if (SWIG_arg_fail(3)) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 wxDateTime
* resultptr
;
20906 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20915 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20918 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20919 int arg3
= (int) wxDateTime::Inv_Year
;
20920 wxDateTime
*result
;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 PyObject
* obj2
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self",(char *) "month",(char *) "year", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20930 if (SWIG_arg_fail(1)) SWIG_fail
;
20933 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20934 if (SWIG_arg_fail(2)) SWIG_fail
;
20939 arg3
= (int)(SWIG_As_int(obj2
));
20940 if (SWIG_arg_fail(3)) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20947 result
= (wxDateTime
*) &_result_ref
;
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20960 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20963 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20964 int arg3
= (int) wxDateTime::Inv_Year
;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 PyObject
* obj2
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "month",(char *) "year", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20984 arg3
= (int)(SWIG_As_int(obj2
));
20985 if (SWIG_arg_fail(3)) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 wxDateTime
* resultptr
;
20997 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21006 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21010 wxDateTime
*result
;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self",(char *) "yday", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21019 if (SWIG_arg_fail(1)) SWIG_fail
;
21021 arg2
= (int)(SWIG_As_int(obj1
));
21022 if (SWIG_arg_fail(2)) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21028 result
= (wxDateTime
*) &_result_ref
;
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21041 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self",(char *) "yday", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21054 if (SWIG_arg_fail(1)) SWIG_fail
;
21056 arg2
= (int)(SWIG_As_int(obj1
));
21057 if (SWIG_arg_fail(2)) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= (arg1
)->GetYearDay(arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21067 wxDateTime
* resultptr
;
21068 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21077 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21088 if (SWIG_arg_fail(1)) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (double)(arg1
)->GetJulianDayNumber();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_From_double((double)(result
));
21105 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (double)(arg1
)->GetJDN();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_From_double((double)(result
));
21133 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21144 if (SWIG_arg_fail(1)) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_From_double((double)(result
));
21161 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21172 if (SWIG_arg_fail(1)) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (double)(arg1
)->GetMJD();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= SWIG_From_double((double)(result
));
21189 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (double)(arg1
)->GetRataDie();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_From_double((double)(result
));
21217 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21220 wxDateTime::TimeZone
*arg2
= 0 ;
21221 bool arg3
= (bool) false ;
21223 bool temp2
= false ;
21224 PyObject
* obj0
= 0 ;
21225 PyObject
* obj1
= 0 ;
21226 PyObject
* obj2
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21233 if (SWIG_arg_fail(1)) SWIG_fail
;
21235 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21240 arg3
= (bool)(SWIG_As_bool(obj2
));
21241 if (SWIG_arg_fail(3)) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 wxDateTime
* resultptr
;
21253 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21257 if (temp2
) delete arg2
;
21262 if (temp2
) delete arg2
;
21268 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21271 wxDateTime::TimeZone
*arg2
= 0 ;
21272 bool arg3
= (bool) false ;
21273 wxDateTime
*result
;
21274 bool temp2
= false ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 PyObject
* obj2
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21286 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21291 arg3
= (bool)(SWIG_As_bool(obj2
));
21292 if (SWIG_arg_fail(3)) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21299 result
= (wxDateTime
*) &_result_ref
;
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21307 if (temp2
) delete arg2
;
21312 if (temp2
) delete arg2
;
21318 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21321 bool arg2
= (bool) false ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self",(char *) "noDST", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21331 if (SWIG_arg_fail(1)) SWIG_fail
;
21334 arg2
= (bool)(SWIG_As_bool(obj1
));
21335 if (SWIG_arg_fail(2)) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (arg1
)->ToGMT(arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 wxDateTime
* resultptr
;
21347 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21356 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21359 bool arg2
= (bool) false ;
21360 wxDateTime
*result
;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "noDST", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail
;
21372 arg2
= (bool)(SWIG_As_bool(obj1
));
21373 if (SWIG_arg_fail(2)) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21380 result
= (wxDateTime
*) &_result_ref
;
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21393 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21396 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self",(char *) "country", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21410 if (SWIG_arg_fail(2)) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= SWIG_From_int((int)(result
));
21429 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21440 if (SWIG_arg_fail(1)) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21457 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21468 if (SWIG_arg_fail(1)) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21485 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21488 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21489 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21491 bool temp2
= false ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 char *kwnames
[] = {
21495 (char *) "self",(char *) "tz", NULL
21498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21500 if (SWIG_arg_fail(1)) SWIG_fail
;
21503 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_From_int((int)(result
));
21518 if (temp2
) delete arg2
;
21523 if (temp2
) delete arg2
;
21529 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21532 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21533 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21534 wxDateTime::Month result
;
21535 bool temp2
= false ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "tz", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail
;
21547 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_From_int((result
));
21560 if (temp2
) delete arg2
;
21565 if (temp2
) delete arg2
;
21571 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21574 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21575 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21577 bool temp2
= false ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self",(char *) "tz", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21586 if (SWIG_arg_fail(1)) SWIG_fail
;
21589 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_From_int((int)(result
));
21604 if (temp2
) delete arg2
;
21609 if (temp2
) delete arg2
;
21615 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21618 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21619 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21620 wxDateTime::WeekDay result
;
21621 bool temp2
= false ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "tz", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21630 if (SWIG_arg_fail(1)) SWIG_fail
;
21633 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_From_int((result
));
21646 if (temp2
) delete arg2
;
21651 if (temp2
) delete arg2
;
21657 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21660 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21661 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21663 bool temp2
= false ;
21664 PyObject
* obj0
= 0 ;
21665 PyObject
* obj1
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self",(char *) "tz", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21672 if (SWIG_arg_fail(1)) SWIG_fail
;
21675 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_From_int((int)(result
));
21690 if (temp2
) delete arg2
;
21695 if (temp2
) delete arg2
;
21701 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21704 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21705 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21707 bool temp2
= false ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self",(char *) "tz", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21716 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_From_int((int)(result
));
21734 if (temp2
) delete arg2
;
21739 if (temp2
) delete arg2
;
21745 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21748 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21749 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21751 bool temp2
= false ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "tz", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21760 if (SWIG_arg_fail(1)) SWIG_fail
;
21763 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= SWIG_From_int((int)(result
));
21778 if (temp2
) delete arg2
;
21783 if (temp2
) delete arg2
;
21789 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21792 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21793 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21795 bool temp2
= false ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "tz", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int((int)(result
));
21822 if (temp2
) delete arg2
;
21827 if (temp2
) delete arg2
;
21833 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21836 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21837 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21839 bool temp2
= false ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "tz", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail
;
21851 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_From_int((int)(result
));
21866 if (temp2
) delete arg2
;
21871 if (temp2
) delete arg2
;
21877 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21880 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21881 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21882 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21884 bool temp3
= false ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 PyObject
* obj2
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "flags",(char *) "tz", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail
;
21897 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21898 if (SWIG_arg_fail(2)) SWIG_fail
;
21903 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= SWIG_From_int((int)(result
));
21918 if (temp3
) delete arg3
;
21923 if (temp3
) delete arg3
;
21929 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21932 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21933 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21934 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21936 bool temp3
= false ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 PyObject
* obj2
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "flags",(char *) "tz", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21946 if (SWIG_arg_fail(1)) SWIG_fail
;
21949 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21950 if (SWIG_arg_fail(2)) SWIG_fail
;
21955 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_From_int((int)(result
));
21970 if (temp3
) delete arg3
;
21975 if (temp3
) delete arg3
;
21981 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21984 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "country", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail
;
21997 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21998 if (SWIG_arg_fail(2)) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22017 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22020 wxDateTime
*arg2
= 0 ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self",(char *) "datetime", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22030 if (SWIG_arg_fail(1)) SWIG_fail
;
22032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(2)) SWIG_fail
;
22034 if (arg2
== NULL
) {
22035 SWIG_null_ref("wxDateTime");
22037 if (SWIG_arg_fail(2)) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22055 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22058 wxDateTime
*arg2
= 0 ;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "datetime", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail
;
22070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(2)) SWIG_fail
;
22072 if (arg2
== NULL
) {
22073 SWIG_null_ref("wxDateTime");
22075 if (SWIG_arg_fail(2)) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22093 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22096 wxDateTime
*arg2
= 0 ;
22098 PyObject
* obj0
= 0 ;
22099 PyObject
* obj1
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self",(char *) "datetime", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22106 if (SWIG_arg_fail(1)) SWIG_fail
;
22108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22109 if (SWIG_arg_fail(2)) SWIG_fail
;
22110 if (arg2
== NULL
) {
22111 SWIG_null_ref("wxDateTime");
22113 if (SWIG_arg_fail(2)) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22131 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22134 wxDateTime
*arg2
= 0 ;
22135 wxDateTime
*arg3
= 0 ;
22137 PyObject
* obj0
= 0 ;
22138 PyObject
* obj1
= 0 ;
22139 PyObject
* obj2
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "t1",(char *) "t2", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(1)) SWIG_fail
;
22148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22149 if (SWIG_arg_fail(2)) SWIG_fail
;
22150 if (arg2
== NULL
) {
22151 SWIG_null_ref("wxDateTime");
22153 if (SWIG_arg_fail(2)) SWIG_fail
;
22156 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22157 if (SWIG_arg_fail(3)) SWIG_fail
;
22158 if (arg3
== NULL
) {
22159 SWIG_null_ref("wxDateTime");
22161 if (SWIG_arg_fail(3)) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22179 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22182 wxDateTime
*arg2
= 0 ;
22183 wxDateTime
*arg3
= 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 PyObject
* obj2
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self",(char *) "t1",(char *) "t2", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22194 if (SWIG_arg_fail(1)) SWIG_fail
;
22196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22197 if (SWIG_arg_fail(2)) SWIG_fail
;
22198 if (arg2
== NULL
) {
22199 SWIG_null_ref("wxDateTime");
22201 if (SWIG_arg_fail(2)) SWIG_fail
;
22204 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(3)) SWIG_fail
;
22206 if (arg3
== NULL
) {
22207 SWIG_null_ref("wxDateTime");
22209 if (SWIG_arg_fail(3)) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22227 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22230 wxDateTime
*arg2
= 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "dt", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(2)) SWIG_fail
;
22244 if (arg2
== NULL
) {
22245 SWIG_null_ref("wxDateTime");
22247 if (SWIG_arg_fail(2)) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22265 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22268 wxDateTime
*arg2
= 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "dt", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail
;
22280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22281 if (SWIG_arg_fail(2)) SWIG_fail
;
22282 if (arg2
== NULL
) {
22283 SWIG_null_ref("wxDateTime");
22285 if (SWIG_arg_fail(2)) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22303 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22306 wxDateTime
*arg2
= 0 ;
22307 wxTimeSpan
*arg3
= 0 ;
22309 PyObject
* obj0
= 0 ;
22310 PyObject
* obj1
= 0 ;
22311 PyObject
* obj2
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "dt",(char *) "ts", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22321 if (SWIG_arg_fail(2)) SWIG_fail
;
22322 if (arg2
== NULL
) {
22323 SWIG_null_ref("wxDateTime");
22325 if (SWIG_arg_fail(2)) SWIG_fail
;
22328 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22329 if (SWIG_arg_fail(3)) SWIG_fail
;
22330 if (arg3
== NULL
) {
22331 SWIG_null_ref("wxTimeSpan");
22333 if (SWIG_arg_fail(3)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22351 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22354 wxTimeSpan
*arg2
= 0 ;
22355 wxDateTime
*result
;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "diff", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22367 if (SWIG_arg_fail(2)) SWIG_fail
;
22368 if (arg2
== NULL
) {
22369 SWIG_null_ref("wxTimeSpan");
22371 if (SWIG_arg_fail(2)) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22377 result
= (wxDateTime
*) &_result_ref
;
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22390 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22393 wxDateSpan
*arg2
= 0 ;
22394 wxDateTime
*result
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "diff", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail
;
22405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22406 if (SWIG_arg_fail(2)) SWIG_fail
;
22407 if (arg2
== NULL
) {
22408 SWIG_null_ref("wxDateSpan");
22410 if (SWIG_arg_fail(2)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22416 result
= (wxDateTime
*) &_result_ref
;
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22429 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22432 wxTimeSpan
*arg2
= 0 ;
22433 wxDateTime
*result
;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self",(char *) "diff", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22442 if (SWIG_arg_fail(1)) SWIG_fail
;
22444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22445 if (SWIG_arg_fail(2)) SWIG_fail
;
22446 if (arg2
== NULL
) {
22447 SWIG_null_ref("wxTimeSpan");
22449 if (SWIG_arg_fail(2)) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22455 result
= (wxDateTime
*) &_result_ref
;
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22468 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22471 wxDateSpan
*arg2
= 0 ;
22472 wxDateTime
*result
;
22473 PyObject
* obj0
= 0 ;
22474 PyObject
* obj1
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self",(char *) "diff", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22481 if (SWIG_arg_fail(1)) SWIG_fail
;
22483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22484 if (SWIG_arg_fail(2)) SWIG_fail
;
22485 if (arg2
== NULL
) {
22486 SWIG_null_ref("wxDateSpan");
22488 if (SWIG_arg_fail(2)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22494 result
= (wxDateTime
*) &_result_ref
;
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22507 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22510 wxDateTime
*arg2
= 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self",(char *) "dt", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22520 if (SWIG_arg_fail(1)) SWIG_fail
;
22522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(2)) SWIG_fail
;
22524 if (arg2
== NULL
) {
22525 SWIG_null_ref("wxDateTime");
22527 if (SWIG_arg_fail(2)) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22537 wxTimeSpan
* resultptr
;
22538 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22547 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22548 PyObject
*resultobj
;
22549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22550 wxTimeSpan
*arg2
= 0 ;
22551 wxDateTime
*result
;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22555 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22560 if (SWIG_arg_fail(2)) SWIG_fail
;
22561 if (arg2
== NULL
) {
22562 SWIG_null_ref("wxTimeSpan");
22564 if (SWIG_arg_fail(2)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22570 result
= (wxDateTime
*) &_result_ref
;
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22583 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22584 PyObject
*resultobj
;
22585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22586 wxDateSpan
*arg2
= 0 ;
22587 wxDateTime
*result
;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22591 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail
;
22597 if (arg2
== NULL
) {
22598 SWIG_null_ref("wxDateSpan");
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22606 result
= (wxDateTime
*) &_result_ref
;
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22619 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22624 argc
= PyObject_Length(args
);
22625 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22626 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22632 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22642 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22650 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22658 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22668 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22676 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22681 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22686 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22687 PyObject
*resultobj
;
22688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22689 wxTimeSpan
*arg2
= 0 ;
22690 wxDateTime
*result
;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22694 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22696 if (SWIG_arg_fail(1)) SWIG_fail
;
22698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22699 if (SWIG_arg_fail(2)) SWIG_fail
;
22700 if (arg2
== NULL
) {
22701 SWIG_null_ref("wxTimeSpan");
22703 if (SWIG_arg_fail(2)) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22709 result
= (wxDateTime
*) &_result_ref
;
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22722 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22723 PyObject
*resultobj
;
22724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22725 wxDateSpan
*arg2
= 0 ;
22726 wxDateTime
*result
;
22727 PyObject
* obj0
= 0 ;
22728 PyObject
* obj1
= 0 ;
22730 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22732 if (SWIG_arg_fail(1)) SWIG_fail
;
22734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(2)) SWIG_fail
;
22736 if (arg2
== NULL
) {
22737 SWIG_null_ref("wxDateSpan");
22739 if (SWIG_arg_fail(2)) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22745 result
= (wxDateTime
*) &_result_ref
;
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22758 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22763 argc
= PyObject_Length(args
);
22764 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22765 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22781 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22789 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22797 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22807 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22815 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22820 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22825 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22826 PyObject
*resultobj
;
22827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22828 wxTimeSpan
*arg2
= 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22833 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22835 if (SWIG_arg_fail(1)) SWIG_fail
;
22837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22838 if (SWIG_arg_fail(2)) SWIG_fail
;
22839 if (arg2
== NULL
) {
22840 SWIG_null_ref("wxTimeSpan");
22842 if (SWIG_arg_fail(2)) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 wxDateTime
* resultptr
;
22853 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22862 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22863 PyObject
*resultobj
;
22864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22865 wxDateSpan
*arg2
= 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22870 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22875 if (SWIG_arg_fail(2)) SWIG_fail
;
22876 if (arg2
== NULL
) {
22877 SWIG_null_ref("wxDateSpan");
22879 if (SWIG_arg_fail(2)) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22889 wxDateTime
* resultptr
;
22890 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22899 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22904 argc
= PyObject_Length(args
);
22905 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22906 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22912 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22922 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22930 return _wrap_DateTime___add____SWIG_0(self
,args
);
22938 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22948 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22956 return _wrap_DateTime___add____SWIG_1(self
,args
);
22961 Py_INCREF(Py_NotImplemented
);
22962 return Py_NotImplemented
;
22966 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22967 PyObject
*resultobj
;
22968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22969 wxDateTime
*arg2
= 0 ;
22971 PyObject
* obj0
= 0 ;
22972 PyObject
* obj1
= 0 ;
22974 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22976 if (SWIG_arg_fail(1)) SWIG_fail
;
22978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22979 if (SWIG_arg_fail(2)) SWIG_fail
;
22980 if (arg2
== NULL
) {
22981 SWIG_null_ref("wxDateTime");
22983 if (SWIG_arg_fail(2)) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22993 wxTimeSpan
* resultptr
;
22994 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23003 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23004 PyObject
*resultobj
;
23005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23006 wxTimeSpan
*arg2
= 0 ;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23011 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23013 if (SWIG_arg_fail(1)) SWIG_fail
;
23015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23016 if (SWIG_arg_fail(2)) SWIG_fail
;
23017 if (arg2
== NULL
) {
23018 SWIG_null_ref("wxTimeSpan");
23020 if (SWIG_arg_fail(2)) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 wxDateTime
* resultptr
;
23031 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23040 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23041 PyObject
*resultobj
;
23042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23043 wxDateSpan
*arg2
= 0 ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23048 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23050 if (SWIG_arg_fail(1)) SWIG_fail
;
23052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(2)) SWIG_fail
;
23054 if (arg2
== NULL
) {
23055 SWIG_null_ref("wxDateSpan");
23057 if (SWIG_arg_fail(2)) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 wxDateTime
* resultptr
;
23068 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23077 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23082 argc
= PyObject_Length(args
);
23083 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23084 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23090 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23100 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23108 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23126 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23134 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23160 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23165 Py_INCREF(Py_NotImplemented
);
23166 return Py_NotImplemented
;
23170 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23173 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self",(char *) "other", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23183 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23185 if (SWIG_arg_fail(2)) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23202 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23205 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "other", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(2)) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23234 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23237 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self",(char *) "other", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23247 if (SWIG_arg_fail(1)) SWIG_fail
;
23248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(2)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23269 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "other", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail
;
23280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23281 if (SWIG_arg_fail(2)) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23298 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23301 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "other", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23330 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23333 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "other", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23343 if (SWIG_arg_fail(1)) SWIG_fail
;
23344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23345 if (SWIG_arg_fail(2)) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23362 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23365 wxString
*arg2
= 0 ;
23367 bool temp2
= false ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "date", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23376 if (SWIG_arg_fail(1)) SWIG_fail
;
23378 arg2
= wxString_in_helper(obj1
);
23379 if (arg2
== NULL
) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_From_int((int)(result
));
23406 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23409 wxString
*arg2
= 0 ;
23410 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23412 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23413 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23415 bool temp2
= false ;
23416 bool temp3
= false ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 PyObject
* obj2
= 0 ;
23420 PyObject
* obj3
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail
;
23429 arg2
= wxString_in_helper(obj1
);
23430 if (arg2
== NULL
) SWIG_fail
;
23435 arg3
= wxString_in_helper(obj2
);
23436 if (arg3
== NULL
) SWIG_fail
;
23442 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23443 if (SWIG_arg_fail(4)) SWIG_fail
;
23444 if (arg4
== NULL
) {
23445 SWIG_null_ref("wxDateTime");
23447 if (SWIG_arg_fail(4)) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_From_int((int)(result
));
23482 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23485 wxString
*arg2
= 0 ;
23487 bool temp2
= false ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "datetime", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail
;
23498 arg2
= wxString_in_helper(obj1
);
23499 if (arg2
== NULL
) SWIG_fail
;
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_From_int((int)(result
));
23526 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23529 wxString
*arg2
= 0 ;
23531 bool temp2
= false ;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "date", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 arg2
= wxString_in_helper(obj1
);
23543 if (arg2
== NULL
) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_From_int((int)(result
));
23570 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23573 wxString
*arg2
= 0 ;
23575 bool temp2
= false ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self",(char *) "time", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23584 if (SWIG_arg_fail(1)) SWIG_fail
;
23586 arg2
= wxString_in_helper(obj1
);
23587 if (arg2
== NULL
) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_From_int((int)(result
));
23614 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23617 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23618 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23619 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23620 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23622 bool temp2
= false ;
23623 bool temp3
= false ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 PyObject
* obj2
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "format",(char *) "tz", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail
;
23636 arg2
= wxString_in_helper(obj1
);
23637 if (arg2
== NULL
) SWIG_fail
;
23643 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23666 if (temp3
) delete arg3
;
23675 if (temp3
) delete arg3
;
23681 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23713 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23745 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23777 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23809 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23812 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23814 return Py_BuildValue((char *)"");
23816 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23820 PyObject
* obj0
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "sec", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23827 arg1
= (long)(SWIG_As_long(obj0
));
23828 if (SWIG_arg_fail(1)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= wxTimeSpan::Seconds(arg1
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 wxTimeSpan
* resultptr
;
23839 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23848 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23851 char *kwnames
[] = {
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= wxTimeSpan::Second();
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23864 wxTimeSpan
* resultptr
;
23865 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23874 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23878 PyObject
* obj0
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "min", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23885 arg1
= (long)(SWIG_As_long(obj0
));
23886 if (SWIG_arg_fail(1)) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= wxTimeSpan::Minutes(arg1
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23896 wxTimeSpan
* resultptr
;
23897 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23906 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23909 char *kwnames
[] = {
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= wxTimeSpan::Minute();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 wxTimeSpan
* resultptr
;
23923 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23932 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "hours", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23943 arg1
= (long)(SWIG_As_long(obj0
));
23944 if (SWIG_arg_fail(1)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= wxTimeSpan::Hours(arg1
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 wxTimeSpan
* resultptr
;
23955 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23964 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23967 char *kwnames
[] = {
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= wxTimeSpan::Hour();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23980 wxTimeSpan
* resultptr
;
23981 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23990 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23994 PyObject
* obj0
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "days", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24001 arg1
= (long)(SWIG_As_long(obj0
));
24002 if (SWIG_arg_fail(1)) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= wxTimeSpan::Days(arg1
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 wxTimeSpan
* resultptr
;
24013 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24022 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24025 char *kwnames
[] = {
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= wxTimeSpan::Day();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 wxTimeSpan
* resultptr
;
24039 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24048 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "days", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24059 arg1
= (long)(SWIG_As_long(obj0
));
24060 if (SWIG_arg_fail(1)) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= wxTimeSpan::Weeks(arg1
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 wxTimeSpan
* resultptr
;
24071 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24080 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24083 char *kwnames
[] = {
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= wxTimeSpan::Week();
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 wxTimeSpan
* resultptr
;
24097 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24106 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 long arg1
= (long) 0 ;
24109 long arg2
= (long) 0 ;
24110 long arg3
= (long) 0 ;
24111 long arg4
= (long) 0 ;
24112 wxTimeSpan
*result
;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 PyObject
* obj2
= 0 ;
24116 PyObject
* obj3
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24124 arg1
= (long)(SWIG_As_long(obj0
));
24125 if (SWIG_arg_fail(1)) SWIG_fail
;
24130 arg2
= (long)(SWIG_As_long(obj1
));
24131 if (SWIG_arg_fail(2)) SWIG_fail
;
24136 arg3
= (long)(SWIG_As_long(obj2
));
24137 if (SWIG_arg_fail(3)) SWIG_fail
;
24142 arg4
= (long)(SWIG_As_long(obj3
));
24143 if (SWIG_arg_fail(4)) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24160 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24188 wxTimeSpan
*arg2
= 0 ;
24189 wxTimeSpan
*result
;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "diff", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24198 if (SWIG_arg_fail(1)) SWIG_fail
;
24200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24201 if (SWIG_arg_fail(2)) SWIG_fail
;
24202 if (arg2
== NULL
) {
24203 SWIG_null_ref("wxTimeSpan");
24205 if (SWIG_arg_fail(2)) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24211 result
= (wxTimeSpan
*) &_result_ref
;
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24224 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24227 wxTimeSpan
*arg2
= 0 ;
24228 wxTimeSpan
*result
;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "diff", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24237 if (SWIG_arg_fail(1)) SWIG_fail
;
24239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24240 if (SWIG_arg_fail(2)) SWIG_fail
;
24241 if (arg2
== NULL
) {
24242 SWIG_null_ref("wxTimeSpan");
24244 if (SWIG_arg_fail(2)) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24250 result
= (wxTimeSpan
*) &_result_ref
;
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24263 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24267 wxTimeSpan
*result
;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "n", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24276 if (SWIG_arg_fail(1)) SWIG_fail
;
24278 arg2
= (int)(SWIG_As_int(obj1
));
24279 if (SWIG_arg_fail(2)) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24285 result
= (wxTimeSpan
*) &_result_ref
;
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24298 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24301 wxTimeSpan
*result
;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24314 result
= (wxTimeSpan
*) &_result_ref
;
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24327 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24338 if (SWIG_arg_fail(1)) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24347 wxTimeSpan
* resultptr
;
24348 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24357 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24360 wxTimeSpan
*arg2
= 0 ;
24361 wxTimeSpan
*result
;
24362 PyObject
* obj0
= 0 ;
24363 PyObject
* obj1
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self",(char *) "diff", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24370 if (SWIG_arg_fail(1)) SWIG_fail
;
24372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24373 if (SWIG_arg_fail(2)) SWIG_fail
;
24374 if (arg2
== NULL
) {
24375 SWIG_null_ref("wxTimeSpan");
24377 if (SWIG_arg_fail(2)) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24383 result
= (wxTimeSpan
*) &_result_ref
;
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24396 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24399 wxTimeSpan
*arg2
= 0 ;
24400 wxTimeSpan
*result
;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "diff", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24409 if (SWIG_arg_fail(1)) SWIG_fail
;
24411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(2)) SWIG_fail
;
24413 if (arg2
== NULL
) {
24414 SWIG_null_ref("wxTimeSpan");
24416 if (SWIG_arg_fail(2)) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24422 result
= (wxTimeSpan
*) &_result_ref
;
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24435 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24439 wxTimeSpan
*result
;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self",(char *) "n", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24448 if (SWIG_arg_fail(1)) SWIG_fail
;
24450 arg2
= (int)(SWIG_As_int(obj1
));
24451 if (SWIG_arg_fail(2)) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24457 result
= (wxTimeSpan
*) &_result_ref
;
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24470 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24473 wxTimeSpan
*result
;
24474 PyObject
* obj0
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24486 result
= (wxTimeSpan
*) &_result_ref
;
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24499 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24502 wxTimeSpan
*arg2
= 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self",(char *) "other", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail
;
24514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(2)) SWIG_fail
;
24516 if (arg2
== NULL
) {
24517 SWIG_null_ref("wxTimeSpan");
24519 if (SWIG_arg_fail(2)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24529 wxTimeSpan
* resultptr
;
24530 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24539 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24542 wxTimeSpan
*arg2
= 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "other", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24552 if (SWIG_arg_fail(1)) SWIG_fail
;
24554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24555 if (SWIG_arg_fail(2)) SWIG_fail
;
24556 if (arg2
== NULL
) {
24557 SWIG_null_ref("wxTimeSpan");
24559 if (SWIG_arg_fail(2)) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 wxTimeSpan
* resultptr
;
24570 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24579 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self",(char *) "n", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 arg2
= (int)(SWIG_As_int(obj1
));
24595 if (SWIG_arg_fail(2)) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= wxTimeSpan___mul__(arg1
,arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 wxTimeSpan
* resultptr
;
24606 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24615 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "n", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail
;
24630 arg2
= (int)(SWIG_As_int(obj1
));
24631 if (SWIG_arg_fail(2)) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24641 wxTimeSpan
* resultptr
;
24642 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24651 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24654 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "other", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24664 if (SWIG_arg_fail(1)) SWIG_fail
;
24665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24666 if (SWIG_arg_fail(2)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24686 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "other", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(2)) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24718 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "other", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24730 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24750 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "other", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail
;
24761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24762 if (SWIG_arg_fail(2)) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24782 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "other", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24792 if (SWIG_arg_fail(1)) SWIG_fail
;
24793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24794 if (SWIG_arg_fail(2)) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24811 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24814 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self",(char *) "other", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail
;
24825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24826 if (SWIG_arg_fail(2)) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24843 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24871 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24899 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24910 if (SWIG_arg_fail(1)) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24927 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24930 wxTimeSpan
*arg2
= 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self",(char *) "ts", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(2)) SWIG_fail
;
24944 if (arg2
== NULL
) {
24945 SWIG_null_ref("wxTimeSpan");
24947 if (SWIG_arg_fail(2)) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24965 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24968 wxTimeSpan
*arg2
= 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 char *kwnames
[] = {
24973 (char *) "self",(char *) "ts", NULL
24976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24978 if (SWIG_arg_fail(1)) SWIG_fail
;
24980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24981 if (SWIG_arg_fail(2)) SWIG_fail
;
24982 if (arg2
== NULL
) {
24983 SWIG_null_ref("wxTimeSpan");
24985 if (SWIG_arg_fail(2)) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25003 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25006 wxTimeSpan
*arg2
= 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self",(char *) "t", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail
;
25018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25019 if (SWIG_arg_fail(2)) SWIG_fail
;
25020 if (arg2
== NULL
) {
25021 SWIG_null_ref("wxTimeSpan");
25023 if (SWIG_arg_fail(2)) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25041 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25045 PyObject
* obj0
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25052 if (SWIG_arg_fail(1)) SWIG_fail
;
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_From_int((int)(result
));
25069 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25080 if (SWIG_arg_fail(1)) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_From_int((int)(result
));
25097 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_From_int((int)(result
));
25125 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_From_int((int)(result
));
25153 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25164 if (SWIG_arg_fail(1)) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25174 hi
= PyLong_FromLong( (&result
)->GetHi() );
25175 lo
= PyLong_FromLong( (&result
)->GetLo() );
25176 shifter
= PyLong_FromLong(32);
25177 shifted
= PyNumber_Lshift(hi
, shifter
);
25178 resultobj
= PyNumber_Or(shifted
, lo
);
25181 Py_DECREF(shifter
);
25182 Py_DECREF(shifted
);
25190 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25210 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25211 hi
= PyLong_FromLong( (&result
)->GetHi() );
25212 lo
= PyLong_FromLong( (&result
)->GetLo() );
25213 shifter
= PyLong_FromLong(32);
25214 shifted
= PyNumber_Lshift(hi
, shifter
);
25215 resultobj
= PyNumber_Or(shifted
, lo
);
25218 Py_DECREF(shifter
);
25219 Py_DECREF(shifted
);
25227 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25230 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25231 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25233 bool temp2
= false ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "format", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail
;
25245 arg2
= wxString_in_helper(obj1
);
25246 if (arg2
== NULL
) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25278 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25281 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25283 return Py_BuildValue((char *)"");
25285 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 int arg1
= (int) 0 ;
25288 int arg2
= (int) 0 ;
25289 int arg3
= (int) 0 ;
25290 int arg4
= (int) 0 ;
25291 wxDateSpan
*result
;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 PyObject
* obj2
= 0 ;
25295 PyObject
* obj3
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25303 arg1
= (int)(SWIG_As_int(obj0
));
25304 if (SWIG_arg_fail(1)) SWIG_fail
;
25309 arg2
= (int)(SWIG_As_int(obj1
));
25310 if (SWIG_arg_fail(2)) SWIG_fail
;
25315 arg3
= (int)(SWIG_As_int(obj2
));
25316 if (SWIG_arg_fail(3)) SWIG_fail
;
25321 arg4
= (int)(SWIG_As_int(obj3
));
25322 if (SWIG_arg_fail(4)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25339 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25342 PyObject
* obj0
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25349 if (SWIG_arg_fail(1)) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25368 PyObject
* obj0
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "days", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25375 arg1
= (int)(SWIG_As_int(obj0
));
25376 if (SWIG_arg_fail(1)) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= wxDateSpan::Days(arg1
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25386 wxDateSpan
* resultptr
;
25387 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25396 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25399 char *kwnames
[] = {
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 result
= wxDateSpan::Day();
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 wxDateSpan
* resultptr
;
25413 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25422 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "weeks", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25433 arg1
= (int)(SWIG_As_int(obj0
));
25434 if (SWIG_arg_fail(1)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= wxDateSpan::Weeks(arg1
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 wxDateSpan
* resultptr
;
25445 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25454 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25457 char *kwnames
[] = {
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= wxDateSpan::Week();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 wxDateSpan
* resultptr
;
25471 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25480 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "mon", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25491 arg1
= (int)(SWIG_As_int(obj0
));
25492 if (SWIG_arg_fail(1)) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= wxDateSpan::Months(arg1
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25502 wxDateSpan
* resultptr
;
25503 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25512 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25515 char *kwnames
[] = {
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= wxDateSpan::Month();
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25528 wxDateSpan
* resultptr
;
25529 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25538 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25542 PyObject
* obj0
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "years", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25549 arg1
= (int)(SWIG_As_int(obj0
));
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= wxDateSpan::Years(arg1
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25560 wxDateSpan
* resultptr
;
25561 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25570 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25573 char *kwnames
[] = {
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= wxDateSpan::Year();
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 wxDateSpan
* resultptr
;
25587 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25596 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25600 wxDateSpan
*result
;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 char *kwnames
[] = {
25604 (char *) "self",(char *) "n", NULL
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail
;
25611 arg2
= (int)(SWIG_As_int(obj1
));
25612 if (SWIG_arg_fail(2)) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25618 result
= (wxDateSpan
*) &_result_ref
;
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25631 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25635 wxDateSpan
*result
;
25636 PyObject
* obj0
= 0 ;
25637 PyObject
* obj1
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self",(char *) "n", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25644 if (SWIG_arg_fail(1)) SWIG_fail
;
25646 arg2
= (int)(SWIG_As_int(obj1
));
25647 if (SWIG_arg_fail(2)) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25653 result
= (wxDateSpan
*) &_result_ref
;
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25666 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25670 wxDateSpan
*result
;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self",(char *) "n", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 arg2
= (int)(SWIG_As_int(obj1
));
25682 if (SWIG_arg_fail(2)) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25688 result
= (wxDateSpan
*) &_result_ref
;
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25701 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25705 wxDateSpan
*result
;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self",(char *) "n", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25714 if (SWIG_arg_fail(1)) SWIG_fail
;
25716 arg2
= (int)(SWIG_As_int(obj1
));
25717 if (SWIG_arg_fail(2)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25723 result
= (wxDateSpan
*) &_result_ref
;
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25736 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25740 PyObject
* obj0
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25747 if (SWIG_arg_fail(1)) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_From_int((int)(result
));
25764 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25775 if (SWIG_arg_fail(1)) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= SWIG_From_int((int)(result
));
25792 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25796 PyObject
* obj0
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25803 if (SWIG_arg_fail(1)) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= SWIG_From_int((int)(result
));
25820 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
;
25822 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25824 PyObject
* obj0
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25831 if (SWIG_arg_fail(1)) SWIG_fail
;
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_From_int((int)(result
));
25848 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
;
25850 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_From_int((int)(result
));
25876 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25879 wxDateSpan
*arg2
= 0 ;
25880 wxDateSpan
*result
;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "other", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail
;
25891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25892 if (SWIG_arg_fail(2)) SWIG_fail
;
25893 if (arg2
== NULL
) {
25894 SWIG_null_ref("wxDateSpan");
25896 if (SWIG_arg_fail(2)) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25902 result
= (wxDateSpan
*) &_result_ref
;
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25915 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25918 wxDateSpan
*arg2
= 0 ;
25919 wxDateSpan
*result
;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "other", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail
;
25930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(2)) SWIG_fail
;
25932 if (arg2
== NULL
) {
25933 SWIG_null_ref("wxDateSpan");
25935 if (SWIG_arg_fail(2)) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25941 result
= (wxDateSpan
*) &_result_ref
;
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25954 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25955 PyObject
*resultobj
;
25956 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25957 wxDateSpan
*result
;
25958 PyObject
* obj0
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25970 result
= (wxDateSpan
*) &_result_ref
;
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25983 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25987 wxDateSpan
*result
;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "factor", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 arg2
= (int)(SWIG_As_int(obj1
));
25999 if (SWIG_arg_fail(2)) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26005 result
= (wxDateSpan
*) &_result_ref
;
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26018 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26021 wxDateSpan
*arg2
= 0 ;
26022 wxDateSpan
*result
;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "other", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26031 if (SWIG_arg_fail(1)) SWIG_fail
;
26033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26034 if (SWIG_arg_fail(2)) SWIG_fail
;
26035 if (arg2
== NULL
) {
26036 SWIG_null_ref("wxDateSpan");
26038 if (SWIG_arg_fail(2)) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26044 result
= (wxDateSpan
*) &_result_ref
;
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26057 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26060 wxDateSpan
*arg2
= 0 ;
26061 wxDateSpan
*result
;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "other", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26070 if (SWIG_arg_fail(1)) SWIG_fail
;
26072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(2)) SWIG_fail
;
26074 if (arg2
== NULL
) {
26075 SWIG_null_ref("wxDateSpan");
26077 if (SWIG_arg_fail(2)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26083 result
= (wxDateSpan
*) &_result_ref
;
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26096 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26099 wxDateSpan
*result
;
26100 PyObject
* obj0
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26107 if (SWIG_arg_fail(1)) SWIG_fail
;
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26112 result
= (wxDateSpan
*) &_result_ref
;
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26125 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26129 wxDateSpan
*result
;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self",(char *) "factor", NULL
26136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26138 if (SWIG_arg_fail(1)) SWIG_fail
;
26140 arg2
= (int)(SWIG_As_int(obj1
));
26141 if (SWIG_arg_fail(2)) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26147 result
= (wxDateSpan
*) &_result_ref
;
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26160 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
;
26162 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26163 wxDateSpan
*arg2
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "other", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26173 if (SWIG_arg_fail(1)) SWIG_fail
;
26175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(2)) SWIG_fail
;
26177 if (arg2
== NULL
) {
26178 SWIG_null_ref("wxDateSpan");
26180 if (SWIG_arg_fail(2)) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26190 wxDateSpan
* resultptr
;
26191 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26200 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26203 wxDateSpan
*arg2
= 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self",(char *) "other", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26217 if (arg2
== NULL
) {
26218 SWIG_null_ref("wxDateSpan");
26220 if (SWIG_arg_fail(2)) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26230 wxDateSpan
* resultptr
;
26231 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26240 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self",(char *) "n", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26253 if (SWIG_arg_fail(1)) SWIG_fail
;
26255 arg2
= (int)(SWIG_As_int(obj1
));
26256 if (SWIG_arg_fail(2)) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= wxDateSpan___mul__(arg1
,arg2
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26266 wxDateSpan
* resultptr
;
26267 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26276 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26281 PyObject
* obj0
= 0 ;
26282 PyObject
* obj1
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self",(char *) "n", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26289 if (SWIG_arg_fail(1)) SWIG_fail
;
26291 arg2
= (int)(SWIG_As_int(obj1
));
26292 if (SWIG_arg_fail(2)) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 result
= wxDateSpan___rmul__(arg1
,arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26302 wxDateSpan
* resultptr
;
26303 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26312 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26315 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "other", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26325 if (SWIG_arg_fail(1)) SWIG_fail
;
26326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26327 if (SWIG_arg_fail(2)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26347 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "other", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26357 if (SWIG_arg_fail(1)) SWIG_fail
;
26358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(2)) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26376 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26379 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26381 return Py_BuildValue((char *)"");
26383 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26386 char *kwnames
[] = {
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 result
= (long)wxGetLocalTime();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_From_long((long)(result
));
26407 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26410 char *kwnames
[] = {
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (long)wxGetUTCTime();
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= SWIG_From_long((long)(result
));
26431 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26434 char *kwnames
[] = {
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (long)wxGetCurrentTime();
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= SWIG_From_long((long)(result
));
26455 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26458 char *kwnames
[] = {
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= wxGetLocalTimeMillis();
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26471 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26472 hi
= PyLong_FromLong( (&result
)->GetHi() );
26473 lo
= PyLong_FromLong( (&result
)->GetLo() );
26474 shifter
= PyLong_FromLong(32);
26475 shifted
= PyNumber_Lshift(hi
, shifter
);
26476 resultobj
= PyNumber_Or(shifted
, lo
);
26479 Py_DECREF(shifter
);
26480 Py_DECREF(shifted
);
26488 static int _wrap_DefaultDateTime_set(PyObject
*) {
26489 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26494 static PyObject
*_wrap_DefaultDateTime_get(void) {
26497 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26502 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxDataFormatId arg1
;
26505 wxDataFormat
*result
;
26506 PyObject
* obj0
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "type", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26513 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26514 if (SWIG_arg_fail(1)) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26530 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxString
*arg1
= 0 ;
26533 wxDataFormat
*result
;
26534 bool temp1
= false ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "format", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26542 arg1
= wxString_in_helper(obj0
);
26543 if (arg1
== NULL
) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26568 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26578 if (SWIG_arg_fail(1)) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 Py_INCREF(Py_None
); resultobj
= Py_None
;
26593 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26594 PyObject
*resultobj
;
26595 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26596 wxDataFormatId arg2
;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26601 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26603 if (SWIG_arg_fail(1)) SWIG_fail
;
26605 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26606 if (SWIG_arg_fail(2)) SWIG_fail
;
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26624 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26625 PyObject
*resultobj
;
26626 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26627 wxDataFormatId arg2
;
26629 PyObject
* obj0
= 0 ;
26630 PyObject
* obj1
= 0 ;
26632 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26636 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26637 if (SWIG_arg_fail(2)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26655 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26656 PyObject
*resultobj
;
26657 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26658 wxDataFormat
*arg2
= 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26663 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail
;
26667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26668 if (SWIG_arg_fail(2)) SWIG_fail
;
26669 if (arg2
== NULL
) {
26670 SWIG_null_ref("wxDataFormat");
26672 if (SWIG_arg_fail(2)) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26690 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26695 argc
= PyObject_Length(args
);
26696 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26697 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26703 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26713 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26721 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26729 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26737 _v
= SWIG_Check_int(argv
[1]);
26739 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26744 Py_INCREF(Py_NotImplemented
);
26745 return Py_NotImplemented
;
26749 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26750 PyObject
*resultobj
;
26751 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26752 wxDataFormat
*arg2
= 0 ;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26757 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26759 if (SWIG_arg_fail(1)) SWIG_fail
;
26761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26762 if (SWIG_arg_fail(2)) SWIG_fail
;
26763 if (arg2
== NULL
) {
26764 SWIG_null_ref("wxDataFormat");
26766 if (SWIG_arg_fail(2)) SWIG_fail
;
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26784 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26789 argc
= PyObject_Length(args
);
26790 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26791 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26797 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26807 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26815 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26823 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26831 _v
= SWIG_Check_int(argv
[1]);
26833 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26838 Py_INCREF(Py_NotImplemented
);
26839 return Py_NotImplemented
;
26843 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26846 wxDataFormatId arg2
;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "format", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail
;
26857 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26858 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->SetType((wxDataFormatId
)arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 Py_INCREF(Py_None
); resultobj
= Py_None
;
26874 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
;
26876 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26877 wxDataFormatId result
;
26878 PyObject
* obj0
= 0 ;
26879 char *kwnames
[] = {
26880 (char *) "self", NULL
26883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26885 if (SWIG_arg_fail(1)) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_From_int((result
));
26900 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26904 PyObject
* obj0
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self", NULL
26909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26911 if (SWIG_arg_fail(1)) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= ((wxDataFormat
const *)arg1
)->GetId();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26932 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26935 wxString
*arg2
= 0 ;
26936 bool temp2
= false ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "format", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26945 if (SWIG_arg_fail(1)) SWIG_fail
;
26947 arg2
= wxString_in_helper(obj1
);
26948 if (arg2
== NULL
) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 (arg1
)->SetId((wxString
const &)*arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 Py_INCREF(Py_None
); resultobj
= Py_None
;
26973 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26976 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26978 return Py_BuildValue((char *)"");
26980 static int _wrap_FormatInvalid_set(PyObject
*) {
26981 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26986 static PyObject
*_wrap_FormatInvalid_get(void) {
26989 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26994 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
;
26996 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26997 PyObject
* obj0
= 0 ;
26998 char *kwnames
[] = {
26999 (char *) "self", NULL
27002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27004 if (SWIG_arg_fail(1)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 Py_INCREF(Py_None
); resultobj
= Py_None
;
27019 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27022 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27023 SwigValueWrapper
<wxDataFormat
> result
;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self",(char *) "dir", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail
;
27035 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27036 if (SWIG_arg_fail(2)) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27047 wxDataFormat
* resultptr
;
27048 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27057 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27060 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self",(char *) "dir", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27074 if (SWIG_arg_fail(2)) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27093 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27096 wxDataFormat
*arg2
= 0 ;
27097 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 PyObject
* obj2
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self",(char *) "format",(char *) "dir", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27108 if (SWIG_arg_fail(1)) SWIG_fail
;
27110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(2)) SWIG_fail
;
27112 if (arg2
== NULL
) {
27113 SWIG_null_ref("wxDataFormat");
27115 if (SWIG_arg_fail(2)) SWIG_fail
;
27119 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27120 if (SWIG_arg_fail(3)) SWIG_fail
;
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27139 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27142 wxDataFormat
*arg2
= 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self",(char *) "format", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail
;
27154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27155 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 if (arg2
== NULL
) {
27157 SWIG_null_ref("wxDataFormat");
27159 if (SWIG_arg_fail(2)) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27177 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27180 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27182 PyObject
* obj0
= 0 ;
27183 PyObject
* obj1
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "self",(char *) "dir", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27190 if (SWIG_arg_fail(1)) SWIG_fail
;
27193 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27194 if (SWIG_arg_fail(2)) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= result
;
27211 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27214 wxDataFormat
*arg2
= 0 ;
27216 PyObject
* obj0
= 0 ;
27217 PyObject
* obj1
= 0 ;
27218 char *kwnames
[] = {
27219 (char *) "self",(char *) "format", NULL
27222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27224 if (SWIG_arg_fail(1)) SWIG_fail
;
27226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27227 if (SWIG_arg_fail(2)) SWIG_fail
;
27228 if (arg2
== NULL
) {
27229 SWIG_null_ref("wxDataFormat");
27231 if (SWIG_arg_fail(2)) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= result
;
27247 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27250 wxDataFormat
*arg2
= 0 ;
27251 PyObject
*arg3
= (PyObject
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 PyObject
* obj2
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "format",(char *) "data", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27262 if (SWIG_arg_fail(1)) SWIG_fail
;
27264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27265 if (SWIG_arg_fail(2)) SWIG_fail
;
27266 if (arg2
== NULL
) {
27267 SWIG_null_ref("wxDataFormat");
27269 if (SWIG_arg_fail(2)) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27288 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27291 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27293 return Py_BuildValue((char *)"");
27295 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
;
27297 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27298 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27299 wxDataObjectSimple
*result
;
27300 PyObject
* obj0
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "format", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27309 if (SWIG_arg_fail(1)) SWIG_fail
;
27310 if (arg1
== NULL
) {
27311 SWIG_null_ref("wxDataFormat");
27313 if (SWIG_arg_fail(1)) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27330 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
;
27332 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27333 wxDataFormat
*result
;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27341 if (SWIG_arg_fail(1)) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27346 result
= (wxDataFormat
*) &_result_ref
;
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27359 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27362 wxDataFormat
*arg2
= 0 ;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self",(char *) "format", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27371 if (SWIG_arg_fail(1)) SWIG_fail
;
27373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27374 if (SWIG_arg_fail(2)) SWIG_fail
;
27375 if (arg2
== NULL
) {
27376 SWIG_null_ref("wxDataFormat");
27378 if (SWIG_arg_fail(2)) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27422 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27433 if (SWIG_arg_fail(1)) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= result
;
27448 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27451 PyObject
*arg2
= (PyObject
*) 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "data", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27461 if (SWIG_arg_fail(1)) SWIG_fail
;
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27479 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27482 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27484 return Py_BuildValue((char *)"");
27486 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27489 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27490 wxPyDataObjectSimple
*result
;
27491 PyObject
* obj0
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "format", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 if (arg1
== NULL
) {
27502 SWIG_null_ref("wxDataFormat");
27504 if (SWIG_arg_fail(1)) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27521 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27524 PyObject
*arg2
= (PyObject
*) 0 ;
27525 PyObject
*arg3
= (PyObject
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 PyObject
* obj2
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "self",(char *) "self",(char *) "_class", NULL
27533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27535 if (SWIG_arg_fail(1)) SWIG_fail
;
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 Py_INCREF(Py_None
); resultobj
= Py_None
;
27552 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27555 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27557 return Py_BuildValue((char *)"");
27559 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxDataObjectComposite
*result
;
27562 char *kwnames
[] = {
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27581 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27584 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27585 bool arg3
= (bool) false ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 PyObject
* obj2
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27595 if (SWIG_arg_fail(1)) SWIG_fail
;
27596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27597 if (SWIG_arg_fail(2)) SWIG_fail
;
27600 arg3
= (bool)(SWIG_As_bool(obj2
));
27601 if (SWIG_arg_fail(3)) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 (arg1
)->Add(arg2
,arg3
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 Py_INCREF(Py_None
); resultobj
= Py_None
;
27618 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27621 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27623 return Py_BuildValue((char *)"");
27625 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27628 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27629 wxTextDataObject
*result
;
27630 bool temp1
= false ;
27631 PyObject
* obj0
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "text", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27639 arg1
= wxString_in_helper(obj0
);
27640 if (arg1
== NULL
) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27666 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27677 if (SWIG_arg_fail(1)) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 result
= (size_t)(arg1
)->GetTextLength();
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27694 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27705 if (SWIG_arg_fail(1)) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (arg1
)->GetText();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27726 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27729 wxString
*arg2
= 0 ;
27730 bool temp2
= false ;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "self",(char *) "text", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27739 if (SWIG_arg_fail(1)) SWIG_fail
;
27741 arg2
= wxString_in_helper(obj1
);
27742 if (arg2
== NULL
) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->SetText((wxString
const &)*arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 Py_INCREF(Py_None
); resultobj
= Py_None
;
27767 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27770 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27772 return Py_BuildValue((char *)"");
27774 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27777 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27778 wxPyTextDataObject
*result
;
27779 bool temp1
= false ;
27780 PyObject
* obj0
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "text", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27788 arg1
= wxString_in_helper(obj0
);
27789 if (arg1
== NULL
) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27815 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27818 PyObject
*arg2
= (PyObject
*) 0 ;
27819 PyObject
*arg3
= (PyObject
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self",(char *) "self",(char *) "_class", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27829 if (SWIG_arg_fail(1)) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 Py_INCREF(Py_None
); resultobj
= Py_None
;
27846 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27849 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27851 return Py_BuildValue((char *)"");
27853 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27856 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27857 wxBitmapDataObject
*result
;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "bitmap", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27867 if (SWIG_arg_fail(1)) SWIG_fail
;
27868 if (arg1
== NULL
) {
27869 SWIG_null_ref("wxBitmap");
27871 if (SWIG_arg_fail(1)) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27888 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 wxBitmap
* resultptr
;
27909 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27918 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
;
27920 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27921 wxBitmap
*arg2
= 0 ;
27922 PyObject
* obj0
= 0 ;
27923 PyObject
* obj1
= 0 ;
27924 char *kwnames
[] = {
27925 (char *) "self",(char *) "bitmap", NULL
27928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27930 if (SWIG_arg_fail(1)) SWIG_fail
;
27932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27933 if (SWIG_arg_fail(2)) SWIG_fail
;
27934 if (arg2
== NULL
) {
27935 SWIG_null_ref("wxBitmap");
27937 if (SWIG_arg_fail(2)) SWIG_fail
;
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 Py_INCREF(Py_None
); resultobj
= Py_None
;
27953 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27956 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27958 return Py_BuildValue((char *)"");
27960 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
;
27962 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27963 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27964 wxPyBitmapDataObject
*result
;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "bitmap", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27974 if (SWIG_arg_fail(1)) SWIG_fail
;
27975 if (arg1
== NULL
) {
27976 SWIG_null_ref("wxBitmap");
27978 if (SWIG_arg_fail(1)) SWIG_fail
;
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27995 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27998 PyObject
*arg2
= (PyObject
*) 0 ;
27999 PyObject
*arg3
= (PyObject
*) 0 ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 PyObject
* obj2
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self",(char *) "self",(char *) "_class", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28009 if (SWIG_arg_fail(1)) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 Py_INCREF(Py_None
); resultobj
= Py_None
;
28026 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28029 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28031 return Py_BuildValue((char *)"");
28033 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxFileDataObject
*result
;
28036 char *kwnames
[] = {
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 result
= (wxFileDataObject
*)new wxFileDataObject();
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28055 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28058 wxArrayString
*result
;
28059 PyObject
* obj0
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "self", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28066 if (SWIG_arg_fail(1)) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28071 result
= (wxArrayString
*) &_result_ref
;
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28078 resultobj
= wxArrayString2PyList_helper(*result
);
28086 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28089 wxString
*arg2
= 0 ;
28090 bool temp2
= false ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self",(char *) "filename", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28099 if (SWIG_arg_fail(1)) SWIG_fail
;
28101 arg2
= wxString_in_helper(obj1
);
28102 if (arg2
== NULL
) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 (arg1
)->AddFile((wxString
const &)*arg2
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28130 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28132 return Py_BuildValue((char *)"");
28134 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28135 PyObject
*resultobj
;
28136 wxDataFormat
*arg1
= 0 ;
28137 wxCustomDataObject
*result
;
28138 PyObject
* obj0
= 0 ;
28140 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28143 if (SWIG_arg_fail(1)) SWIG_fail
;
28144 if (arg1
== NULL
) {
28145 SWIG_null_ref("wxDataFormat");
28147 if (SWIG_arg_fail(1)) SWIG_fail
;
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28163 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28164 PyObject
*resultobj
;
28165 wxString
*arg1
= 0 ;
28166 wxCustomDataObject
*result
;
28167 bool temp1
= false ;
28168 PyObject
* obj0
= 0 ;
28170 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28172 arg1
= wxString_in_helper(obj0
);
28173 if (arg1
== NULL
) SWIG_fail
;
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28198 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28199 PyObject
*resultobj
;
28200 wxCustomDataObject
*result
;
28202 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28217 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28222 argc
= PyObject_Length(args
);
28223 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28224 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28227 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28232 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28235 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28242 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28250 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28254 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28259 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28262 PyObject
*arg2
= (PyObject
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 PyObject
* obj1
= 0 ;
28266 char *kwnames
[] = {
28267 (char *) "self",(char *) "data", NULL
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28272 if (SWIG_arg_fail(1)) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28290 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28294 PyObject
* obj0
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (size_t)(arg1
)->GetSize();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28318 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= result
;
28344 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28347 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28349 return Py_BuildValue((char *)"");
28351 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
;
28353 wxURLDataObject
*result
;
28354 char *kwnames
[] = {
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (wxURLDataObject
*)new wxURLDataObject();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28373 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
;
28375 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28377 PyObject
* obj0
= 0 ;
28378 char *kwnames
[] = {
28379 (char *) "self", NULL
28382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28384 if (SWIG_arg_fail(1)) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (arg1
)->GetURL();
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28405 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28408 wxString
*arg2
= 0 ;
28409 bool temp2
= false ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self",(char *) "url", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28418 if (SWIG_arg_fail(1)) SWIG_fail
;
28420 arg2
= wxString_in_helper(obj1
);
28421 if (arg2
== NULL
) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 (arg1
)->SetURL((wxString
const &)*arg2
);
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 Py_INCREF(Py_None
); resultobj
= Py_None
;
28446 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28449 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28451 return Py_BuildValue((char *)"");
28453 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxMetafileDataObject
*result
;
28456 char *kwnames
[] = {
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28475 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28478 wxMetafile
*arg2
= 0 ;
28479 PyObject
* obj0
= 0 ;
28480 PyObject
* obj1
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self",(char *) "metafile", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(1)) SWIG_fail
;
28489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28490 if (SWIG_arg_fail(2)) SWIG_fail
;
28491 if (arg2
== NULL
) {
28492 SWIG_null_ref("wxMetafile");
28494 if (SWIG_arg_fail(2)) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 Py_INCREF(Py_None
); resultobj
= Py_None
;
28510 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(1)) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28530 wxMetafile
* resultptr
;
28531 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28540 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28543 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28545 return Py_BuildValue((char *)"");
28547 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxDragResult arg1
;
28551 PyObject
* obj0
= 0 ;
28552 char *kwnames
[] = {
28553 (char *) "res", NULL
28556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28558 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28559 if (SWIG_arg_fail(1)) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28577 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
;
28579 wxWindow
*arg1
= (wxWindow
*) 0 ;
28580 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28581 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28582 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28583 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28584 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28585 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28586 wxPyDropSource
*result
;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 PyObject
* obj2
= 0 ;
28590 PyObject
* obj3
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail
;
28600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28601 if (SWIG_arg_fail(2)) SWIG_fail
;
28602 if (arg2
== NULL
) {
28603 SWIG_null_ref("wxCursor");
28605 if (SWIG_arg_fail(2)) SWIG_fail
;
28610 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28611 if (SWIG_arg_fail(3)) SWIG_fail
;
28612 if (arg3
== NULL
) {
28613 SWIG_null_ref("wxCursor");
28615 if (SWIG_arg_fail(3)) SWIG_fail
;
28620 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28621 if (SWIG_arg_fail(4)) SWIG_fail
;
28622 if (arg4
== NULL
) {
28623 SWIG_null_ref("wxCursor");
28625 if (SWIG_arg_fail(4)) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28642 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28645 PyObject
*arg2
= (PyObject
*) 0 ;
28646 PyObject
*arg3
= (PyObject
*) 0 ;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 PyObject
* obj2
= 0 ;
28651 PyObject
* obj3
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28658 if (SWIG_arg_fail(1)) SWIG_fail
;
28662 arg4
= (int)(SWIG_As_int(obj3
));
28663 if (SWIG_arg_fail(4)) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 Py_INCREF(Py_None
); resultobj
= Py_None
;
28679 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
;
28681 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28682 PyObject
* obj0
= 0 ;
28683 char *kwnames
[] = {
28684 (char *) "self", NULL
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28689 if (SWIG_arg_fail(1)) SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 Py_INCREF(Py_None
); resultobj
= Py_None
;
28704 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28707 wxDataObject
*arg2
= 0 ;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "self",(char *) "data", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28716 if (SWIG_arg_fail(1)) SWIG_fail
;
28718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28719 if (SWIG_arg_fail(2)) SWIG_fail
;
28720 if (arg2
== NULL
) {
28721 SWIG_null_ref("wxDataObject");
28723 if (SWIG_arg_fail(2)) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->SetData(*arg2
);
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 Py_INCREF(Py_None
); resultobj
= Py_None
;
28739 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28740 PyObject
*resultobj
;
28741 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28742 wxDataObject
*result
;
28743 PyObject
* obj0
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28765 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28768 wxDragResult arg2
;
28769 wxCursor
*arg3
= 0 ;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 PyObject
* obj2
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self",(char *) "res",(char *) "cursor", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28779 if (SWIG_arg_fail(1)) SWIG_fail
;
28781 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28782 if (SWIG_arg_fail(2)) SWIG_fail
;
28785 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28786 if (SWIG_arg_fail(3)) SWIG_fail
;
28787 if (arg3
== NULL
) {
28788 SWIG_null_ref("wxCursor");
28790 if (SWIG_arg_fail(3)) SWIG_fail
;
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 Py_INCREF(Py_None
); resultobj
= Py_None
;
28806 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28807 PyObject
*resultobj
;
28808 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28809 int arg2
= (int) wxDrag_CopyOnly
;
28810 wxDragResult result
;
28811 PyObject
* obj0
= 0 ;
28812 PyObject
* obj1
= 0 ;
28813 char *kwnames
[] = {
28814 (char *) "self",(char *) "flags", NULL
28817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28819 if (SWIG_arg_fail(1)) SWIG_fail
;
28822 arg2
= (int)(SWIG_As_int(obj1
));
28823 if (SWIG_arg_fail(2)) SWIG_fail
;
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28828 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28833 resultobj
= SWIG_From_int((result
));
28840 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28841 PyObject
*resultobj
;
28842 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28843 wxDragResult arg2
;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 char *kwnames
[] = {
28848 (char *) "self",(char *) "effect", NULL
28851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28853 if (SWIG_arg_fail(1)) SWIG_fail
;
28855 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28856 if (SWIG_arg_fail(2)) SWIG_fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28874 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28877 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28879 return Py_BuildValue((char *)"");
28881 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28884 wxPyDropTarget
*result
;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "dataObject", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28893 if (SWIG_arg_fail(1)) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28909 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28912 PyObject
*arg2
= (PyObject
*) 0 ;
28913 PyObject
*arg3
= (PyObject
*) 0 ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "self",(char *) "_class", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 Py_INCREF(Py_None
); resultobj
= Py_None
;
28940 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28943 PyObject
* obj0
= 0 ;
28944 char *kwnames
[] = {
28945 (char *) "self", NULL
28948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28950 if (SWIG_arg_fail(1)) SWIG_fail
;
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28958 Py_INCREF(Py_None
); resultobj
= Py_None
;
28965 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
;
28967 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28968 wxDataObject
*result
;
28969 PyObject
* obj0
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28976 if (SWIG_arg_fail(1)) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28991 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28994 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self",(char *) "dataObject", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail
;
29004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29005 if (SWIG_arg_fail(2)) SWIG_fail
;
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 (arg1
)->SetDataObject(arg2
);
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 Py_INCREF(Py_None
); resultobj
= Py_None
;
29020 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
;
29022 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29025 wxDragResult arg4
;
29026 wxDragResult result
;
29027 PyObject
* obj0
= 0 ;
29028 PyObject
* obj1
= 0 ;
29029 PyObject
* obj2
= 0 ;
29030 PyObject
* obj3
= 0 ;
29031 char *kwnames
[] = {
29032 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29037 if (SWIG_arg_fail(1)) SWIG_fail
;
29039 arg2
= (int)(SWIG_As_int(obj1
));
29040 if (SWIG_arg_fail(2)) SWIG_fail
;
29043 arg3
= (int)(SWIG_As_int(obj2
));
29044 if (SWIG_arg_fail(3)) SWIG_fail
;
29047 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29048 if (SWIG_arg_fail(4)) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_From_int((result
));
29064 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29069 wxDragResult arg4
;
29070 wxDragResult result
;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 PyObject
* obj2
= 0 ;
29074 PyObject
* obj3
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29081 if (SWIG_arg_fail(1)) SWIG_fail
;
29083 arg2
= (int)(SWIG_As_int(obj1
));
29084 if (SWIG_arg_fail(2)) SWIG_fail
;
29087 arg3
= (int)(SWIG_As_int(obj2
));
29088 if (SWIG_arg_fail(3)) SWIG_fail
;
29091 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29092 if (SWIG_arg_fail(4)) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 resultobj
= SWIG_From_int((result
));
29108 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29118 if (SWIG_arg_fail(1)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->base_OnLeave();
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29133 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 PyObject
* obj2
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self",(char *) "x",(char *) "y", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29148 if (SWIG_arg_fail(1)) SWIG_fail
;
29150 arg2
= (int)(SWIG_As_int(obj1
));
29151 if (SWIG_arg_fail(2)) SWIG_fail
;
29154 arg3
= (int)(SWIG_As_int(obj2
));
29155 if (SWIG_arg_fail(3)) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29173 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29177 PyObject
* obj0
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail
;
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= (bool)(arg1
)->GetData();
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29201 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
;
29203 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29204 wxDragResult arg2
;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 char *kwnames
[] = {
29208 (char *) "self",(char *) "action", NULL
29211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29213 if (SWIG_arg_fail(1)) SWIG_fail
;
29215 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29216 if (SWIG_arg_fail(2)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 Py_INCREF(Py_None
); resultobj
= Py_None
;
29232 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29235 wxDragResult result
;
29236 PyObject
* obj0
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 resultobj
= SWIG_From_int((result
));
29258 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29261 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29263 return Py_BuildValue((char *)"");
29265 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxPyTextDropTarget
*result
;
29268 char *kwnames
[] = {
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29287 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29290 PyObject
*arg2
= (PyObject
*) 0 ;
29291 PyObject
*arg3
= (PyObject
*) 0 ;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 PyObject
* obj2
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self",(char *) "self",(char *) "_class", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(1)) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 Py_INCREF(Py_None
); resultobj
= Py_None
;
29318 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29323 wxDragResult arg4
;
29324 wxDragResult result
;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 PyObject
* obj2
= 0 ;
29328 PyObject
* obj3
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail
;
29337 arg2
= (int)(SWIG_As_int(obj1
));
29338 if (SWIG_arg_fail(2)) SWIG_fail
;
29341 arg3
= (int)(SWIG_As_int(obj2
));
29342 if (SWIG_arg_fail(3)) SWIG_fail
;
29345 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29346 if (SWIG_arg_fail(4)) SWIG_fail
;
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= SWIG_From_int((result
));
29362 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29363 PyObject
*resultobj
;
29364 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29367 wxDragResult arg4
;
29368 wxDragResult result
;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 PyObject
* obj2
= 0 ;
29372 PyObject
* obj3
= 0 ;
29373 char *kwnames
[] = {
29374 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29379 if (SWIG_arg_fail(1)) SWIG_fail
;
29381 arg2
= (int)(SWIG_As_int(obj1
));
29382 if (SWIG_arg_fail(2)) SWIG_fail
;
29385 arg3
= (int)(SWIG_As_int(obj2
));
29386 if (SWIG_arg_fail(3)) SWIG_fail
;
29389 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29390 if (SWIG_arg_fail(4)) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= SWIG_From_int((result
));
29406 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29409 PyObject
* obj0
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "self", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail
;
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 (arg1
)->base_OnLeave();
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 Py_INCREF(Py_None
); resultobj
= Py_None
;
29431 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
;
29433 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 PyObject
* obj2
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self",(char *) "x",(char *) "y", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29446 if (SWIG_arg_fail(1)) SWIG_fail
;
29448 arg2
= (int)(SWIG_As_int(obj1
));
29449 if (SWIG_arg_fail(2)) SWIG_fail
;
29452 arg3
= (int)(SWIG_As_int(obj2
));
29453 if (SWIG_arg_fail(3)) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29471 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29476 wxDragResult arg4
;
29477 wxDragResult result
;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 PyObject
* obj2
= 0 ;
29481 PyObject
* obj3
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail
;
29490 arg2
= (int)(SWIG_As_int(obj1
));
29491 if (SWIG_arg_fail(2)) SWIG_fail
;
29494 arg3
= (int)(SWIG_As_int(obj2
));
29495 if (SWIG_arg_fail(3)) SWIG_fail
;
29498 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29499 if (SWIG_arg_fail(4)) SWIG_fail
;
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= SWIG_From_int((result
));
29515 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29518 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29520 return Py_BuildValue((char *)"");
29522 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxPyFileDropTarget
*result
;
29525 char *kwnames
[] = {
29529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29532 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29534 wxPyEndAllowThreads(__tstate
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29544 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
;
29546 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29547 PyObject
*arg2
= (PyObject
*) 0 ;
29548 PyObject
*arg3
= (PyObject
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 PyObject
* obj2
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self",(char *) "self",(char *) "_class", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 Py_INCREF(Py_None
); resultobj
= Py_None
;
29575 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29580 wxDragResult arg4
;
29581 wxDragResult result
;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 PyObject
* obj3
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail
;
29594 arg2
= (int)(SWIG_As_int(obj1
));
29595 if (SWIG_arg_fail(2)) SWIG_fail
;
29598 arg3
= (int)(SWIG_As_int(obj2
));
29599 if (SWIG_arg_fail(3)) SWIG_fail
;
29602 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29603 if (SWIG_arg_fail(4)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_From_int((result
));
29619 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29624 wxDragResult arg4
;
29625 wxDragResult result
;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 PyObject
* obj2
= 0 ;
29629 PyObject
* obj3
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(1)) SWIG_fail
;
29638 arg2
= (int)(SWIG_As_int(obj1
));
29639 if (SWIG_arg_fail(2)) SWIG_fail
;
29642 arg3
= (int)(SWIG_As_int(obj2
));
29643 if (SWIG_arg_fail(3)) SWIG_fail
;
29646 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29647 if (SWIG_arg_fail(4)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int((result
));
29663 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29666 PyObject
* obj0
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29673 if (SWIG_arg_fail(1)) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->base_OnLeave();
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 Py_INCREF(Py_None
); resultobj
= Py_None
;
29688 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 PyObject
* obj2
= 0 ;
29697 char *kwnames
[] = {
29698 (char *) "self",(char *) "x",(char *) "y", NULL
29701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29703 if (SWIG_arg_fail(1)) SWIG_fail
;
29705 arg2
= (int)(SWIG_As_int(obj1
));
29706 if (SWIG_arg_fail(2)) SWIG_fail
;
29709 arg3
= (int)(SWIG_As_int(obj2
));
29710 if (SWIG_arg_fail(3)) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29728 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
;
29730 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29733 wxDragResult arg4
;
29734 wxDragResult result
;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 PyObject
* obj2
= 0 ;
29738 PyObject
* obj3
= 0 ;
29739 char *kwnames
[] = {
29740 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29745 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 arg2
= (int)(SWIG_As_int(obj1
));
29748 if (SWIG_arg_fail(2)) SWIG_fail
;
29751 arg3
= (int)(SWIG_As_int(obj2
));
29752 if (SWIG_arg_fail(3)) SWIG_fail
;
29755 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29756 if (SWIG_arg_fail(4)) SWIG_fail
;
29759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= SWIG_From_int((result
));
29772 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29775 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29777 return Py_BuildValue((char *)"");
29779 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxClipboard
*result
;
29782 char *kwnames
[] = {
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 result
= (wxClipboard
*)new wxClipboard();
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29801 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29804 PyObject
* obj0
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(1)) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 Py_INCREF(Py_None
); resultobj
= Py_None
;
29826 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29830 PyObject
* obj0
= 0 ;
29831 char *kwnames
[] = {
29832 (char *) "self", NULL
29835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29837 if (SWIG_arg_fail(1)) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (bool)(arg1
)->Open();
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29854 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29857 PyObject
* obj0
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail
;
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 Py_INCREF(Py_None
); resultobj
= Py_None
;
29879 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
;
29881 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29883 PyObject
* obj0
= 0 ;
29884 char *kwnames
[] = {
29885 (char *) "self", NULL
29888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29890 if (SWIG_arg_fail(1)) SWIG_fail
;
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29907 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
;
29909 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29910 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 PyObject
* obj1
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self",(char *) "data", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29920 if (SWIG_arg_fail(1)) SWIG_fail
;
29921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29922 if (SWIG_arg_fail(2)) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (bool)(arg1
)->AddData(arg2
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29939 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29942 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29944 PyObject
* obj0
= 0 ;
29945 PyObject
* obj1
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self",(char *) "data", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29952 if (SWIG_arg_fail(1)) SWIG_fail
;
29953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29954 if (SWIG_arg_fail(2)) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 result
= (bool)(arg1
)->SetData(arg2
);
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29971 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29974 wxDataFormat
*arg2
= 0 ;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self",(char *) "format", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail
;
29986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29987 if (SWIG_arg_fail(2)) SWIG_fail
;
29988 if (arg2
== NULL
) {
29989 SWIG_null_ref("wxDataFormat");
29991 if (SWIG_arg_fail(2)) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30009 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
;
30011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30012 wxDataObject
*arg2
= 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char *kwnames
[] = {
30017 (char *) "self",(char *) "data", NULL
30020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30022 if (SWIG_arg_fail(1)) SWIG_fail
;
30024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30025 if (SWIG_arg_fail(2)) SWIG_fail
;
30026 if (arg2
== NULL
) {
30027 SWIG_null_ref("wxDataObject");
30029 if (SWIG_arg_fail(2)) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (bool)(arg1
)->GetData(*arg2
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30047 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
;
30049 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30050 PyObject
* obj0
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(1)) SWIG_fail
;
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30065 Py_INCREF(Py_None
); resultobj
= Py_None
;
30072 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
;
30074 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30076 PyObject
* obj0
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (bool)(arg1
)->Flush();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
;
30102 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30103 bool arg2
= (bool) true ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 char *kwnames
[] = {
30107 (char *) "self",(char *) "primary", NULL
30110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30112 if (SWIG_arg_fail(1)) SWIG_fail
;
30115 arg2
= (bool)(SWIG_As_bool(obj1
));
30116 if (SWIG_arg_fail(2)) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 (arg1
)->UsePrimarySelection(arg2
);
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30126 Py_INCREF(Py_None
); resultobj
= Py_None
;
30133 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30134 PyObject
*resultobj
;
30135 wxClipboard
*result
;
30136 char *kwnames
[] = {
30140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (wxClipboard
*)wxClipboard::Get();
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30155 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30158 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30160 return Py_BuildValue((char *)"");
30162 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30165 wxClipboardLocker
*result
;
30166 PyObject
* obj0
= 0 ;
30167 char *kwnames
[] = {
30168 (char *) "clipboard", NULL
30171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30174 if (SWIG_arg_fail(1)) SWIG_fail
;
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30190 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30193 PyObject
* obj0
= 0 ;
30194 char *kwnames
[] = {
30195 (char *) "self", NULL
30198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30200 if (SWIG_arg_fail(1)) SWIG_fail
;
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 Py_INCREF(Py_None
); resultobj
= Py_None
;
30215 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
;
30217 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30219 PyObject
* obj0
= 0 ;
30220 char *kwnames
[] = {
30221 (char *) "self", NULL
30224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30226 if (SWIG_arg_fail(1)) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30243 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30246 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30248 return Py_BuildValue((char *)"");
30250 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
;
30252 int arg1
= (int) 0 ;
30253 int arg2
= (int) 0 ;
30254 int arg3
= (int) 0 ;
30255 int arg4
= (int) 0 ;
30256 wxVideoMode
*result
;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 PyObject
* obj2
= 0 ;
30260 PyObject
* obj3
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30268 arg1
= (int)(SWIG_As_int(obj0
));
30269 if (SWIG_arg_fail(1)) SWIG_fail
;
30274 arg2
= (int)(SWIG_As_int(obj1
));
30275 if (SWIG_arg_fail(2)) SWIG_fail
;
30280 arg3
= (int)(SWIG_As_int(obj2
));
30281 if (SWIG_arg_fail(3)) SWIG_fail
;
30286 arg4
= (int)(SWIG_As_int(obj3
));
30287 if (SWIG_arg_fail(4)) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30304 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
;
30306 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30307 PyObject
* obj0
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 Py_INCREF(Py_None
); resultobj
= Py_None
;
30329 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30330 PyObject
*resultobj
;
30331 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30332 wxVideoMode
*arg2
= 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 char *kwnames
[] = {
30337 (char *) "self",(char *) "other", NULL
30340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30342 if (SWIG_arg_fail(1)) SWIG_fail
;
30344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30345 if (SWIG_arg_fail(2)) SWIG_fail
;
30346 if (arg2
== NULL
) {
30347 SWIG_null_ref("wxVideoMode");
30349 if (SWIG_arg_fail(2)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30367 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30371 PyObject
* obj0
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "self", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_From_int((int)(result
));
30395 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30396 PyObject
*resultobj
;
30397 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30399 PyObject
* obj0
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30406 if (SWIG_arg_fail(1)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_From_int((int)(result
));
30423 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
;
30425 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30427 PyObject
* obj0
= 0 ;
30428 char *kwnames
[] = {
30429 (char *) "self", NULL
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30434 if (SWIG_arg_fail(1)) SWIG_fail
;
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_From_int((int)(result
));
30451 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30462 if (SWIG_arg_fail(1)) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30479 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30480 PyObject
*resultobj
;
30481 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30482 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self",(char *) "other", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail
;
30493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(2)) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30511 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
;
30513 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30514 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 char *kwnames
[] = {
30519 (char *) "self",(char *) "other", NULL
30522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30524 if (SWIG_arg_fail(1)) SWIG_fail
;
30525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(2)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30543 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30547 PyObject
* obj0
= 0 ;
30548 PyObject
* obj1
= 0 ;
30549 char *kwnames
[] = {
30550 (char *) "self",(char *) "w", NULL
30553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30555 if (SWIG_arg_fail(1)) SWIG_fail
;
30557 arg2
= (int)(SWIG_As_int(obj1
));
30558 if (SWIG_arg_fail(2)) SWIG_fail
;
30560 if (arg1
) (arg1
)->w
= arg2
;
30562 Py_INCREF(Py_None
); resultobj
= Py_None
;
30569 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
;
30571 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30573 PyObject
* obj0
= 0 ;
30574 char *kwnames
[] = {
30575 (char *) "self", NULL
30578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30580 if (SWIG_arg_fail(1)) SWIG_fail
;
30581 result
= (int) ((arg1
)->w
);
30584 resultobj
= SWIG_From_int((int)(result
));
30592 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self",(char *) "h", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail
;
30606 arg2
= (int)(SWIG_As_int(obj1
));
30607 if (SWIG_arg_fail(2)) SWIG_fail
;
30609 if (arg1
) (arg1
)->h
= arg2
;
30611 Py_INCREF(Py_None
); resultobj
= Py_None
;
30618 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30619 PyObject
*resultobj
;
30620 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30622 PyObject
* obj0
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30629 if (SWIG_arg_fail(1)) SWIG_fail
;
30630 result
= (int) ((arg1
)->h
);
30633 resultobj
= SWIG_From_int((int)(result
));
30641 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
;
30643 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self",(char *) "bpp", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30655 arg2
= (int)(SWIG_As_int(obj1
));
30656 if (SWIG_arg_fail(2)) SWIG_fail
;
30658 if (arg1
) (arg1
)->bpp
= arg2
;
30660 Py_INCREF(Py_None
); resultobj
= Py_None
;
30667 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
;
30669 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30671 PyObject
* obj0
= 0 ;
30672 char *kwnames
[] = {
30673 (char *) "self", NULL
30676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30678 if (SWIG_arg_fail(1)) SWIG_fail
;
30679 result
= (int) ((arg1
)->bpp
);
30682 resultobj
= SWIG_From_int((int)(result
));
30690 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self",(char *) "refresh", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail
;
30704 arg2
= (int)(SWIG_As_int(obj1
));
30705 if (SWIG_arg_fail(2)) SWIG_fail
;
30707 if (arg1
) (arg1
)->refresh
= arg2
;
30709 Py_INCREF(Py_None
); resultobj
= Py_None
;
30716 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
;
30718 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30720 PyObject
* obj0
= 0 ;
30721 char *kwnames
[] = {
30722 (char *) "self", NULL
30725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30727 if (SWIG_arg_fail(1)) SWIG_fail
;
30728 result
= (int) ((arg1
)->refresh
);
30731 resultobj
= SWIG_From_int((int)(result
));
30739 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30742 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30744 return Py_BuildValue((char *)"");
30746 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30747 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30752 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30755 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30760 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 size_t arg1
= (size_t) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "index", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30772 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30773 if (SWIG_arg_fail(1)) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 result
= (wxDisplay
*)new wxDisplay(arg1
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30790 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
;
30792 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 Py_INCREF(Py_None
); resultobj
= Py_None
;
30815 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30818 char *kwnames
[] = {
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (size_t)wxDisplay::GetCount();
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30839 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
;
30841 wxPoint
*arg1
= 0 ;
30844 PyObject
* obj0
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "pt", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30852 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= SWIG_From_int((int)(result
));
30870 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30871 PyObject
*resultobj
;
30872 wxWindow
*arg1
= (wxWindow
*) 0 ;
30874 PyObject
* obj0
= 0 ;
30875 char *kwnames
[] = {
30876 (char *) "window", NULL
30879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30881 if (SWIG_arg_fail(1)) SWIG_fail
;
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 result
= (int)Display_GetFromWindow(arg1
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30890 resultobj
= SWIG_From_int((int)(result
));
30898 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
;
30900 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30902 PyObject
* obj0
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30909 if (SWIG_arg_fail(1)) SWIG_fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30926 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
;
30928 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30930 PyObject
* obj0
= 0 ;
30931 char *kwnames
[] = {
30932 (char *) "self", NULL
30935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30937 if (SWIG_arg_fail(1)) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30946 wxRect
* resultptr
;
30947 resultptr
= new wxRect((wxRect
&)(result
));
30948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30956 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 char *kwnames
[] = {
30962 (char *) "self", NULL
30965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30967 if (SWIG_arg_fail(1)) SWIG_fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= ((wxDisplay
const *)arg1
)->GetName();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30988 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 char *kwnames
[] = {
30994 (char *) "self", NULL
30997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30999 if (SWIG_arg_fail(1)) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31016 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31019 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31020 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "mode", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31030 if (SWIG_arg_fail(1)) SWIG_fail
;
31033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31034 if (SWIG_arg_fail(2)) SWIG_fail
;
31035 if (arg2
== NULL
) {
31036 SWIG_null_ref("wxVideoMode");
31038 if (SWIG_arg_fail(2)) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= result
;
31055 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
;
31057 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31058 wxVideoMode result
;
31059 PyObject
* obj0
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31066 if (SWIG_arg_fail(1)) SWIG_fail
;
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31075 wxVideoMode
* resultptr
;
31076 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31085 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
;
31087 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31088 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31089 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "mode", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31099 if (SWIG_arg_fail(1)) SWIG_fail
;
31102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31103 if (SWIG_arg_fail(2)) SWIG_fail
;
31104 if (arg2
== NULL
) {
31105 SWIG_null_ref("wxVideoMode");
31107 if (SWIG_arg_fail(2)) SWIG_fail
;
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31126 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31129 PyObject
* obj0
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31136 if (SWIG_arg_fail(1)) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31139 (arg1
)->ResetMode();
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 Py_INCREF(Py_None
); resultobj
= Py_None
;
31151 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31154 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31156 return Py_BuildValue((char *)"");
31158 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31159 PyObject
*resultobj
;
31160 wxStandardPaths
*result
;
31161 char *kwnames
[] = {
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (wxStandardPaths
*)StandardPaths_Get();
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31180 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31191 if (SWIG_arg_fail(1)) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31212 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
;
31214 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31216 PyObject
* obj0
= 0 ;
31217 char *kwnames
[] = {
31218 (char *) "self", NULL
31221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31223 if (SWIG_arg_fail(1)) SWIG_fail
;
31225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31226 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31244 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
;
31246 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31248 PyObject
* obj0
= 0 ;
31249 char *kwnames
[] = {
31250 (char *) "self", NULL
31253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31255 if (SWIG_arg_fail(1)) SWIG_fail
;
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31276 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
;
31278 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31280 PyObject
* obj0
= 0 ;
31281 char *kwnames
[] = {
31282 (char *) "self", NULL
31285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31287 if (SWIG_arg_fail(1)) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31308 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "self", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31319 if (SWIG_arg_fail(1)) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31340 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
;
31342 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31344 PyObject
* obj0
= 0 ;
31345 char *kwnames
[] = {
31346 (char *) "self", NULL
31349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31351 if (SWIG_arg_fail(1)) SWIG_fail
;
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31372 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
;
31374 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31383 if (SWIG_arg_fail(1)) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31404 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
;
31406 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31407 wxString
*arg2
= 0 ;
31408 bool temp2
= false ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self",(char *) "prefix", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31417 if (SWIG_arg_fail(1)) SWIG_fail
;
31419 arg2
= wxString_in_helper(obj1
);
31420 if (arg2
== NULL
) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 Py_INCREF(Py_None
); resultobj
= Py_None
;
31445 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 char *kwnames
[] = {
31451 (char *) "self", NULL
31454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31456 if (SWIG_arg_fail(1)) SWIG_fail
;
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31477 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31480 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31482 return Py_BuildValue((char *)"");
31484 static PyMethodDef SwigMethods
[] = {
31485 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31492 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31500 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31564 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31572 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31590 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31593 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31596 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31599 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31605 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31619 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31631 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31634 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31648 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31651 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31652 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31655 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31684 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31688 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31695 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31701 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31715 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31719 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31739 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31747 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31794 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31822 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31838 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31854 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31868 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31878 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31921 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31927 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31931 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32024 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32025 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32026 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32027 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32044 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32123 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32131 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32132 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32153 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32156 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32164 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32167 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32171 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32174 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32178 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32179 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32183 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32187 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32191 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32201 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32214 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32222 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32230 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32244 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32248 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32266 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32280 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32291 { NULL
, NULL
, 0, NULL
}
32295 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32297 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32298 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32300 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32301 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32303 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32304 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32306 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32307 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32309 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32310 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32312 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32313 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32315 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32316 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32318 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32319 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32321 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32324 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32325 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32327 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32330 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32331 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32333 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32334 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32336 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32339 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32340 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32342 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32343 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32345 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32346 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32348 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32349 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32351 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32352 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32354 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32355 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32357 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32360 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32361 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32363 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32364 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32366 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32367 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32369 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32370 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32372 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32373 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32375 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32376 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32378 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32379 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32381 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32382 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32384 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32385 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32387 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32390 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32393 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32396 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32399 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32402 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32405 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32406 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32408 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32409 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32411 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32412 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32414 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32415 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32417 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32418 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32420 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32421 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32423 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32424 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32426 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32427 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32429 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32430 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32432 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32433 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32435 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32436 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32438 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32439 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32441 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32442 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32444 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32445 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32447 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32448 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32450 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32451 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32453 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32454 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32456 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32457 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32459 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32460 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32462 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32463 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32465 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32466 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32468 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32469 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32471 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32472 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32474 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32475 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32477 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32478 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32480 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32481 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32483 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32484 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32486 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32487 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32489 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32490 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32492 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32495 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32496 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32498 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32499 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32501 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32502 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32504 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32505 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32507 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32510 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32511 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32513 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32514 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32516 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32517 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32519 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32522 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32525 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32528 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32531 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32534 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32537 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32540 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) ((wxSizer
*) x
));
32543 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32546 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32549 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32552 static void *_p_wxEventTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) ((wxEvent
*) x
));
32555 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32558 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32561 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32564 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32567 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32570 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32573 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32576 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32579 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32582 static void *_p_wxControlTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32585 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32588 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32591 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32594 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32597 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32600 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32603 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32606 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32609 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32612 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32615 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32618 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32621 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32624 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32627 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32630 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32633 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32636 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32639 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32642 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32645 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32648 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32651 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32654 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32657 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32660 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32663 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32666 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32669 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32672 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32675 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32678 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32681 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32684 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32687 static void *_p_wxImageTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) ((wxImage
*) x
));
32690 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32693 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32696 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32699 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32702 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32705 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32708 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32711 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32714 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32717 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32720 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32723 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32726 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32729 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32732 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32735 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32738 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32741 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32744 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32747 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32750 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32753 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32756 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32759 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32762 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32765 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32768 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32771 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32774 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32775 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32777 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32778 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32780 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32781 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32783 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32784 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32786 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32787 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32789 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32790 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32792 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32793 return (void *)((wxWindow
*) ((wxControl
*) x
));
32795 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32796 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32798 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32799 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32801 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32802 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32804 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32805 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32905 static swig_type_info
*swig_types_initial
[] = {
32906 _swigt__p_wxLogChain
,
32907 _swigt__p_wxMutexGuiLocker
,
32908 _swigt__p_wxMetafile
,
32909 _swigt__p_wxFileHistory
,
32913 _swigt__p_wxDateTime__TimeZone
,
32914 _swigt__p_wxConfigBase
,
32915 _swigt__p_wxDisplay
,
32916 _swigt__p_wxFileType
,
32917 _swigt__p_wxLogGui
,
32919 _swigt__p_wxDataFormat
,
32920 _swigt__p_wxTimerEvent
,
32923 _swigt__std__ptrdiff_t
,
32926 _swigt__p_wxClipboard
,
32927 _swigt__p_wxStopWatch
,
32929 _swigt__p_wxClipboardLocker
,
32931 _swigt__p_wxLogStderr
,
32932 _swigt__p_wxLogTextCtrl
,
32933 _swigt__p_wxTextCtrl
,
32934 _swigt__p_wxBusyCursor
,
32935 _swigt__p_wxBitmapDataObject
,
32936 _swigt__p_wxTextDataObject
,
32937 _swigt__p_wxDataObject
,
32938 _swigt__p_wxPyTextDataObject
,
32939 _swigt__p_wxPyBitmapDataObject
,
32940 _swigt__p_wxFileDataObject
,
32941 _swigt__p_wxCustomDataObject
,
32942 _swigt__p_wxURLDataObject
,
32943 _swigt__p_wxMetafileDataObject
,
32945 _swigt__p_wxTimerRunner
,
32946 _swigt__p_wxLogWindow
,
32947 _swigt__p_wxTimeSpan
,
32948 _swigt__p_wxArrayString
,
32949 _swigt__p_wxWindowDisabler
,
32950 _swigt__p_form_ops_t
,
32951 _swigt__p_wxToolTip
,
32952 _swigt__p_wxDataObjectComposite
,
32953 _swigt__p_wxSystemSettings
,
32954 _swigt__p_wxFileConfig
,
32955 _swigt__p_wxVideoMode
,
32956 _swigt__p_wxDataObjectSimple
,
32957 _swigt__p_wxPyDataObjectSimple
,
32958 _swigt__p_wxDuplexMode
,
32959 _swigt__p_wxEvtHandler
,
32962 _swigt__p_wxSingleInstanceChecker
,
32963 _swigt__p_wxStandardPaths
,
32964 _swigt__p_wxFileTypeInfo
,
32967 _swigt__p_wxPaperSize
,
32968 _swigt__p_wxMimeTypesManager
,
32969 _swigt__p_wxPyArtProvider
,
32970 _swigt__p_wxPyTipProvider
,
32971 _swigt__p_wxTipProvider
,
32972 _swigt__p_wxJoystick
,
32973 _swigt__p_wxSystemOptions
,
32975 _swigt__p_wxJoystickEvent
,
32976 _swigt__p_wxCursor
,
32977 _swigt__p_wxObject
,
32978 _swigt__p_wxOutputStream
,
32979 _swigt__p_wxDateTime
,
32980 _swigt__p_wxPyDropSource
,
32981 _swigt__p_unsigned_long
,
32982 _swigt__p_wxKillError
,
32983 _swigt__p_wxWindow
,
32984 _swigt__p_wxString
,
32985 _swigt__p_wxPyProcess
,
32986 _swigt__p_wxBitmap
,
32987 _swigt__p_wxConfig
,
32988 _swigt__unsigned_int
,
32989 _swigt__p_unsigned_int
,
32990 _swigt__p_unsigned_char
,
32992 _swigt__p_wxBusyInfo
,
32993 _swigt__p_wxPyDropTarget
,
32994 _swigt__p_wxPyTextDropTarget
,
32995 _swigt__p_wxPyFileDropTarget
,
32996 _swigt__p_wxProcessEvent
,
32998 _swigt__p_wxLogNull
,
32999 _swigt__p_wxColour
,
33000 _swigt__p_wxPyTimer
,
33001 _swigt__p_wxConfigPathChanger
,
33002 _swigt__p_wxDateSpan
,
33007 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33009 static swig_const_info swig_const_table
[] = {
33010 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33011 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33012 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33013 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33014 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33015 {0, 0, 0, 0.0, 0, 0}};
33026 /* Python-specific SWIG API */
33027 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33028 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33029 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33031 /* -----------------------------------------------------------------------------
33032 * global variable support code.
33033 * ----------------------------------------------------------------------------- */
33035 typedef struct swig_globalvar
{
33036 char *name
; /* Name of global variable */
33037 PyObject
*(*get_attr
)(); /* Return the current value */
33038 int (*set_attr
)(PyObject
*); /* Set the value */
33039 struct swig_globalvar
*next
;
33042 typedef struct swig_varlinkobject
{
33044 swig_globalvar
*vars
;
33045 } swig_varlinkobject
;
33048 swig_varlink_repr(swig_varlinkobject
*v
) {
33050 return PyString_FromString("<Swig global variables>");
33054 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33055 swig_globalvar
*var
;
33057 fprintf(fp
,"Swig global variables { ");
33058 for (var
= v
->vars
; var
; var
=var
->next
) {
33059 fprintf(fp
,"%s", var
->name
);
33060 if (var
->next
) fprintf(fp
,", ");
33062 fprintf(fp
," }\n");
33067 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33068 swig_globalvar
*var
= v
->vars
;
33070 if (strcmp(var
->name
,n
) == 0) {
33071 return (*var
->get_attr
)();
33075 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33080 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33081 swig_globalvar
*var
= v
->vars
;
33083 if (strcmp(var
->name
,n
) == 0) {
33084 return (*var
->set_attr
)(p
);
33088 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33092 static PyTypeObject varlinktype
= {
33093 PyObject_HEAD_INIT(0)
33094 0, /* Number of items in variable part (ob_size) */
33095 (char *)"swigvarlink", /* Type name (tp_name) */
33096 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33097 0, /* Itemsize (tp_itemsize) */
33098 0, /* Deallocator (tp_dealloc) */
33099 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33100 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33101 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33102 0, /* tp_compare */
33103 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33104 0, /* tp_as_number */
33105 0, /* tp_as_sequence */
33106 0, /* tp_as_mapping */
33110 0, /* tp_getattro */
33111 0, /* tp_setattro */
33112 0, /* tp_as_buffer */
33115 #if PY_VERSION_HEX >= 0x02000000
33116 0, /* tp_traverse */
33119 #if PY_VERSION_HEX >= 0x02010000
33120 0, /* tp_richcompare */
33121 0, /* tp_weaklistoffset */
33123 #if PY_VERSION_HEX >= 0x02020000
33124 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33126 #if PY_VERSION_HEX >= 0x02030000
33129 #ifdef COUNT_ALLOCS
33130 0,0,0,0 /* tp_alloc -> tp_next */
33134 /* Create a variable linking object for use later */
33136 SWIG_Python_newvarlink(void) {
33137 swig_varlinkobject
*result
= 0;
33138 result
= PyMem_NEW(swig_varlinkobject
,1);
33139 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33140 result
->ob_type
= &varlinktype
;
33142 result
->ob_refcnt
= 0;
33143 Py_XINCREF((PyObject
*) result
);
33144 return ((PyObject
*) result
);
33148 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33149 swig_varlinkobject
*v
;
33150 swig_globalvar
*gv
;
33151 v
= (swig_varlinkobject
*) p
;
33152 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33153 gv
->name
= (char *) malloc(strlen(name
)+1);
33154 strcpy(gv
->name
,name
);
33155 gv
->get_attr
= get_attr
;
33156 gv
->set_attr
= set_attr
;
33157 gv
->next
= v
->vars
;
33161 /* -----------------------------------------------------------------------------
33162 * constants/methods manipulation
33163 * ----------------------------------------------------------------------------- */
33165 /* Install Constants */
33167 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33170 for (i
= 0; constants
[i
].type
; i
++) {
33171 switch(constants
[i
].type
) {
33173 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33175 case SWIG_PY_FLOAT
:
33176 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33178 case SWIG_PY_STRING
:
33179 if (constants
[i
].pvalue
) {
33180 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33182 Py_INCREF(Py_None
);
33186 case SWIG_PY_POINTER
:
33187 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33189 case SWIG_PY_BINARY
:
33190 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33197 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33203 /* -----------------------------------------------------------------------------*/
33204 /* Fix SwigMethods to carry the callback ptrs when needed */
33205 /* -----------------------------------------------------------------------------*/
33208 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33209 swig_const_info
*const_table
,
33210 swig_type_info
**types
,
33211 swig_type_info
**types_initial
) {
33213 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33214 char *c
= methods
[i
].ml_doc
;
33215 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33217 swig_const_info
*ci
= 0;
33218 char *name
= c
+ 10;
33219 for (j
= 0; const_table
[j
].type
; j
++) {
33220 if (strncmp(const_table
[j
].name
, name
,
33221 strlen(const_table
[j
].name
)) == 0) {
33222 ci
= &(const_table
[j
]);
33227 size_t shift
= (ci
->ptype
) - types
;
33228 swig_type_info
*ty
= types_initial
[shift
];
33229 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33230 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33231 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33233 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33234 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33236 strncpy(buff
, "swig_ptr: ", 10);
33238 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33239 methods
[i
].ml_doc
= ndoc
;
33245 /* -----------------------------------------------------------------------------*
33246 * Initialize type list
33247 * -----------------------------------------------------------------------------*/
33249 #if PY_MAJOR_VERSION < 2
33250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33251 is copied out of Python/modsupport.c in python version 2.3.4 */
33253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33256 if (!PyModule_Check(m
)) {
33257 PyErr_SetString(PyExc_TypeError
,
33258 "PyModule_AddObject() needs module as first arg");
33262 PyErr_SetString(PyExc_TypeError
,
33263 "PyModule_AddObject() needs non-NULL value");
33267 dict
= PyModule_GetDict(m
);
33268 if (dict
== NULL
) {
33269 /* Internal error -- modules must have a dict! */
33270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33271 PyModule_GetName(m
));
33274 if (PyDict_SetItemString(dict
, name
, o
))
33281 static swig_type_info
**
33282 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33283 static PyMethodDef swig_empty_runtime_method_table
[] = {
33285 NULL
, NULL
, 0, NULL
33289 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33290 swig_empty_runtime_method_table
);
33291 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33292 if (pointer
&& module) {
33293 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33295 return type_list_handle
;
33298 static swig_type_info
**
33299 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33300 swig_type_info
**type_pointer
;
33302 /* first check if module already created */
33303 type_pointer
= SWIG_Python_GetTypeListHandle();
33304 if (type_pointer
) {
33305 return type_pointer
;
33307 /* create a new module and variable */
33308 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33316 /* -----------------------------------------------------------------------------*
33317 * Partial Init method
33318 * -----------------------------------------------------------------------------*/
33320 #ifdef SWIG_LINK_RUNTIME
33324 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33330 SWIGEXPORT(void) SWIG_init(void) {
33331 static PyObject
*SWIG_globals
= 0;
33332 static int typeinit
= 0;
33335 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33337 /* Fix SwigMethods to carry the callback ptrs when needed */
33338 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33340 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33341 d
= PyModule_GetDict(m
);
33344 #ifdef SWIG_LINK_RUNTIME
33345 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33347 # ifndef SWIG_STATIC_RUNTIME
33348 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33351 for (i
= 0; swig_types_initial
[i
]; i
++) {
33352 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33356 SWIG_InstallConstants(d
,swig_const_table
);
33359 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33362 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33365 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33368 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33371 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33374 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33377 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33380 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33383 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33386 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33389 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33392 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33395 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33398 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33401 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33404 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33407 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33410 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33413 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33416 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33419 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33422 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33425 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33428 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33431 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33434 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33437 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33440 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33443 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33446 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33449 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33452 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33455 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33458 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33461 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33464 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33467 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33470 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33473 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33476 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33479 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33482 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33485 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33488 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33491 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33494 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33497 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33500 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33503 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33506 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33509 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33512 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33515 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33518 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33521 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33524 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33527 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33530 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33533 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33536 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33539 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33542 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33545 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33548 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33551 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33554 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33557 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33560 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33563 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33566 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33569 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33572 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33575 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33578 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33581 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33584 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33587 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33590 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33593 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33596 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33599 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33602 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33605 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33608 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33611 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33614 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33617 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33620 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33623 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33626 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33629 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33631 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33632 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33633 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33634 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33635 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33637 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33640 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33643 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33646 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33648 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33650 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33653 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33656 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33659 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33662 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33665 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33668 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33671 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33674 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33677 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33680 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33683 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33685 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33686 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33687 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33688 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33689 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33691 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33694 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33697 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33700 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33703 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33706 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33709 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33712 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33715 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33718 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33721 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33724 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33727 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33730 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33733 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33736 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33739 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33742 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33745 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33748 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33751 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33754 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33757 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33760 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33763 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33766 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33769 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33772 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33775 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33778 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33781 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33783 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33785 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33788 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33791 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33794 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33797 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33800 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33803 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33806 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33809 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33812 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33815 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33818 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33821 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33823 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33824 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33825 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33826 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33828 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33831 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33834 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33837 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33840 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33843 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33846 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33849 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33851 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33876 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33908 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33911 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33914 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33917 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33920 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33923 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33926 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33929 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33932 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33935 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33937 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33938 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33940 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33943 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33946 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33949 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33952 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33955 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33958 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33961 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33964 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33967 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33970 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33973 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33976 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33979 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33982 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33985 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33988 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33991 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33994 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33997 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34000 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34003 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34006 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34009 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34012 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34015 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34018 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34021 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34024 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34027 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34030 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34033 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34036 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34039 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34042 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34045 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34048 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34051 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34054 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34057 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34060 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34063 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34066 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34069 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34072 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34075 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34078 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34081 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34084 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34087 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34090 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34093 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34096 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34099 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34102 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34105 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34108 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34111 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34114 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34117 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34120 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34123 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34126 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34129 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34132 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34135 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34138 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34141 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34144 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34147 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34150 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34153 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34156 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34159 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34162 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34165 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34168 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34171 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34174 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34177 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34180 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34183 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34186 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34189 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34192 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34195 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34198 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34201 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34204 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34207 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34210 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34213 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34216 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34219 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34222 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34225 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34228 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34231 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34234 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34237 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34240 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34243 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34246 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34249 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34252 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34255 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34258 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34261 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34264 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34267 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34270 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34273 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34276 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34279 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34282 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34285 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34288 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34291 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34294 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34297 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34300 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34303 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34306 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34309 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34312 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34315 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34318 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34321 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34324 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34327 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34330 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34333 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34336 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34339 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34342 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34345 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34348 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34351 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34354 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34357 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34360 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34363 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34366 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34369 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34372 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34375 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34378 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34381 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34384 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34387 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34390 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34393 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34396 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34399 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34402 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34404 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34406 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34409 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34412 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34415 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34418 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34421 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34424 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34427 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34430 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34433 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34436 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34439 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34442 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34445 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34448 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34451 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34454 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34457 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34460 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34463 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34465 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34467 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34470 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34473 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34476 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34479 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34482 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34485 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34488 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34491 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34494 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34497 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34500 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34503 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34504 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34505 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34506 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34508 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);