1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[2]
1345 #define SWIGTYPE_p_wxLog swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxEvent swig_types[5]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[7]
1350 #define SWIGTYPE_p_wxDisplay swig_types[8]
1351 #define SWIGTYPE_p_wxFileType swig_types[9]
1352 #define SWIGTYPE_p_wxLogGui swig_types[10]
1353 #define SWIGTYPE_p_wxFont swig_types[11]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[12]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
1356 #define SWIGTYPE_p_wxCaret swig_types[14]
1357 #define SWIGTYPE_ptrdiff_t swig_types[15]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_p_int swig_types[17]
1360 #define SWIGTYPE_p_wxSize swig_types[18]
1361 #define SWIGTYPE_p_wxClipboard swig_types[19]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[20]
1363 #define SWIGTYPE_p_wxDC swig_types[21]
1364 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxLogStderr swig_types[24]
1367 #define SWIGTYPE_p_wxLogTextCtrl swig_types[25]
1368 #define SWIGTYPE_p_wxTextCtrl swig_types[26]
1369 #define SWIGTYPE_p_wxBusyCursor swig_types[27]
1370 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
1371 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
1372 #define SWIGTYPE_p_wxDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxPyTextDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxFileDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxURLDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxMetafileDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxSound swig_types[37]
1380 #define SWIGTYPE_p_wxTimerRunner swig_types[38]
1381 #define SWIGTYPE_p_wxLogWindow swig_types[39]
1382 #define SWIGTYPE_p_wxTimeSpan swig_types[40]
1383 #define SWIGTYPE_p_wxArrayString swig_types[41]
1384 #define SWIGTYPE_p_wxWindowDisabler swig_types[42]
1385 #define SWIGTYPE_p_form_ops_t swig_types[43]
1386 #define SWIGTYPE_p_wxToolTip swig_types[44]
1387 #define SWIGTYPE_p_wxDataObjectComposite swig_types[45]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[46]
1389 #define SWIGTYPE_p_wxFileConfig swig_types[47]
1390 #define SWIGTYPE_p_wxVideoMode swig_types[48]
1391 #define SWIGTYPE_p_wxDataObjectSimple swig_types[49]
1392 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[50]
1393 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
1394 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_char swig_types[54]
1397 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[55]
1398 #define SWIGTYPE_p_wxStandardPaths swig_types[56]
1399 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
1400 #define SWIGTYPE_p_wxFrame swig_types[58]
1401 #define SWIGTYPE_p_wxTimer swig_types[59]
1402 #define SWIGTYPE_p_wxPaperSize swig_types[60]
1403 #define SWIGTYPE_p_wxMimeTypesManager swig_types[61]
1404 #define SWIGTYPE_p_wxPyArtProvider swig_types[62]
1405 #define SWIGTYPE_p_wxPyTipProvider swig_types[63]
1406 #define SWIGTYPE_p_wxTipProvider swig_types[64]
1407 #define SWIGTYPE_p_wxJoystick swig_types[65]
1408 #define SWIGTYPE_p_wxSystemOptions swig_types[66]
1409 #define SWIGTYPE_p_wxPoint swig_types[67]
1410 #define SWIGTYPE_p_wxJoystickEvent swig_types[68]
1411 #define SWIGTYPE_p_wxCursor swig_types[69]
1412 #define SWIGTYPE_p_wxObject swig_types[70]
1413 #define SWIGTYPE_p_wxOutputStream swig_types[71]
1414 #define SWIGTYPE_p_wxDateTime swig_types[72]
1415 #define SWIGTYPE_p_wxPyDropSource swig_types[73]
1416 #define SWIGTYPE_p_unsigned_long swig_types[74]
1417 #define SWIGTYPE_p_wxKillError swig_types[75]
1418 #define SWIGTYPE_p_wxWindow swig_types[76]
1419 #define SWIGTYPE_p_wxString swig_types[77]
1420 #define SWIGTYPE_p_wxPyProcess swig_types[78]
1421 #define SWIGTYPE_p_wxBitmap swig_types[79]
1422 #define SWIGTYPE_p_wxConfig swig_types[80]
1423 #define SWIGTYPE_unsigned_int swig_types[81]
1424 #define SWIGTYPE_p_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_char swig_types[83]
1426 #define SWIGTYPE_p_wxChar swig_types[84]
1427 #define SWIGTYPE_p_wxBusyInfo swig_types[85]
1428 #define SWIGTYPE_p_wxPyDropTarget swig_types[86]
1429 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[87]
1430 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[88]
1431 #define SWIGTYPE_p_wxProcessEvent swig_types[89]
1432 #define SWIGTYPE_p_wxPyLog swig_types[90]
1433 #define SWIGTYPE_p_wxLogNull swig_types[91]
1434 #define SWIGTYPE_p_wxColour swig_types[92]
1435 #define SWIGTYPE_p_wxPyTimer swig_types[93]
1436 #define SWIGTYPE_p_wxConfigPathChanger swig_types[94]
1437 #define SWIGTYPE_p_wxDateSpan swig_types[95]
1438 static swig_type_info
*swig_types
[97];
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
);
1661 long wxGetFreeMemory()
1662 { wxPyRaiseNotImplemented(); return 0; }
1666 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1669 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1670 SWIG_type_error("unsigned number", obj
);
1673 *val
= (unsigned long)v
;
1678 SWIGINTERNSHORT
unsigned long
1679 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1682 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1684 this is needed to make valgrind/purify happier.
1686 memset((void*)&v
, 0, sizeof(unsigned long));
1693 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1695 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1699 SWIGINTERNSHORT PyObject
*
1700 SWIG_From_unsigned_SS_long(unsigned long value
)
1702 return (value
> LONG_MAX
) ?
1703 PyLong_FromUnsignedLong(value
)
1704 : PyInt_FromLong((long)(value
));
1708 void wxWakeUpMainThread() {}
1711 bool wxThread_IsMain() {
1712 #ifdef WXP_WITH_THREAD
1713 return wxThread::IsMain();
1719 static void wxCaret_Destroy(wxCaret
*self
){
1723 #include <wx/snglinst.h>
1727 #include <wx/msw/private.h>
1728 #include <wx/dynload.h>
1733 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1744 // This one only partially works. Appears to be an undocumented
1745 // "standard" convention that not all widgets adhear to. For
1746 // example, for some widgets backgrounds or non-client areas may
1748 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1753 // This one works much better, nearly all widgets and their
1754 // children are captured correctly[**]. Prior to the big
1755 // background erase changes that Vadim did in 2004-2005 this
1756 // method failed badly on XP with Themes activated, most native
1757 // widgets draw only partially, if at all. Without themes it
1758 // worked just like on Win2k. After those changes this method
1761 // ** For example the radio buttons in a wxRadioBox are not its
1762 // children by default, but you can capture it via the panel
1763 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1764 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1765 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1766 PRF_ERASEBKGND
| PRF_OWNED
);
1772 // This one is only defined in the latest SDK and is only
1773 // available on XP. MSDN says it is similar to sending WM_PRINT
1774 // so I expect that it will work similar to the above. Since it
1775 // is avaialble only on XP, it can't be compiled like this and
1776 // will have to be loaded dynamically.
1777 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1782 // Use PrintWindow if available, or fallback to WM_PRINT
1783 // otherwise. Unfortunately using PrintWindow is even worse than
1784 // WM_PRINT. For most native widgets nothing is drawn to the dc
1785 // at all, with or without Themes.
1786 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1787 static bool s_triedToLoad
= false;
1788 static PrintWindow_t pfnPrintWindow
= NULL
;
1789 if ( !s_triedToLoad
)
1792 s_triedToLoad
= true;
1793 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1794 if ( dllUser32
.IsLoaded() )
1796 wxLogNull nolog
; // Don't report errors here
1797 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1802 //printf("Using PrintWindow\n");
1803 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1807 //printf("Using WM_PRINT\n");
1808 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1809 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1810 PRF_ERASEBKGND
| PRF_OWNED
);
1821 #include <wx/tipdlg.h>
1824 class wxPyTipProvider
: public wxTipProvider
{
1826 wxPyTipProvider(size_t currentTip
)
1827 : wxTipProvider(currentTip
) {}
1829 DEC_PYCALLBACK_STRING__pure(GetTip
);
1830 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1834 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1835 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1838 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1840 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1842 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1843 : wxTimer(owner
, id
)
1845 if (owner
== NULL
) SetOwner(this);
1849 void wxPyTimer::Notify() {
1851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1852 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1853 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1854 wxPyEndBlockThreads(blocked
);
1858 void wxPyTimer::base_Notify() {
1864 SWIGINTERN PyObject
*
1865 SWIG_FromCharPtr(const char* cptr
)
1868 size_t size
= strlen(cptr
);
1869 if (size
> INT_MAX
) {
1870 return SWIG_NewPointerObj((char*)(cptr
),
1871 SWIG_TypeQuery("char *"), 0);
1874 return PyString_FromStringAndSize(cptr
, size
);
1876 return PyString_FromString(cptr
);
1886 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1887 unsigned long max_value
,
1890 if (value
> max_value
) {
1892 PyErr_Format(PyExc_OverflowError
,
1893 "value %lu is greater than '%s' minimum %lu",
1894 value
, errmsg
, max_value
);
1902 #if UINT_MAX != ULONG_MAX
1904 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1906 const char* errmsg
= val
? "unsigned int" : (char*)0;
1908 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1909 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1910 if (val
) *val
= (unsigned int)(v
);
1917 SWIG_type_error(errmsg
, obj
);
1922 SWIGINTERNSHORT
unsigned int
1923 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1925 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1930 SWIGINTERNSHORT
unsigned int
1931 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1934 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1936 this is needed to make valgrind/purify happier.
1938 memset((void*)&v
, 0, sizeof(unsigned int));
1945 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1947 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1950 static wxString
Log_TimeStamp(){
1952 wxLog::TimeStamp(&msg
);
1955 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1956 // Make somce wrappers that double any % signs so they are 'escaped'
1957 void wxPyLogFatalError(const wxString
& msg
)
1960 m
.Replace(wxT("%"), wxT("%%"));
1964 void wxPyLogError(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogWarning(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogMessage(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogInfo(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogDebug(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogVerbose(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogStatus(const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2013 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2017 wxLogStatus(pFrame
, m
);
2020 void wxPyLogSysError(const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2027 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2031 wxLogGeneric(level
, m
);
2034 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask
, m
);
2041 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2044 m
.Replace(wxT("%"), wxT("%%"));
2045 wxLogTrace(mask
, m
);
2050 // A wxLog class that can be derived from in wxPython
2051 class wxPyLog
: public wxLog
{
2053 wxPyLog() : wxLog() {}
2055 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2058 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2059 PyObject
* s
= wx2PyString(szString
);
2060 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2063 wxPyEndBlockThreads(blocked
);
2065 wxLog::DoLog(level
, szString
, t
);
2068 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2071 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2072 PyObject
* s
= wx2PyString(szString
);
2073 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2076 wxPyEndBlockThreads(blocked
);
2078 wxLog::DoLogString(szString
, t
);
2087 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2090 #include <wx/joystick.h>
2093 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2094 // A C++ stub class for wxJoystick for platforms that don't have it.
2095 class wxJoystick
: public wxObject
{
2097 wxJoystick(int joystick
= wxJOYSTICK1
) {
2098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2099 PyErr_SetString(PyExc_NotImplementedError
,
2100 "wxJoystick is not available on this platform.");
2101 wxPyEndBlockThreads(blocked
);
2103 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2104 int GetZPosition() { return -1; }
2105 int GetButtonState() { return -1; }
2106 int GetPOVPosition() { return -1; }
2107 int GetPOVCTSPosition() { return -1; }
2108 int GetRudderPosition() { return -1; }
2109 int GetUPosition() { return -1; }
2110 int GetVPosition() { return -1; }
2111 int GetMovementThreshold() { return -1; }
2112 void SetMovementThreshold(int threshold
) {}
2114 bool IsOk(void) { return false; }
2115 int GetNumberJoysticks() { return -1; }
2116 int GetManufacturerId() { return -1; }
2117 int GetProductId() { return -1; }
2118 wxString
GetProductName() { return wxEmptyString
; }
2119 int GetXMin() { return -1; }
2120 int GetYMin() { return -1; }
2121 int GetZMin() { return -1; }
2122 int GetXMax() { return -1; }
2123 int GetYMax() { return -1; }
2124 int GetZMax() { return -1; }
2125 int GetNumberButtons() { return -1; }
2126 int GetNumberAxes() { return -1; }
2127 int GetMaxButtons() { return -1; }
2128 int GetMaxAxes() { return -1; }
2129 int GetPollingMin() { return -1; }
2130 int GetPollingMax() { return -1; }
2131 int GetRudderMin() { return -1; }
2132 int GetRudderMax() { return -1; }
2133 int GetUMin() { return -1; }
2134 int GetUMax() { return -1; }
2135 int GetVMin() { return -1; }
2136 int GetVMax() { return -1; }
2138 bool HasRudder() { return false; }
2139 bool HasZ() { return false; }
2140 bool HasU() { return false; }
2141 bool HasV() { return false; }
2142 bool HasPOV() { return false; }
2143 bool HasPOV4Dir() { return false; }
2144 bool HasPOVCTS() { return false; }
2146 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2147 bool ReleaseCapture() { return false; }
2152 #include <wx/sound.h>
2156 // A C++ stub class for wxWave for platforms that don't have it.
2157 class wxSound
: public wxObject
2161 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2162 PyErr_SetString(PyExc_NotImplementedError
,
2163 "wxSound is not available on this platform.");
2164 wxPyEndBlockThreads(blocked
);
2166 wxSound(const wxString
&/*, bool*/) {
2167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2168 PyErr_SetString(PyExc_NotImplementedError
,
2169 "wxSound is not available on this platform.");
2170 wxPyEndBlockThreads(blocked
);
2172 wxSound(int, const wxByte
*) {
2173 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2174 PyErr_SetString(PyExc_NotImplementedError
,
2175 "wxSound is not available on this platform.");
2176 wxPyEndBlockThreads(blocked
);
2181 bool Create(const wxString
&/*, bool*/) { return false; }
2182 bool Create(int, const wxByte
*) { return false; };
2183 bool IsOk() { return false; };
2184 bool Play(unsigned) const { return false; }
2185 static bool Play(const wxString
&, unsigned) { return false; }
2186 static void Stop() {}
2191 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2192 if (fileName
.Length() == 0)
2195 return new wxSound(fileName
);
2197 static wxSound
*new_wxSound(PyObject
*data
){
2198 unsigned char* buffer
; int size
;
2199 wxSound
*sound
= NULL
;
2201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2202 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2204 sound
= new wxSound(size
, buffer
);
2206 wxPyEndBlockThreads(blocked
);
2209 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2211 unsigned char* buffer
;
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2218 rv
= self
->Create(size
, buffer
);
2220 wxPyEndBlockThreads(blocked
);
2223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2224 PyErr_SetString(PyExc_NotImplementedError
,
2225 "Create from data is not available on this platform.");
2226 wxPyEndBlockThreads(blocked
);
2231 #include <wx/mimetype.h>
2233 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2235 if (self
->GetMimeType(&str
))
2236 return wx2PyString(str
);
2240 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2242 if (self
->GetMimeTypes(arr
))
2243 return wxArrayString2PyList_helper(arr
);
2247 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2249 if (self
->GetExtensions(arr
))
2250 return wxArrayString2PyList_helper(arr
);
2254 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2256 if (self
->GetIcon(&loc
))
2257 return new wxIcon(loc
);
2261 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2263 if (self
->GetIcon(&loc
)) {
2264 wxString iconFile
= loc
.GetFileName();
2269 // Make a tuple and put the values in it
2270 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2271 PyObject
* tuple
= PyTuple_New(3);
2272 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2273 wxT("wxIcon"), true));
2274 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2275 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2276 wxPyEndBlockThreads(blocked
);
2282 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2284 if (self
->GetDescription(&str
))
2285 return wx2PyString(str
);
2289 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2291 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2298 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2299 return wx2PyString(str
);
2303 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2304 wxArrayString verbs
;
2305 wxArrayString commands
;
2306 if (self
->GetAllCommands(&verbs
, &commands
,
2307 wxFileType::MessageParameters(filename
, mimetype
))) {
2308 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2309 PyObject
* tuple
= PyTuple_New(2);
2310 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2311 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2312 wxPyEndBlockThreads(blocked
);
2318 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2319 return wxFileType::ExpandCommand(command
,
2320 wxFileType::MessageParameters(filename
, mimetype
));
2322 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2324 self
->EnumAllFileTypes(arr
);
2325 return wxArrayString2PyList_helper(arr
);
2328 #include <wx/artprov.h>
2330 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2331 static const wxString
wxPyART_MENU(wxART_MENU
);
2332 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2333 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2334 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2335 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2336 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2337 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2338 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2339 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2340 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2341 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2342 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2343 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2344 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2345 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2346 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2347 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2348 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2349 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2350 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2351 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2352 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2353 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2354 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2355 static const wxString
wxPyART_HELP(wxART_HELP
);
2356 static const wxString
wxPyART_TIP(wxART_TIP
);
2357 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2358 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2359 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2360 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2361 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2362 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2363 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2364 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2365 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2366 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2367 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2368 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2369 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2370 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2371 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2372 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2373 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2374 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2375 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2376 static const wxString
wxPyART_COPY(wxART_COPY
);
2377 static const wxString
wxPyART_CUT(wxART_CUT
);
2378 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2379 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2380 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2381 static const wxString
wxPyART_REDO(wxART_REDO
);
2382 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2383 static const wxString
wxPyART_FIND(wxART_FIND
);
2384 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2385 // Python aware wxArtProvider
2386 class wxPyArtProvider
: public wxArtProvider
{
2389 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2390 const wxArtClient
& client
,
2391 const wxSize
& size
) {
2392 wxBitmap rval
= wxNullBitmap
;
2393 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2394 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2395 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2399 s1
= wx2PyString(id
);
2400 s2
= wx2PyString(client
);
2401 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2406 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2411 wxPyEndBlockThreads(blocked
);
2418 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2422 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2423 PyObject
* ret
= PyTuple_New(3);
2425 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2426 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2427 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2432 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2437 cont
= self
->GetFirstGroup(value
, index
);
2438 return __EnumerationHelper(cont
, value
, index
);
2440 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2444 cont
= self
->GetNextGroup(value
, index
);
2445 return __EnumerationHelper(cont
, value
, index
);
2447 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2452 cont
= self
->GetFirstEntry(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2459 cont
= self
->GetNextEntry(value
, index
);
2460 return __EnumerationHelper(cont
, value
, index
);
2462 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2464 self
->Read(key
, &rv
, defaultVal
);
2469 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2471 if (PyNumber_Check(obj
)) {
2472 if (val
) *val
= PyFloat_AsDouble(obj
);
2476 SWIG_type_error("number", obj
);
2482 SWIGINTERNSHORT
double
2483 SWIG_As_double(PyObject
* obj
)
2486 if (!SWIG_AsVal_double(obj
, &v
)) {
2488 this is needed to make valgrind/purify happier.
2490 memset((void*)&v
, 0, sizeof(double));
2497 SWIG_Check_double(PyObject
* obj
)
2499 return SWIG_AsVal_double(obj
, (double*)0);
2502 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2504 self
->Read(key
, &rv
, defaultVal
);
2508 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2509 #define SWIG_From_double PyFloat_FromDouble
2512 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2514 self
->Read(key
, &rv
, defaultVal
);
2518 #include <wx/datetime.h>
2520 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2521 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2523 #define LOCAL_TZ wxDateTime::Local
2525 static PyObject
*DateTime_GetAmPmStrings(){
2528 wxDateTime::GetAmPmStrings(&am
, &pm
);
2529 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2530 PyObject
* tup
= PyTuple_New(2);
2531 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2532 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2533 wxPyEndBlockThreads(blocked
);
2537 #if UINT_MAX < LONG_MAX
2538 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2539 #define SWIG_From_unsigned_SS_int SWIG_From_long
2542 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2543 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2547 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2548 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2549 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2550 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2551 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2552 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2553 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2554 return (*self
< *other
);
2556 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2557 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2558 return (*self
<= *other
);
2560 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2561 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2562 return (*self
> *other
);
2564 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2565 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2566 return (*self
>= *other
);
2568 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2569 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2570 return (*self
== *other
);
2572 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2573 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2574 return (*self
!= *other
);
2576 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2578 const wxChar
* _date
= date
;
2579 rv
= self
->ParseRfc822Date(_date
);
2580 if (rv
== NULL
) return -1;
2583 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2585 const wxChar
* _date
= date
;
2586 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2587 if (rv
== NULL
) return -1;
2590 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2592 const wxChar
* _datetime
= datetime
;
2593 rv
= self
->ParseDateTime(_datetime
);
2594 if (rv
== NULL
) return -1;
2595 return rv
- _datetime
;
2597 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2599 const wxChar
* _date
= date
;
2600 rv
= self
->ParseDate(_date
);
2601 if (rv
== NULL
) return -1;
2604 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2606 const wxChar
* _time
= time
;
2607 rv
= self
->ParseTime(_time
);
2608 if (rv
== NULL
) return -1;
2611 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2612 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2613 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2614 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2615 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2616 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2617 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2618 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2619 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2620 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2621 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2622 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2623 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2624 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2625 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2626 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2628 #include <wx/dataobj.h>
2630 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2631 size_t count
= self
->GetFormatCount(dir
);
2632 wxDataFormat
* formats
= new wxDataFormat
[count
];
2633 self
->GetAllFormats(formats
, dir
);
2635 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2636 PyObject
* list
= PyList_New(count
);
2637 for (size_t i
=0; i
<count
; i
++) {
2638 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2639 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2640 PyList_Append(list
, obj
);
2643 wxPyEndBlockThreads(blocked
);
2647 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2648 PyObject
* rval
= NULL
;
2649 size_t size
= self
->GetDataSize(format
);
2650 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2652 char* buf
= new char[size
];
2653 if (self
->GetDataHere(format
, buf
))
2654 rval
= PyString_FromStringAndSize(buf
, size
);
2661 wxPyEndBlockThreads(blocked
);
2664 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2666 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2667 if (PyString_Check(data
)) {
2668 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2671 // raise a TypeError if not a string
2672 PyErr_SetString(PyExc_TypeError
, "String expected.");
2675 wxPyEndBlockThreads(blocked
);
2678 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2679 PyObject
* rval
= NULL
;
2680 size_t size
= self
->GetDataSize();
2681 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2683 char* buf
= new char[size
];
2684 if (self
->GetDataHere(buf
))
2685 rval
= PyString_FromStringAndSize(buf
, size
);
2692 wxPyEndBlockThreads(blocked
);
2695 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2697 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2698 if (PyString_Check(data
)) {
2699 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2702 // raise a TypeError if not a string
2703 PyErr_SetString(PyExc_TypeError
, "String expected.");
2706 wxPyEndBlockThreads(blocked
);
2709 // Create a new class for wxPython to use
2710 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2712 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2713 : wxDataObjectSimple(format
) {}
2715 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2716 bool GetDataHere(void *buf
) const;
2717 bool SetData(size_t len
, const void *buf
) const;
2721 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2723 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2724 // We need to get the data for this object and write it to buf. I think
2725 // the best way to do this for wxPython is to have the Python method
2726 // return either a string or None and then act appropriately with the
2730 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2731 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2733 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2735 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2737 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2741 wxPyEndBlockThreads(blocked
);
2745 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2746 // For this one we simply need to make a string from buf and len
2747 // and send it to the Python method.
2749 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2750 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2751 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2752 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2755 wxPyEndBlockThreads(blocked
);
2759 // Create a new class for wxPython to use
2760 class wxPyTextDataObject
: public wxTextDataObject
{
2762 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2763 : wxTextDataObject(text
) {}
2765 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2766 DEC_PYCALLBACK_STRING__const(GetText
);
2767 DEC_PYCALLBACK__STRING(SetText
);
2771 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2772 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2773 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2776 // Create a new class for wxPython to use
2777 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2779 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2780 : wxBitmapDataObject(bitmap
) {}
2782 wxBitmap
GetBitmap() const;
2783 void SetBitmap(const wxBitmap
& bitmap
);
2787 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2788 wxBitmap
* rval
= &wxNullBitmap
;
2789 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2790 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2793 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2795 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2800 wxPyEndBlockThreads(blocked
);
2804 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2805 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2806 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2807 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2808 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2811 wxPyEndBlockThreads(blocked
);
2814 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2815 return new wxCustomDataObject(wxDataFormat(formatName
));
2817 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2819 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2820 if (PyString_Check(data
)) {
2821 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2824 // raise a TypeError if not a string
2825 PyErr_SetString(PyExc_TypeError
, "String expected.");
2828 wxPyEndBlockThreads(blocked
);
2831 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2834 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2835 wxPyEndBlockThreads(blocked
);
2839 class wxMetafileDataObject
: public wxDataObjectSimple
2842 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2846 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2849 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2850 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2851 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2852 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2853 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2856 class wxPyTextDropTarget
: public wxTextDropTarget
{
2858 wxPyTextDropTarget() {}
2860 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2862 DEC_PYCALLBACK__(OnLeave
);
2863 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2864 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2865 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2866 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2871 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2872 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2873 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2874 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2875 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2876 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2880 class wxPyFileDropTarget
: public wxFileDropTarget
{
2882 wxPyFileDropTarget() {}
2884 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2886 DEC_PYCALLBACK__(OnLeave
);
2887 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2888 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2889 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2890 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2895 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2896 const wxArrayString
& filenames
) {
2898 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2899 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2900 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2901 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2904 wxPyEndBlockThreads(blocked
);
2910 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2911 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2912 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2913 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2914 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2919 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2921 #include <wx/display.h>
2923 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2924 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2926 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2928 #include <wx/dynarray.h>
2929 #include <wx/vidmode.h>
2931 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2932 #include "wx/arrimpl.cpp"
2933 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2934 const wxVideoMode wxDefaultVideoMode
;
2939 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2942 static size_t GetCount()
2943 { wxPyRaiseNotImplemented(); return 0; }
2945 static int GetFromPoint(const wxPoint
& pt
)
2946 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2947 static int GetFromWindow(wxWindow
*window
)
2948 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2950 virtual bool IsOk() const { return false; }
2951 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2952 virtual wxString
GetName() const { return wxEmptyString
; }
2953 bool IsPrimary() const { return false; }
2955 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2956 { wxArrayVideoModes a
; return a
; }
2958 virtual wxVideoMode
GetCurrentMode() const
2959 { return wxDefaultVideoMode
; }
2961 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2968 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2969 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2970 PyObject
* pyList
= NULL
;
2971 wxArrayVideoModes arr
= self
->GetModes(mode
);
2972 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2973 pyList
= PyList_New(0);
2974 for (int i
=0; i
< arr
.GetCount(); i
++) {
2975 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2976 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2977 PyList_Append(pyList
, pyObj
);
2980 wxPyEndBlockThreads(blocked
);
2984 #include <wx/stdpaths.h>
2986 static wxStandardPaths
*StandardPaths_Get(){
2987 return (wxStandardPaths
*) &wxStandardPaths::Get();
2992 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
*resultobj
;
2994 wxSystemColour arg1
;
2996 PyObject
* obj0
= 0 ;
2998 (char *) "index", NULL
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3003 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3004 if (SWIG_arg_fail(1)) SWIG_fail
;
3007 if (!wxPyCheckForApp()) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3015 wxColour
* resultptr
;
3016 resultptr
= new wxColour((wxColour
&)(result
));
3017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3025 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3029 PyObject
* obj0
= 0 ;
3031 (char *) "index", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3036 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3037 if (SWIG_arg_fail(1)) SWIG_fail
;
3040 if (!wxPyCheckForApp()) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3049 resultptr
= new wxFont((wxFont
&)(result
));
3050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3058 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxSystemMetric arg1
;
3061 wxWindow
*arg2
= (wxWindow
*) NULL
;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3066 (char *) "index",(char *) "win", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3072 if (SWIG_arg_fail(1)) SWIG_fail
;
3075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3076 if (SWIG_arg_fail(2)) SWIG_fail
;
3079 if (!wxPyCheckForApp()) SWIG_fail
;
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) SWIG_fail
;
3087 resultobj
= SWIG_From_int((int)(result
));
3095 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxSystemFeature arg1
;
3099 PyObject
* obj0
= 0 ;
3101 (char *) "index", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3106 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3107 if (SWIG_arg_fail(1)) SWIG_fail
;
3110 if (!wxPyCheckForApp()) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3126 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxSystemScreenType result
;
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3135 if (!wxPyCheckForApp()) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 resultobj
= SWIG_From_int((result
));
3149 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxSystemScreenType arg1
;
3152 PyObject
* obj0
= 0 ;
3154 (char *) "screen", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3159 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3160 if (SWIG_arg_fail(1)) SWIG_fail
;
3163 if (!wxPyCheckForApp()) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 Py_INCREF(Py_None
); resultobj
= Py_None
;
3177 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3180 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3182 return Py_BuildValue((char *)"");
3184 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3185 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3190 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3195 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3197 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3204 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxSystemOptions
*result
;
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= (wxSystemOptions
*)new wxSystemOptions();
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3226 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxString
*arg1
= 0 ;
3229 wxString
*arg2
= 0 ;
3230 bool temp1
= false ;
3231 bool temp2
= false ;
3232 PyObject
* obj0
= 0 ;
3233 PyObject
* obj1
= 0 ;
3235 (char *) "name",(char *) "value", NULL
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3240 arg1
= wxString_in_helper(obj0
);
3241 if (arg1
== NULL
) SWIG_fail
;
3245 arg2
= wxString_in_helper(obj1
);
3246 if (arg2
== NULL
) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 Py_INCREF(Py_None
); resultobj
= Py_None
;
3279 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxString
*arg1
= 0 ;
3283 bool temp1
= false ;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "name",(char *) "value", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3292 arg1
= wxString_in_helper(obj0
);
3293 if (arg1
== NULL
) SWIG_fail
;
3297 arg2
= (int)(SWIG_As_int(obj1
));
3298 if (SWIG_arg_fail(2)) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 Py_INCREF(Py_None
); resultobj
= Py_None
;
3322 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxString
*arg1
= 0 ;
3326 bool temp1
= false ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "name", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3334 arg1
= wxString_in_helper(obj0
);
3335 if (arg1
== NULL
) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3366 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxString
*arg1
= 0 ;
3370 bool temp1
= false ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "name", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3378 arg1
= wxString_in_helper(obj0
);
3379 if (arg1
== NULL
) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= SWIG_From_int((int)(result
));
3406 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxString
*arg1
= 0 ;
3410 bool temp1
= false ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "name", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3418 arg1
= wxString_in_helper(obj0
);
3419 if (arg1
== NULL
) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3446 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxString
*arg1
= 0 ;
3450 bool temp1
= false ;
3451 PyObject
* obj0
= 0 ;
3453 (char *) "name", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3458 arg1
= wxString_in_helper(obj0
);
3459 if (arg1
== NULL
) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3486 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3489 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3491 return Py_BuildValue((char *)"");
3493 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3494 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3499 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3504 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3506 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3513 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3514 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3519 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3524 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3526 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3533 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3534 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3539 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3544 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3546 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3553 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 result
= (long)wxNewId();
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= SWIG_From_long((long)(result
));
3577 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3580 PyObject
* obj0
= 0 ;
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3587 arg1
= (long)(SWIG_As_long(obj0
));
3588 if (SWIG_arg_fail(1)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3604 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (long)wxGetCurrentId();
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_From_long((long)(result
));
3628 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3632 PyObject
* obj0
= 0 ;
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3639 arg1
= (int)(SWIG_As_int(obj0
));
3640 if (SWIG_arg_fail(1)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (bool)wxIsStockID(arg1
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3658 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3661 wxString
*arg2
= 0 ;
3663 bool temp2
= false ;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "id",(char *) "label", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3672 arg1
= (int)(SWIG_As_int(obj0
));
3673 if (SWIG_arg_fail(1)) SWIG_fail
;
3676 arg2
= wxString_in_helper(obj1
);
3677 if (arg2
== NULL
) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3704 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3707 bool arg2
= (bool) true ;
3708 wxString arg3
= (wxString
) wxPyEmptyString
;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3712 PyObject
* obj2
= 0 ;
3714 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3719 arg1
= (int)(SWIG_As_int(obj0
));
3720 if (SWIG_arg_fail(1)) SWIG_fail
;
3724 arg2
= (bool)(SWIG_As_bool(obj1
));
3725 if (SWIG_arg_fail(2)) SWIG_fail
;
3730 wxString
* sptr
= wxString_in_helper(obj2
);
3731 if (sptr
== NULL
) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3756 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3764 if (!wxPyCheckForApp()) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3786 if (!wxPyCheckForApp()) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 bool arg1
= (bool) true ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "resetTimer", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3812 arg1
= (bool)(SWIG_As_bool(obj0
));
3813 if (SWIG_arg_fail(1)) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (long)wxGetElapsedTime(arg1
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_From_long((long)(result
));
3832 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 int *arg1
= (int *) 0 ;
3835 int *arg2
= (int *) 0 ;
3844 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3845 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 wxGetMousePosition(arg1
,arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 Py_INCREF(Py_None
); resultobj
= Py_None
;
3856 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3857 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3858 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3859 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3866 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (bool)wxIsBusy();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3890 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3918 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3921 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3923 bool temp1
= false ;
3924 PyObject
* obj0
= 0 ;
3926 (char *) "command", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3932 arg1
= wxString_in_helper(obj0
);
3933 if (arg1
== NULL
) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (bool)wxShell((wxString
const &)*arg1
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3961 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 Py_INCREF(Py_None
); resultobj
= Py_None
;
3982 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 int *arg1
= (int *) 0 ;
3985 int *arg2
= (int *) 0 ;
3995 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3996 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (int)wxGetOsVersion(arg1
,arg2
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_From_int((int)(result
));
4008 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4009 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4010 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4011 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4018 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= wxGetOsDescription();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4046 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (long)wxGetFreeMemory();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_From_long((long)(result
));
4070 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
;
4072 wxShutdownFlags arg1
;
4074 PyObject
* obj0
= 0 ;
4076 (char *) "wFlags", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4081 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4082 if (SWIG_arg_fail(1)) SWIG_fail
;
4085 if (!wxPyCheckForApp()) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4101 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4104 PyObject
* obj0
= 0 ;
4106 (char *) "secs", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4111 arg1
= (int)(SWIG_As_int(obj0
));
4112 if (SWIG_arg_fail(1)) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 unsigned long arg1
;
4131 PyObject
* obj0
= 0 ;
4133 (char *) "milliseconds", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4138 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4139 if (SWIG_arg_fail(1)) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 unsigned long arg1
;
4158 PyObject
* obj0
= 0 ;
4160 (char *) "microseconds", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4165 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4166 if (SWIG_arg_fail(1)) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 Py_INCREF(Py_None
); resultobj
= Py_None
;
4182 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4185 PyObject
* obj0
= 0 ;
4187 (char *) "enable", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4192 arg1
= (bool)(SWIG_As_bool(obj0
));
4193 if (SWIG_arg_fail(1)) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 wxEnableTopLevelWindows(arg1
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 Py_INCREF(Py_None
); resultobj
= Py_None
;
4209 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxString
*arg1
= 0 ;
4213 bool temp1
= false ;
4214 PyObject
* obj0
= 0 ;
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4221 arg1
= wxString_in_helper(obj0
);
4222 if (arg1
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4253 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= wxGetEmailAddress();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4281 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= wxGetHostName();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4309 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 result
= wxGetFullHostName();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4337 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= wxGetUserId();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4365 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= wxGetUserName();
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4393 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= wxGetHomeDir();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4421 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4424 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4426 bool temp1
= false ;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "user", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4435 arg1
= wxString_in_helper(obj0
);
4436 if (arg1
== NULL
) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= wxGetUserHome((wxString
const &)*arg1
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4468 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 unsigned long result
;
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (unsigned long)wxGetProcessId();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4492 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4516 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4517 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4518 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4523 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4524 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4525 int arg6
= (int) 0 ;
4526 wxWindow
*arg7
= (wxWindow
*) NULL
;
4527 int arg8
= (int) -1 ;
4528 int arg9
= (int) -1 ;
4530 bool temp1
= false ;
4531 bool temp2
= false ;
4532 bool temp3
= false ;
4533 bool temp4
= false ;
4534 bool temp5
= false ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4537 PyObject
* obj2
= 0 ;
4538 PyObject
* obj3
= 0 ;
4539 PyObject
* obj4
= 0 ;
4540 PyObject
* obj5
= 0 ;
4541 PyObject
* obj6
= 0 ;
4542 PyObject
* obj7
= 0 ;
4543 PyObject
* obj8
= 0 ;
4545 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4551 arg1
= wxString_in_helper(obj0
);
4552 if (arg1
== NULL
) SWIG_fail
;
4558 arg2
= wxString_in_helper(obj1
);
4559 if (arg2
== NULL
) SWIG_fail
;
4565 arg3
= wxString_in_helper(obj2
);
4566 if (arg3
== NULL
) SWIG_fail
;
4572 arg4
= wxString_in_helper(obj3
);
4573 if (arg4
== NULL
) SWIG_fail
;
4579 arg5
= wxString_in_helper(obj4
);
4580 if (arg5
== NULL
) SWIG_fail
;
4586 arg6
= (int)(SWIG_As_int(obj5
));
4587 if (SWIG_arg_fail(6)) SWIG_fail
;
4591 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4592 if (SWIG_arg_fail(7)) SWIG_fail
;
4596 arg8
= (int)(SWIG_As_int(obj7
));
4597 if (SWIG_arg_fail(8)) SWIG_fail
;
4602 arg9
= (int)(SWIG_As_int(obj8
));
4603 if (SWIG_arg_fail(9)) SWIG_fail
;
4607 if (!wxPyCheckForApp()) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4667 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxString
*arg1
= 0 ;
4670 wxString
*arg2
= 0 ;
4671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4673 wxWindow
*arg4
= (wxWindow
*) NULL
;
4675 bool temp1
= false ;
4676 bool temp2
= false ;
4677 bool temp3
= false ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 PyObject
* obj3
= 0 ;
4683 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4688 arg1
= wxString_in_helper(obj0
);
4689 if (arg1
== NULL
) SWIG_fail
;
4693 arg2
= wxString_in_helper(obj1
);
4694 if (arg2
== NULL
) SWIG_fail
;
4699 arg3
= wxString_in_helper(obj2
);
4700 if (arg3
== NULL
) SWIG_fail
;
4705 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4706 if (SWIG_arg_fail(4)) SWIG_fail
;
4709 if (!wxPyCheckForApp()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4753 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxString
*arg1
= 0 ;
4756 wxString
*arg2
= 0 ;
4757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4759 wxWindow
*arg4
= (wxWindow
*) NULL
;
4761 bool temp1
= false ;
4762 bool temp2
= false ;
4763 bool temp3
= false ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4769 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4774 arg1
= wxString_in_helper(obj0
);
4775 if (arg1
== NULL
) SWIG_fail
;
4779 arg2
= wxString_in_helper(obj1
);
4780 if (arg2
== NULL
) SWIG_fail
;
4785 arg3
= wxString_in_helper(obj2
);
4786 if (arg3
== NULL
) SWIG_fail
;
4791 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4792 if (SWIG_arg_fail(4)) SWIG_fail
;
4795 if (!wxPyCheckForApp()) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4839 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4842 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4843 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4844 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4845 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4848 wxWindow
*arg5
= (wxWindow
*) NULL
;
4850 bool temp1
= false ;
4851 bool temp2
= false ;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4855 PyObject
* obj2
= 0 ;
4856 PyObject
* obj3
= 0 ;
4857 PyObject
* obj4
= 0 ;
4859 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4865 arg1
= wxString_in_helper(obj0
);
4866 if (arg1
== NULL
) SWIG_fail
;
4872 arg2
= wxString_in_helper(obj1
);
4873 if (arg2
== NULL
) SWIG_fail
;
4879 arg3
= (long)(SWIG_As_long(obj2
));
4880 if (SWIG_arg_fail(3)) SWIG_fail
;
4886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4890 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4891 if (SWIG_arg_fail(5)) SWIG_fail
;
4894 if (!wxPyCheckForApp()) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4930 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxString
*arg1
= 0 ;
4933 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4934 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4937 wxWindow
*arg4
= (wxWindow
*) NULL
;
4938 int arg5
= (int) -1 ;
4939 int arg6
= (int) -1 ;
4940 bool arg7
= (bool) true ;
4942 bool temp1
= false ;
4943 bool temp2
= false ;
4944 bool temp3
= false ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4947 PyObject
* obj2
= 0 ;
4948 PyObject
* obj3
= 0 ;
4949 PyObject
* obj4
= 0 ;
4950 PyObject
* obj5
= 0 ;
4951 PyObject
* obj6
= 0 ;
4953 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4958 arg1
= wxString_in_helper(obj0
);
4959 if (arg1
== NULL
) SWIG_fail
;
4964 arg2
= wxString_in_helper(obj1
);
4965 if (arg2
== NULL
) SWIG_fail
;
4971 arg3
= wxString_in_helper(obj2
);
4972 if (arg3
== NULL
) SWIG_fail
;
4977 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4978 if (SWIG_arg_fail(4)) SWIG_fail
;
4982 arg5
= (int)(SWIG_As_int(obj4
));
4983 if (SWIG_arg_fail(5)) SWIG_fail
;
4988 arg6
= (int)(SWIG_As_int(obj5
));
4989 if (SWIG_arg_fail(6)) SWIG_fail
;
4994 arg7
= (bool)(SWIG_As_bool(obj6
));
4995 if (SWIG_arg_fail(7)) SWIG_fail
;
4999 if (!wxPyCheckForApp()) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5043 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxString
*arg1
= 0 ;
5046 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5047 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5048 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5050 wxWindow
*arg4
= (wxWindow
*) NULL
;
5052 bool temp1
= false ;
5053 bool temp2
= false ;
5054 bool temp3
= false ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5057 PyObject
* obj2
= 0 ;
5058 PyObject
* obj3
= 0 ;
5060 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5065 arg1
= wxString_in_helper(obj0
);
5066 if (arg1
== NULL
) SWIG_fail
;
5071 arg2
= wxString_in_helper(obj1
);
5072 if (arg2
== NULL
) SWIG_fail
;
5078 arg3
= wxString_in_helper(obj2
);
5079 if (arg3
== NULL
) SWIG_fail
;
5084 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5085 if (SWIG_arg_fail(4)) SWIG_fail
;
5088 if (!wxPyCheckForApp()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5132 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxString
*arg1
= 0 ;
5135 wxString
*arg2
= 0 ;
5137 wxString
*arg4
= (wxString
*) 0 ;
5138 wxWindow
*arg5
= (wxWindow
*) NULL
;
5139 int arg6
= (int) -1 ;
5140 int arg7
= (int) -1 ;
5141 bool arg8
= (bool) true ;
5142 int arg9
= (int) 150 ;
5143 int arg10
= (int) 200 ;
5145 bool temp1
= false ;
5146 bool temp2
= false ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5149 PyObject
* obj2
= 0 ;
5150 PyObject
* obj3
= 0 ;
5151 PyObject
* obj4
= 0 ;
5152 PyObject
* obj5
= 0 ;
5153 PyObject
* obj6
= 0 ;
5154 PyObject
* obj7
= 0 ;
5155 PyObject
* obj8
= 0 ;
5157 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5162 arg1
= wxString_in_helper(obj0
);
5163 if (arg1
== NULL
) SWIG_fail
;
5167 arg2
= wxString_in_helper(obj1
);
5168 if (arg2
== NULL
) SWIG_fail
;
5172 arg3
= PyList_Size(obj2
);
5173 arg4
= wxString_LIST_helper(obj2
);
5174 if (arg4
== NULL
) SWIG_fail
;
5177 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5178 if (SWIG_arg_fail(5)) SWIG_fail
;
5182 arg6
= (int)(SWIG_As_int(obj4
));
5183 if (SWIG_arg_fail(6)) SWIG_fail
;
5188 arg7
= (int)(SWIG_As_int(obj5
));
5189 if (SWIG_arg_fail(7)) SWIG_fail
;
5194 arg8
= (bool)(SWIG_As_bool(obj6
));
5195 if (SWIG_arg_fail(8)) SWIG_fail
;
5200 arg9
= (int)(SWIG_As_int(obj7
));
5201 if (SWIG_arg_fail(9)) SWIG_fail
;
5206 arg10
= (int)(SWIG_As_int(obj8
));
5207 if (SWIG_arg_fail(10)) SWIG_fail
;
5211 if (!wxPyCheckForApp()) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5234 if (arg4
) delete [] arg4
;
5247 if (arg4
) delete [] arg4
;
5253 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxString
*arg1
= 0 ;
5256 wxString
*arg2
= 0 ;
5258 wxString
*arg4
= (wxString
*) 0 ;
5259 wxWindow
*arg5
= (wxWindow
*) NULL
;
5260 int arg6
= (int) -1 ;
5261 int arg7
= (int) -1 ;
5262 bool arg8
= (bool) true ;
5263 int arg9
= (int) 150 ;
5264 int arg10
= (int) 200 ;
5266 bool temp1
= false ;
5267 bool temp2
= false ;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5270 PyObject
* obj2
= 0 ;
5271 PyObject
* obj3
= 0 ;
5272 PyObject
* obj4
= 0 ;
5273 PyObject
* obj5
= 0 ;
5274 PyObject
* obj6
= 0 ;
5275 PyObject
* obj7
= 0 ;
5276 PyObject
* obj8
= 0 ;
5278 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5283 arg1
= wxString_in_helper(obj0
);
5284 if (arg1
== NULL
) SWIG_fail
;
5288 arg2
= wxString_in_helper(obj1
);
5289 if (arg2
== NULL
) SWIG_fail
;
5293 arg3
= PyList_Size(obj2
);
5294 arg4
= wxString_LIST_helper(obj2
);
5295 if (arg4
== NULL
) SWIG_fail
;
5298 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5299 if (SWIG_arg_fail(5)) SWIG_fail
;
5303 arg6
= (int)(SWIG_As_int(obj4
));
5304 if (SWIG_arg_fail(6)) SWIG_fail
;
5309 arg7
= (int)(SWIG_As_int(obj5
));
5310 if (SWIG_arg_fail(7)) SWIG_fail
;
5315 arg8
= (bool)(SWIG_As_bool(obj6
));
5316 if (SWIG_arg_fail(8)) SWIG_fail
;
5321 arg9
= (int)(SWIG_As_int(obj7
));
5322 if (SWIG_arg_fail(9)) SWIG_fail
;
5327 arg10
= (int)(SWIG_As_int(obj8
));
5328 if (SWIG_arg_fail(10)) SWIG_fail
;
5332 if (!wxPyCheckForApp()) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_From_int((int)(result
));
5351 if (arg4
) delete [] arg4
;
5364 if (arg4
) delete [] arg4
;
5370 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxString
*arg1
= 0 ;
5373 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5374 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5375 int arg3
= (int) wxOK
|wxCENTRE
;
5376 wxWindow
*arg4
= (wxWindow
*) NULL
;
5377 int arg5
= (int) -1 ;
5378 int arg6
= (int) -1 ;
5380 bool temp1
= false ;
5381 bool temp2
= false ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 PyObject
* obj2
= 0 ;
5385 PyObject
* obj3
= 0 ;
5386 PyObject
* obj4
= 0 ;
5387 PyObject
* obj5
= 0 ;
5389 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5394 arg1
= wxString_in_helper(obj0
);
5395 if (arg1
== NULL
) SWIG_fail
;
5400 arg2
= wxString_in_helper(obj1
);
5401 if (arg2
== NULL
) SWIG_fail
;
5407 arg3
= (int)(SWIG_As_int(obj2
));
5408 if (SWIG_arg_fail(3)) SWIG_fail
;
5412 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5413 if (SWIG_arg_fail(4)) SWIG_fail
;
5417 arg5
= (int)(SWIG_As_int(obj4
));
5418 if (SWIG_arg_fail(5)) SWIG_fail
;
5423 arg6
= (int)(SWIG_As_int(obj5
));
5424 if (SWIG_arg_fail(6)) SWIG_fail
;
5428 if (!wxPyCheckForApp()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= SWIG_From_int((int)(result
));
5460 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxString
*arg1
= 0 ;
5463 wxString
*arg2
= 0 ;
5464 wxString
*arg3
= 0 ;
5466 long arg5
= (long) 0 ;
5467 long arg6
= (long) 100 ;
5468 wxWindow
*arg7
= (wxWindow
*) NULL
;
5469 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5470 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5472 bool temp1
= false ;
5473 bool temp2
= false ;
5474 bool temp3
= false ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5478 PyObject
* obj2
= 0 ;
5479 PyObject
* obj3
= 0 ;
5480 PyObject
* obj4
= 0 ;
5481 PyObject
* obj5
= 0 ;
5482 PyObject
* obj6
= 0 ;
5483 PyObject
* obj7
= 0 ;
5485 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5490 arg1
= wxString_in_helper(obj0
);
5491 if (arg1
== NULL
) SWIG_fail
;
5495 arg2
= wxString_in_helper(obj1
);
5496 if (arg2
== NULL
) SWIG_fail
;
5500 arg3
= wxString_in_helper(obj2
);
5501 if (arg3
== NULL
) SWIG_fail
;
5505 arg4
= (long)(SWIG_As_long(obj3
));
5506 if (SWIG_arg_fail(4)) SWIG_fail
;
5510 arg5
= (long)(SWIG_As_long(obj4
));
5511 if (SWIG_arg_fail(5)) SWIG_fail
;
5516 arg6
= (long)(SWIG_As_long(obj5
));
5517 if (SWIG_arg_fail(6)) SWIG_fail
;
5521 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5522 if (SWIG_arg_fail(7)) SWIG_fail
;
5527 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5531 if (!wxPyCheckForApp()) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_From_long((long)(result
));
5571 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5580 if (!wxPyCheckForApp()) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (bool)wxColourDisplay();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5596 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (int)wxDisplayDepth();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_From_int((int)(result
));
5621 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5630 if (!wxPyCheckForApp()) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (int)wxGetDisplayDepth();
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_From_int((int)(result
));
5646 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 int *arg1
= (int *) 0 ;
5649 int *arg2
= (int *) 0 ;
5658 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5659 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5662 if (!wxPyCheckForApp()) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxDisplaySize(arg1
,arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5671 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5672 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5673 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5680 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5689 if (!wxPyCheckForApp()) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= wxGetDisplaySize();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5698 resultptr
= new wxSize((wxSize
&)(result
));
5699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5707 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 int *arg1
= (int *) 0 ;
5710 int *arg2
= (int *) 0 ;
5719 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5720 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5723 if (!wxPyCheckForApp()) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 wxDisplaySizeMM(arg1
,arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5731 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5732 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5733 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5734 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5741 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5750 if (!wxPyCheckForApp()) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= wxGetDisplaySizeMM();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5759 resultptr
= new wxSize((wxSize
&)(result
));
5760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5768 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 int *arg1
= (int *) 0 ;
5771 int *arg2
= (int *) 0 ;
5772 int *arg3
= (int *) 0 ;
5773 int *arg4
= (int *) 0 ;
5786 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5789 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5792 if (!wxPyCheckForApp()) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 Py_INCREF(Py_None
); resultobj
= Py_None
;
5800 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5801 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5802 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5803 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5804 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5805 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5806 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5807 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5814 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5823 if (!wxPyCheckForApp()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= wxGetClientDisplayRect();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5832 resultptr
= new wxRect((wxRect
&)(result
));
5833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5841 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxCursor
*arg1
= 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "cursor", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5852 if (SWIG_arg_fail(1)) SWIG_fail
;
5854 SWIG_null_ref("wxCursor");
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5859 if (!wxPyCheckForApp()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "cursor", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5884 if (SWIG_arg_fail(1)) SWIG_fail
;
5887 if (!wxPyCheckForApp()) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 wxBeginBusyCursor(arg1
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5910 if (!wxPyCheckForApp()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (wxWindow
*)wxGetActiveWindow();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= wxPyMake_wxObject(result
, 0);
5926 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5931 PyObject
* obj0
= 0 ;
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5939 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5942 if (!wxPyCheckForApp()) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= wxPyMake_wxObject(result
, 0);
5958 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5963 PyObject
* obj0
= 0 ;
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5971 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5974 if (!wxPyCheckForApp()) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= wxPyMake_wxObject(result
, 0);
5990 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxWindow
*arg1
= (wxWindow
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "win", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6001 if (SWIG_arg_fail(1)) SWIG_fail
;
6003 if (!wxPyCheckForApp()) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= wxPyMake_wxObject(result
, 0);
6019 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxString
*arg1
= 0 ;
6023 bool temp1
= false ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "url", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6031 arg1
= wxString_in_helper(obj0
);
6032 if (arg1
== NULL
) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "key", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6070 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6071 if (SWIG_arg_fail(1)) SWIG_fail
;
6074 if (!wxPyCheckForApp()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6098 if (!wxPyCheckForApp()) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 wxWakeUpMainThread();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 Py_INCREF(Py_None
); resultobj
= Py_None
;
6112 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6120 if (!wxPyCheckForApp()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6142 if (!wxPyCheckForApp()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxMutexGuiLocker
*result
;
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6165 if (!wxPyCheckForApp()) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6179 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "self", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6189 if (SWIG_arg_fail(1)) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 Py_INCREF(Py_None
); resultobj
= Py_None
;
6204 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6207 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6209 return Py_BuildValue((char *)"");
6211 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (bool)wxThread_IsMain();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6235 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxString
*arg1
= 0 ;
6239 bool temp1
= false ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "tip", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6247 arg1
= wxString_in_helper(obj0
);
6248 if (arg1
== NULL
) SWIG_fail
;
6252 if (!wxPyCheckForApp()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= wxPyMake_wxObject(result
, 1);
6276 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6279 wxString
*arg2
= 0 ;
6280 bool temp2
= false ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6284 (char *) "self",(char *) "tip", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail
;
6291 arg2
= wxString_in_helper(obj1
);
6292 if (arg2
== NULL
) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 (arg1
)->SetTip((wxString
const &)*arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6328 if (SWIG_arg_fail(1)) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (arg1
)->GetTip();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6349 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6360 if (SWIG_arg_fail(1)) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxWindow
*)(arg1
)->GetWindow();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= wxPyMake_wxObject(result
, 0);
6377 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "flag", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6387 arg1
= (bool)(SWIG_As_bool(obj0
));
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 wxToolTip::Enable(arg1
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "milliseconds", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6414 arg1
= (long)(SWIG_As_long(obj0
));
6415 if (SWIG_arg_fail(1)) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxToolTip::SetDelay(arg1
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6434 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6436 return Py_BuildValue((char *)"");
6438 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxWindow
*arg1
= (wxWindow
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6447 (char *) "window",(char *) "size", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6452 if (SWIG_arg_fail(1)) SWIG_fail
;
6455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6458 if (!wxPyCheckForApp()) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6472 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxCaret
*arg1
= (wxCaret
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6477 (char *) "self", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 wxCaret_Destroy(arg1
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 Py_INCREF(Py_None
); resultobj
= Py_None
;
6497 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxCaret
*arg1
= (wxCaret
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6508 if (SWIG_arg_fail(1)) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (bool)(arg1
)->IsOk();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6525 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxCaret
*arg1
= (wxCaret
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6536 if (SWIG_arg_fail(1)) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (bool)(arg1
)->IsVisible();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6553 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxCaret
*arg1
= (wxCaret
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (arg1
)->GetPosition();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6573 wxPoint
* resultptr
;
6574 resultptr
= new wxPoint((wxPoint
&)(result
));
6575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6583 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxCaret
*arg1
= (wxCaret
*) 0 ;
6586 int *arg2
= (int *) 0 ;
6587 int *arg3
= (int *) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6598 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->GetPosition(arg2
,arg3
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6611 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6612 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6613 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6620 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxCaret
*arg1
= (wxCaret
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (arg1
)->GetSize();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6641 resultptr
= new wxSize((wxSize
&)(result
));
6642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6650 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxCaret
*arg1
= (wxCaret
*) 0 ;
6653 int *arg2
= (int *) 0 ;
6654 int *arg3
= (int *) 0 ;
6659 PyObject
* obj0
= 0 ;
6661 (char *) "self", NULL
6664 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6665 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6668 if (SWIG_arg_fail(1)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 (arg1
)->GetSize(arg2
,arg3
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6678 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6679 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6680 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6687 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxCaret
*arg1
= (wxCaret
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6698 if (SWIG_arg_fail(1)) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (wxWindow
*)(arg1
)->GetWindow();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= wxPyMake_wxObject(result
, 0);
6715 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxCaret
*arg1
= (wxCaret
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6722 PyObject
* obj2
= 0 ;
6724 (char *) "self",(char *) "x",(char *) "y", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6729 if (SWIG_arg_fail(1)) SWIG_fail
;
6731 arg2
= (int)(SWIG_As_int(obj1
));
6732 if (SWIG_arg_fail(2)) SWIG_fail
;
6735 arg3
= (int)(SWIG_As_int(obj2
));
6736 if (SWIG_arg_fail(3)) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 (arg1
)->Move(arg2
,arg3
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxCaret
*arg1
= (wxCaret
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6760 (char *) "self",(char *) "pt", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6765 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 (arg1
)->Move((wxPoint
const &)*arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxCaret
*arg1
= (wxCaret
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6793 (char *) "self",(char *) "width",(char *) "height", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6798 if (SWIG_arg_fail(1)) SWIG_fail
;
6800 arg2
= (int)(SWIG_As_int(obj1
));
6801 if (SWIG_arg_fail(2)) SWIG_fail
;
6804 arg3
= (int)(SWIG_As_int(obj2
));
6805 if (SWIG_arg_fail(3)) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 (arg1
)->SetSize(arg2
,arg3
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxCaret
*arg1
= (wxCaret
*) 0 ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "size", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 (arg1
)->SetSize((wxSize
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 Py_INCREF(Py_None
); resultobj
= Py_None
;
6853 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxCaret
*arg1
= (wxCaret
*) 0 ;
6856 int arg2
= (int) true ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6860 (char *) "self",(char *) "show", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6865 if (SWIG_arg_fail(1)) SWIG_fail
;
6868 arg2
= (int)(SWIG_As_int(obj1
));
6869 if (SWIG_arg_fail(2)) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxCaret
*arg1
= (wxCaret
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "self", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (int)wxCaret::GetBlinkTime();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_From_int((int)(result
));
6935 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6938 PyObject
* obj0
= 0 ;
6940 (char *) "milliseconds", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6945 arg1
= (int)(SWIG_As_int(obj0
));
6946 if (SWIG_arg_fail(1)) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 wxCaret::SetBlinkTime(arg1
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6965 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6967 return Py_BuildValue((char *)"");
6969 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6972 wxBusyCursor
*result
;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "cursor", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6981 if (SWIG_arg_fail(1)) SWIG_fail
;
6984 if (!wxPyCheckForApp()) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6998 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7008 if (SWIG_arg_fail(1)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7026 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7028 return Py_BuildValue((char *)"");
7030 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxWindow
*arg1
= (wxWindow
*) NULL
;
7033 wxWindowDisabler
*result
;
7034 PyObject
* obj0
= 0 ;
7036 (char *) "winToSkip", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7042 if (SWIG_arg_fail(1)) SWIG_fail
;
7045 if (!wxPyCheckForApp()) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7059 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7087 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7089 return Py_BuildValue((char *)"");
7091 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxString
*arg1
= 0 ;
7095 bool temp1
= false ;
7096 PyObject
* obj0
= 0 ;
7098 (char *) "message", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7103 arg1
= wxString_in_helper(obj0
);
7104 if (arg1
== NULL
) SWIG_fail
;
7108 if (!wxPyCheckForApp()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7130 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "self", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7158 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7160 return Py_BuildValue((char *)"");
7162 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxStopWatch
*result
;
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (wxStopWatch
*)new wxStopWatch();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7184 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7187 long arg2
= (long) 0 ;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7191 (char *) "self",(char *) "t0", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7196 if (SWIG_arg_fail(1)) SWIG_fail
;
7199 arg2
= (long)(SWIG_As_long(obj1
));
7200 if (SWIG_arg_fail(2)) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->Start(arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 Py_INCREF(Py_None
); resultobj
= Py_None
;
7217 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7220 PyObject
* obj0
= 0 ;
7222 (char *) "self", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7227 if (SWIG_arg_fail(1)) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 Py_INCREF(Py_None
); resultobj
= Py_None
;
7242 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "self", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "self", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7278 if (SWIG_arg_fail(1)) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_From_long((long)(result
));
7295 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7298 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7300 return Py_BuildValue((char *)"");
7302 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 int arg1
= (int) 9 ;
7305 int arg2
= (int) wxID_FILE1
;
7306 wxFileHistory
*result
;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7310 (char *) "maxFiles",(char *) "idBase", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7316 arg1
= (int)(SWIG_As_int(obj0
));
7317 if (SWIG_arg_fail(1)) SWIG_fail
;
7322 arg2
= (int)(SWIG_As_int(obj1
));
7323 if (SWIG_arg_fail(2)) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7340 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7345 (char *) "self", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7350 if (SWIG_arg_fail(1)) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7368 wxString
*arg2
= 0 ;
7369 bool temp2
= false ;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7373 (char *) "self",(char *) "file", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7378 if (SWIG_arg_fail(1)) SWIG_fail
;
7380 arg2
= wxString_in_helper(obj1
);
7381 if (arg2
== NULL
) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7411 PyObject
* obj1
= 0 ;
7413 (char *) "self",(char *) "i", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 arg2
= (int)(SWIG_As_int(obj1
));
7421 if (SWIG_arg_fail(2)) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 (arg1
)->RemoveFileFromHistory(arg2
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "self", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_From_int((int)(result
));
7465 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7468 wxMenu
*arg2
= (wxMenu
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7472 (char *) "self",(char *) "menu", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail
;
7478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7479 if (SWIG_arg_fail(2)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 (arg1
)->UseMenu(arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7497 wxMenu
*arg2
= (wxMenu
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7501 (char *) "self",(char *) "menu", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(1)) SWIG_fail
;
7507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7508 if (SWIG_arg_fail(2)) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 (arg1
)->RemoveMenu(arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7526 wxConfigBase
*arg2
= 0 ;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7530 (char *) "self",(char *) "config", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7535 if (SWIG_arg_fail(1)) SWIG_fail
;
7537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7538 if (SWIG_arg_fail(2)) SWIG_fail
;
7540 SWIG_null_ref("wxConfigBase");
7542 if (SWIG_arg_fail(2)) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 (arg1
)->Load(*arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7558 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7561 wxConfigBase
*arg2
= 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7565 (char *) "self",(char *) "config", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7570 if (SWIG_arg_fail(1)) SWIG_fail
;
7572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7573 if (SWIG_arg_fail(2)) SWIG_fail
;
7575 SWIG_null_ref("wxConfigBase");
7577 if (SWIG_arg_fail(2)) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 (arg1
)->Save(*arg2
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7593 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->AddFilesToMenu();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7621 wxMenu
*arg2
= (wxMenu
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "self",(char *) "menu", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(2)) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 (arg1
)->AddFilesToMenu(arg2
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 Py_INCREF(Py_None
); resultobj
= Py_None
;
7647 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7655 (char *) "self",(char *) "i", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 arg2
= (int)(SWIG_As_int(obj1
));
7663 if (SWIG_arg_fail(2)) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7685 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7691 (char *) "self", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7696 if (SWIG_arg_fail(1)) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_From_int((int)(result
));
7713 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7716 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7718 return Py_BuildValue((char *)"");
7720 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxString
*arg1
= 0 ;
7723 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7724 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7725 wxSingleInstanceChecker
*result
;
7726 bool temp1
= false ;
7727 bool temp2
= false ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "name",(char *) "path", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7736 arg1
= wxString_in_helper(obj0
);
7737 if (arg1
== NULL
) SWIG_fail
;
7742 arg2
= wxString_in_helper(obj1
);
7743 if (arg2
== NULL
) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7777 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxSingleInstanceChecker
*result
;
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7799 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 Py_INCREF(Py_None
); resultobj
= Py_None
;
7824 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7827 wxString
*arg2
= 0 ;
7828 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7829 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7831 bool temp2
= false ;
7832 bool temp3
= false ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7835 PyObject
* obj2
= 0 ;
7837 (char *) "self",(char *) "name",(char *) "path", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail
;
7844 arg2
= wxString_in_helper(obj1
);
7845 if (arg2
== NULL
) SWIG_fail
;
7850 arg3
= wxString_in_helper(obj2
);
7851 if (arg3
== NULL
) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7887 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7915 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7918 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7920 return Py_BuildValue((char *)"");
7922 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxWindow
*arg1
= (wxWindow
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "window",(char *) "dc", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(2)) SWIG_fail
;
7940 SWIG_null_ref("wxDC");
7942 if (SWIG_arg_fail(2)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7960 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7985 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7996 if (SWIG_arg_fail(1)) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (arg1
)->GetTip();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8017 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (size_t)(arg1
)->GetCurrentTip();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8045 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8048 wxString
*arg2
= 0 ;
8050 bool temp2
= false ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8054 (char *) "self",(char *) "tip", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 arg2
= wxString_in_helper(obj1
);
8062 if (arg2
== NULL
) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8093 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8096 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8098 return Py_BuildValue((char *)"");
8100 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8103 wxPyTipProvider
*result
;
8104 PyObject
* obj0
= 0 ;
8106 (char *) "currentTip", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8111 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8112 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8128 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8131 PyObject
*arg2
= (PyObject
*) 0 ;
8132 PyObject
*arg3
= (PyObject
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8137 (char *) "self",(char *) "self",(char *) "_class", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8142 if (SWIG_arg_fail(1)) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8162 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8164 return Py_BuildValue((char *)"");
8166 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxWindow
*arg1
= (wxWindow
*) 0 ;
8169 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8170 bool arg3
= (bool) true ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8176 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8181 if (SWIG_arg_fail(1)) SWIG_fail
;
8182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8183 if (SWIG_arg_fail(2)) SWIG_fail
;
8186 arg3
= (bool)(SWIG_As_bool(obj2
));
8187 if (SWIG_arg_fail(3)) SWIG_fail
;
8191 if (!wxPyCheckForApp()) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8207 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxString
*arg1
= 0 ;
8211 wxTipProvider
*result
;
8212 bool temp1
= false ;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8216 (char *) "filename",(char *) "currentTip", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8221 arg1
= wxString_in_helper(obj0
);
8222 if (arg1
== NULL
) SWIG_fail
;
8226 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8227 if (SWIG_arg_fail(2)) SWIG_fail
;
8230 if (!wxPyCheckForApp()) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8252 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8255 int arg2
= (int) -1 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8260 (char *) "owner",(char *) "id", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8270 arg2
= (int)(SWIG_As_int(obj1
));
8271 if (SWIG_arg_fail(2)) SWIG_fail
;
8275 if (!wxPyCheckForApp()) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8289 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8294 (char *) "self", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8314 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8317 PyObject
*arg2
= (PyObject
*) 0 ;
8318 PyObject
*arg3
= (PyObject
*) 0 ;
8319 int arg4
= (int) 1 ;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8322 PyObject
* obj2
= 0 ;
8323 PyObject
* obj3
= 0 ;
8325 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8335 arg4
= (int)(SWIG_As_int(obj3
));
8336 if (SWIG_arg_fail(4)) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8356 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8357 int arg3
= (int) -1 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8360 PyObject
* obj2
= 0 ;
8362 (char *) "self",(char *) "owner",(char *) "id", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8367 if (SWIG_arg_fail(1)) SWIG_fail
;
8368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8369 if (SWIG_arg_fail(2)) SWIG_fail
;
8372 arg3
= (int)(SWIG_As_int(obj2
));
8373 if (SWIG_arg_fail(3)) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->SetOwner(arg2
,arg3
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8393 wxEvtHandler
*result
;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8401 if (SWIG_arg_fail(1)) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= wxPyMake_wxObject(result
, 0);
8418 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8421 int arg2
= (int) -1 ;
8422 bool arg3
= (bool) false ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8426 PyObject
* obj2
= 0 ;
8428 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8433 if (SWIG_arg_fail(1)) SWIG_fail
;
8436 arg2
= (int)(SWIG_As_int(obj1
));
8437 if (SWIG_arg_fail(2)) SWIG_fail
;
8442 arg3
= (bool)(SWIG_As_bool(obj2
));
8443 if (SWIG_arg_fail(3)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8462 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8487 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8515 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8521 (char *) "self", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8526 if (SWIG_arg_fail(1)) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_From_int((int)(result
));
8543 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8582 if (SWIG_arg_fail(1)) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_From_int((int)(result
));
8599 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8602 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8604 return Py_BuildValue((char *)"");
8606 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 int arg1
= (int) 0 ;
8609 int arg2
= (int) 0 ;
8610 wxTimerEvent
*result
;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8614 (char *) "timerid",(char *) "interval", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8620 arg1
= (int)(SWIG_As_int(obj0
));
8621 if (SWIG_arg_fail(1)) SWIG_fail
;
8626 arg2
= (int)(SWIG_As_int(obj1
));
8627 if (SWIG_arg_fail(2)) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8644 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8648 PyObject
* obj0
= 0 ;
8650 (char *) "self", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_From_int((int)(result
));
8672 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8675 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8677 return Py_BuildValue((char *)"");
8679 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8680 PyObject
*resultobj
;
8682 wxTimerRunner
*result
;
8683 PyObject
* obj0
= 0 ;
8685 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail
;
8690 SWIG_null_ref("wxTimer");
8692 if (SWIG_arg_fail(1)) SWIG_fail
;
8695 if (!wxPyCheckForApp()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8709 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8710 PyObject
*resultobj
;
8713 bool arg3
= (bool) false ;
8714 wxTimerRunner
*result
;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8719 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8722 if (SWIG_arg_fail(1)) SWIG_fail
;
8724 SWIG_null_ref("wxTimer");
8726 if (SWIG_arg_fail(1)) SWIG_fail
;
8729 arg2
= (int)(SWIG_As_int(obj1
));
8730 if (SWIG_arg_fail(2)) SWIG_fail
;
8734 arg3
= (bool)(SWIG_As_bool(obj2
));
8735 if (SWIG_arg_fail(3)) SWIG_fail
;
8739 if (!wxPyCheckForApp()) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8753 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8758 argc
= PyObject_Length(args
);
8759 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8760 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8774 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8777 if ((argc
>= 2) && (argc
<= 3)) {
8781 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8789 _v
= SWIG_Check_int(argv
[1]);
8792 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8794 _v
= SWIG_Check_bool(argv
[2]);
8796 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8802 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8807 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8836 bool arg3
= (bool) false ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8841 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail
;
8848 arg2
= (int)(SWIG_As_int(obj1
));
8849 if (SWIG_arg_fail(2)) SWIG_fail
;
8853 arg3
= (bool)(SWIG_As_bool(obj2
));
8854 if (SWIG_arg_fail(3)) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->Start(arg2
,arg3
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8874 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8876 return Py_BuildValue((char *)"");
8878 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= (wxLog
*)new wxLog();
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8900 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (bool)wxLog::IsEnabled();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8924 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 bool arg1
= (bool) true ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "doIt", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8936 arg1
= (bool)(SWIG_As_bool(obj0
));
8937 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (bool)wxLog::EnableLogging(arg1
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8956 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8959 wxChar
*arg2
= (wxChar
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8965 (char *) "level",(char *) "szString",(char *) "t", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8970 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8971 if (SWIG_arg_fail(1)) SWIG_fail
;
8973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(2)) SWIG_fail
;
8976 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8977 if (SWIG_arg_fail(3)) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxLog
*arg1
= (wxLog
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9003 if (SWIG_arg_fail(1)) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 wxLog::FlushActive();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (wxLog
*)wxLog::GetActiveTarget();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9061 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxLog
*arg1
= (wxLog
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "pLogger", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9072 if (SWIG_arg_fail(1)) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9087 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9129 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 bool arg1
= (bool) true ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "bVerbose", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9140 arg1
= (bool)(SWIG_As_bool(obj0
));
9141 if (SWIG_arg_fail(1)) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxLog::SetVerbose(arg1
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9158 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "logLevel", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9168 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9169 if (SWIG_arg_fail(1)) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 wxLog::SetLogLevel(arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 wxLog::DontCreateOnDemand();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "ulMask", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9216 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxLog::SetTraceMask(arg1
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxString
*arg1
= 0 ;
9236 bool temp1
= false ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "str", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9244 arg1
= wxString_in_helper(obj0
);
9245 if (arg1
== NULL
) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxLog::AddTraceMask((wxString
const &)*arg1
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxString
*arg1
= 0 ;
9273 bool temp1
= false ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "str", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9281 arg1
= wxString_in_helper(obj0
);
9282 if (arg1
== NULL
) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9307 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 wxLog::ClearTraceMasks();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9328 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxArrayString
*result
;
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9340 result
= (wxArrayString
*) &_result_ref
;
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= wxArrayString2PyList_helper(*result
);
9355 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxChar
*arg1
= (wxChar
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9365 if (SWIG_arg_fail(1)) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 wxLog::SetTimestamp((wxChar
const *)arg1
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 Py_INCREF(Py_None
); resultobj
= Py_None
;
9380 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (bool)wxLog::GetVerbose();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9404 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (wxTraceMask
)wxLog::GetTraceMask();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9428 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxChar
*arg1
= (wxChar
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9434 (char *) "mask", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9439 if (SWIG_arg_fail(1)) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9456 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 result
= (wxLogLevel
)wxLog::GetLogLevel();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9480 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (wxChar
*)wxLog::GetTimestamp();
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9502 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= Log_TimeStamp();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9530 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxLog
*arg1
= (wxLog
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9540 if (SWIG_arg_fail(1)) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 wxLog_Destroy(arg1
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 Py_INCREF(Py_None
); resultobj
= Py_None
;
9555 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9558 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9560 return Py_BuildValue((char *)"");
9562 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxLogStderr
*result
;
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (wxLogStderr
*)new wxLogStderr();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9584 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9587 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9589 return Py_BuildValue((char *)"");
9591 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9594 wxLogTextCtrl
*result
;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "pTextCtrl", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9602 if (SWIG_arg_fail(1)) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9617 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9620 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9622 return Py_BuildValue((char *)"");
9624 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxLogGui
*)new wxLogGui();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9646 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9649 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9651 return Py_BuildValue((char *)"");
9653 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxFrame
*arg1
= (wxFrame
*) 0 ;
9656 wxString
*arg2
= 0 ;
9657 bool arg3
= (bool) true ;
9658 bool arg4
= (bool) true ;
9659 wxLogWindow
*result
;
9660 bool temp2
= false ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9664 PyObject
* obj3
= 0 ;
9666 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9671 if (SWIG_arg_fail(1)) SWIG_fail
;
9673 arg2
= wxString_in_helper(obj1
);
9674 if (arg2
== NULL
) SWIG_fail
;
9679 arg3
= (bool)(SWIG_As_bool(obj2
));
9680 if (SWIG_arg_fail(3)) SWIG_fail
;
9685 arg4
= (bool)(SWIG_As_bool(obj3
));
9686 if (SWIG_arg_fail(4)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9711 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9714 bool arg2
= (bool) true ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9718 (char *) "self",(char *) "bShow", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9723 if (SWIG_arg_fail(1)) SWIG_fail
;
9726 arg2
= (bool)(SWIG_As_bool(obj1
));
9727 if (SWIG_arg_fail(2)) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9755 if (SWIG_arg_fail(1)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= wxPyMake_wxObject(result
, 0);
9772 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9798 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9826 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9833 (char *) "self",(char *) "bDoPass", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 arg2
= (bool)(SWIG_As_bool(obj1
));
9841 if (SWIG_arg_fail(2)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 (arg1
)->PassMessages(arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9860 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9862 return Py_BuildValue((char *)"");
9864 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxLog
*arg1
= (wxLog
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9870 (char *) "logger", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9875 if (SWIG_arg_fail(1)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxLogChain
*)new wxLogChain(arg1
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9890 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9893 wxLog
*arg2
= (wxLog
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9897 (char *) "self",(char *) "logger", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9904 if (SWIG_arg_fail(2)) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 (arg1
)->SetLog(arg2
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 Py_INCREF(Py_None
); resultobj
= Py_None
;
9919 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9926 (char *) "self",(char *) "bDoPass", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(1)) SWIG_fail
;
9933 arg2
= (bool)(SWIG_As_bool(obj1
));
9934 if (SWIG_arg_fail(2)) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 (arg1
)->PassMessages(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 Py_INCREF(Py_None
); resultobj
= Py_None
;
9950 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "self", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9961 if (SWIG_arg_fail(1)) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (bool)(arg1
)->IsPassingMessages();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9978 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (wxLog
*)(arg1
)->GetOldLog();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10004 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10007 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10009 return Py_BuildValue((char *)"");
10011 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 unsigned long result
;
10014 char *kwnames
[] = {
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (unsigned long)wxSysErrorCode();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10035 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 unsigned long arg1
= (unsigned long) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "nErrCode", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10047 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= wxSysErrorMsg(arg1
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10071 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxString
*arg1
= 0 ;
10074 bool temp1
= false ;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "msg", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10082 arg1
= wxString_in_helper(obj0
);
10083 if (arg1
== NULL
) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 wxPyLogFatalError((wxString
const &)*arg1
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxString
*arg1
= 0 ;
10111 bool temp1
= false ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "msg", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10119 arg1
= wxString_in_helper(obj0
);
10120 if (arg1
== NULL
) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 wxPyLogError((wxString
const &)*arg1
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 Py_INCREF(Py_None
); resultobj
= Py_None
;
10145 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxString
*arg1
= 0 ;
10148 bool temp1
= false ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "msg", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10156 arg1
= wxString_in_helper(obj0
);
10157 if (arg1
== NULL
) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 wxPyLogWarning((wxString
const &)*arg1
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10182 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxString
*arg1
= 0 ;
10185 bool temp1
= false ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "msg", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10193 arg1
= wxString_in_helper(obj0
);
10194 if (arg1
== NULL
) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxPyLogMessage((wxString
const &)*arg1
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxString
*arg1
= 0 ;
10222 bool temp1
= false ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "msg", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10230 arg1
= wxString_in_helper(obj0
);
10231 if (arg1
== NULL
) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 wxPyLogInfo((wxString
const &)*arg1
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxString
*arg1
= 0 ;
10259 bool temp1
= false ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "msg", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10267 arg1
= wxString_in_helper(obj0
);
10268 if (arg1
== NULL
) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxPyLogDebug((wxString
const &)*arg1
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10293 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxString
*arg1
= 0 ;
10296 bool temp1
= false ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "msg", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10304 arg1
= wxString_in_helper(obj0
);
10305 if (arg1
== NULL
) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 wxPyLogVerbose((wxString
const &)*arg1
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 Py_INCREF(Py_None
); resultobj
= Py_None
;
10330 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxString
*arg1
= 0 ;
10333 bool temp1
= false ;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "msg", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10341 arg1
= wxString_in_helper(obj0
);
10342 if (arg1
== NULL
) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 wxPyLogStatus((wxString
const &)*arg1
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10367 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxFrame
*arg1
= (wxFrame
*) 0 ;
10370 wxString
*arg2
= 0 ;
10371 bool temp2
= false ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "pFrame",(char *) "msg", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10380 if (SWIG_arg_fail(1)) SWIG_fail
;
10382 arg2
= wxString_in_helper(obj1
);
10383 if (arg2
== NULL
) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxString
*arg1
= 0 ;
10411 bool temp1
= false ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "msg", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10419 arg1
= wxString_in_helper(obj0
);
10420 if (arg1
== NULL
) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 wxPyLogSysError((wxString
const &)*arg1
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 unsigned long arg1
;
10448 wxString
*arg2
= 0 ;
10449 bool temp2
= false ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "level",(char *) "msg", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10458 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10459 if (SWIG_arg_fail(1)) SWIG_fail
;
10462 arg2
= wxString_in_helper(obj1
);
10463 if (arg2
== NULL
) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10488 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10489 PyObject
*resultobj
;
10490 unsigned long arg1
;
10491 wxString
*arg2
= 0 ;
10492 bool temp2
= false ;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10496 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10498 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10499 if (SWIG_arg_fail(1)) SWIG_fail
;
10502 arg2
= wxString_in_helper(obj1
);
10503 if (arg2
== NULL
) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10529 PyObject
*resultobj
;
10530 wxString
*arg1
= 0 ;
10531 wxString
*arg2
= 0 ;
10532 bool temp1
= false ;
10533 bool temp2
= false ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10537 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10539 arg1
= wxString_in_helper(obj0
);
10540 if (arg1
== NULL
) SWIG_fail
;
10544 arg2
= wxString_in_helper(obj1
);
10545 if (arg2
== NULL
) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10583 argc
= PyObject_Length(args
);
10584 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10585 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10590 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10594 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10597 return _wrap_LogTrace__SWIG_1(self
,args
);
10603 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10606 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10609 return _wrap_LogTrace__SWIG_0(self
,args
);
10614 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10619 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxString
*arg1
= 0 ;
10622 wxString
*arg2
= 0 ;
10623 bool temp1
= false ;
10624 bool temp2
= false ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "title",(char *) "text", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10633 arg1
= wxString_in_helper(obj0
);
10634 if (arg1
== NULL
) SWIG_fail
;
10638 arg2
= wxString_in_helper(obj1
);
10639 if (arg2
== NULL
) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10675 char *kwnames
[] = {
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (wxLogNull
*)new wxLogNull();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10694 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10704 if (SWIG_arg_fail(1)) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10722 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10724 return Py_BuildValue((char *)"");
10726 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10729 char *kwnames
[] = {
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (wxPyLog
*)new wxPyLog();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10748 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10751 PyObject
*arg2
= (PyObject
*) 0 ;
10752 PyObject
*arg3
= (PyObject
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "self",(char *) "_class", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10782 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10784 return Py_BuildValue((char *)"");
10786 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10789 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10790 int arg3
= (int) wxKILL_NOCHILDREN
;
10791 wxKillError result
;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 PyObject
* obj2
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10801 arg1
= (int)(SWIG_As_int(obj0
));
10802 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10807 if (SWIG_arg_fail(2)) SWIG_fail
;
10812 arg3
= (int)(SWIG_As_int(obj2
));
10813 if (SWIG_arg_fail(3)) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_From_int((result
));
10830 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "pid", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10841 arg1
= (int)(SWIG_As_int(obj0
));
10842 if (SWIG_arg_fail(1)) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 result
= (bool)wxPyProcess::Exists(arg1
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10860 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxString
*arg1
= 0 ;
10863 int arg2
= (int) wxEXEC_ASYNC
;
10864 wxPyProcess
*result
;
10865 bool temp1
= false ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "cmd",(char *) "flags", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 arg1
= wxString_in_helper(obj0
);
10875 if (arg1
== NULL
) SWIG_fail
;
10880 arg2
= (int)(SWIG_As_int(obj1
));
10881 if (SWIG_arg_fail(2)) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10906 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10909 int arg2
= (int) -1 ;
10910 wxPyProcess
*result
;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "parent",(char *) "id", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail
;
10924 arg2
= (int)(SWIG_As_int(obj1
));
10925 if (SWIG_arg_fail(2)) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10942 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10945 PyObject
*arg2
= (PyObject
*) 0 ;
10946 PyObject
*arg3
= (PyObject
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "self",(char *) "_class", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "pid",(char *) "status", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= (int)(SWIG_As_int(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10993 arg3
= (int)(SWIG_As_int(obj2
));
10994 if (SWIG_arg_fail(3)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->base_OnTerminate(arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 (arg1
)->Redirect();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11046 if (SWIG_arg_fail(1)) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)(arg1
)->IsRedirected();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11091 wxInputStream
*result
;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11099 if (SWIG_arg_fail(1)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 wxPyInputStream
* _ptr
= NULL
;
11111 _ptr
= new wxPyInputStream(result
);
11113 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11121 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11124 wxInputStream
*result
;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 wxPyInputStream
* _ptr
= NULL
;
11144 _ptr
= new wxPyInputStream(result
);
11146 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11154 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11157 wxOutputStream
*result
;
11158 PyObject
* obj0
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11165 if (SWIG_arg_fail(1)) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11180 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11190 if (SWIG_arg_fail(1)) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 (arg1
)->CloseOutput();
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11209 PyObject
* obj0
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11216 if (SWIG_arg_fail(1)) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11237 PyObject
* obj0
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11244 if (SWIG_arg_fail(1)) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11261 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11272 if (SWIG_arg_fail(1)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11289 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11292 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11294 return Py_BuildValue((char *)"");
11296 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 int arg1
= (int) 0 ;
11299 int arg2
= (int) 0 ;
11300 int arg3
= (int) 0 ;
11301 wxProcessEvent
*result
;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11312 arg1
= (int)(SWIG_As_int(obj0
));
11313 if (SWIG_arg_fail(1)) SWIG_fail
;
11318 arg2
= (int)(SWIG_As_int(obj1
));
11319 if (SWIG_arg_fail(2)) SWIG_fail
;
11324 arg3
= (int)(SWIG_As_int(obj2
));
11325 if (SWIG_arg_fail(3)) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11342 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11346 PyObject
* obj0
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11353 if (SWIG_arg_fail(1)) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (int)(arg1
)->GetPid();
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_From_int((int)(result
));
11370 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11381 if (SWIG_arg_fail(1)) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (int)(arg1
)->GetExitCode();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_int((int)(result
));
11398 static PyObject
*_wrap_ProcessEvent_m_pid_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_pid", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_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_pid
= arg2
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_ProcessEvent_m_pid_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_pid_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_pid
);
11439 resultobj
= SWIG_From_int((int)(result
));
11447 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "m_exitcode", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 arg2
= (int)(SWIG_As_int(obj1
));
11462 if (SWIG_arg_fail(2)) SWIG_fail
;
11464 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11485 result
= (int) ((arg1
)->m_exitcode
);
11488 resultobj
= SWIG_From_int((int)(result
));
11496 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11499 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11501 return Py_BuildValue((char *)"");
11503 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxString
*arg1
= 0 ;
11506 int arg2
= (int) wxEXEC_ASYNC
;
11507 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11509 bool temp1
= false ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "command",(char *) "flags",(char *) "process", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11519 arg1
= wxString_in_helper(obj0
);
11520 if (arg1
== NULL
) SWIG_fail
;
11525 arg2
= (int)(SWIG_As_int(obj1
));
11526 if (SWIG_arg_fail(2)) SWIG_fail
;
11530 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11531 if (SWIG_arg_fail(3)) SWIG_fail
;
11534 if (!wxPyCheckForApp()) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_long((long)(result
));
11558 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11561 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11562 wxKillError
*arg3
= (wxKillError
*) 0 ;
11563 int arg4
= (int) wxKILL_NOCHILDREN
;
11565 wxKillError temp3
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11578 arg1
= (long)(SWIG_As_long(obj0
));
11579 if (SWIG_arg_fail(1)) SWIG_fail
;
11583 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11584 if (SWIG_arg_fail(2)) SWIG_fail
;
11589 arg4
= (int)(SWIG_As_int(obj2
));
11590 if (SWIG_arg_fail(4)) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_From_int((int)(result
));
11605 o
= PyInt_FromLong((long) (*arg3
));
11606 resultobj
= t_output_helper(resultobj
, o
);
11614 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 int arg1
= (int) wxJOYSTICK1
;
11617 wxJoystick
*result
;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "joystick", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11626 arg1
= (int)(SWIG_As_int(obj0
));
11627 if (SWIG_arg_fail(1)) SWIG_fail
;
11631 if (!wxPyCheckForApp()) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (wxJoystick
*)new wxJoystick(arg1
);
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11645 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11648 PyObject
* obj0
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11655 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (arg1
)->GetPosition();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 wxPoint
* resultptr
;
11691 resultptr
= new wxPoint((wxPoint
&)(result
));
11692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11700 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11711 if (SWIG_arg_fail(1)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (int)(arg1
)->GetZPosition();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_From_int((int)(result
));
11728 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11732 PyObject
* obj0
= 0 ;
11733 char *kwnames
[] = {
11734 (char *) "self", NULL
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (int)(arg1
)->GetButtonState();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_From_int((int)(result
));
11756 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11767 if (SWIG_arg_fail(1)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (int)(arg1
)->GetPOVPosition();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_From_int((int)(result
));
11784 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11788 PyObject
* obj0
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11795 if (SWIG_arg_fail(1)) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (int)(arg1
)->GetPOVCTSPosition();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_From_int((int)(result
));
11812 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11823 if (SWIG_arg_fail(1)) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (int)(arg1
)->GetRudderPosition();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_From_int((int)(result
));
11840 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11851 if (SWIG_arg_fail(1)) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (int)(arg1
)->GetUPosition();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_From_int((int)(result
));
11868 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11872 PyObject
* obj0
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail
;
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (int)(arg1
)->GetVPosition();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_From_int((int)(result
));
11896 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (int)(arg1
)->GetMovementThreshold();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_From_int((int)(result
));
11924 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self",(char *) "threshold", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11936 if (SWIG_arg_fail(1)) SWIG_fail
;
11938 arg2
= (int)(SWIG_As_int(obj1
));
11939 if (SWIG_arg_fail(2)) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 (arg1
)->SetMovementThreshold(arg2
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 Py_INCREF(Py_None
); resultobj
= Py_None
;
11955 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11959 PyObject
* obj0
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11966 if (SWIG_arg_fail(1)) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (bool)(arg1
)->IsOk();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11983 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11987 PyObject
* obj0
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11994 if (SWIG_arg_fail(1)) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (int)(arg1
)->GetNumberJoysticks();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= SWIG_From_int((int)(result
));
12011 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12022 if (SWIG_arg_fail(1)) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (int)(arg1
)->GetManufacturerId();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_From_int((int)(result
));
12039 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12043 PyObject
* obj0
= 0 ;
12044 char *kwnames
[] = {
12045 (char *) "self", NULL
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12050 if (SWIG_arg_fail(1)) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (int)(arg1
)->GetProductId();
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_From_int((int)(result
));
12067 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (arg1
)->GetProductName();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12099 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (int)(arg1
)->GetXMin();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_From_int((int)(result
));
12127 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12138 if (SWIG_arg_fail(1)) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (int)(arg1
)->GetYMin();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_From_int((int)(result
));
12155 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12166 if (SWIG_arg_fail(1)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (int)(arg1
)->GetZMin();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= SWIG_From_int((int)(result
));
12183 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (int)(arg1
)->GetXMax();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= SWIG_From_int((int)(result
));
12211 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12222 if (SWIG_arg_fail(1)) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (int)(arg1
)->GetYMax();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_From_int((int)(result
));
12239 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12250 if (SWIG_arg_fail(1)) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (int)(arg1
)->GetZMax();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_From_int((int)(result
));
12267 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12278 if (SWIG_arg_fail(1)) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (int)(arg1
)->GetNumberButtons();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_From_int((int)(result
));
12295 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12306 if (SWIG_arg_fail(1)) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (int)(arg1
)->GetNumberAxes();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_From_int((int)(result
));
12323 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)(arg1
)->GetMaxButtons();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int((int)(result
));
12351 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12362 if (SWIG_arg_fail(1)) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (int)(arg1
)->GetMaxAxes();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int((int)(result
));
12379 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (int)(arg1
)->GetPollingMin();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_From_int((int)(result
));
12407 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12418 if (SWIG_arg_fail(1)) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (int)(arg1
)->GetPollingMax();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_From_int((int)(result
));
12435 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12446 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (int)(arg1
)->GetRudderMin();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_From_int((int)(result
));
12463 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12474 if (SWIG_arg_fail(1)) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (int)(arg1
)->GetRudderMax();
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_From_int((int)(result
));
12491 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12502 if (SWIG_arg_fail(1)) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (int)(arg1
)->GetUMin();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_From_int((int)(result
));
12519 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12530 if (SWIG_arg_fail(1)) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (int)(arg1
)->GetUMax();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_From_int((int)(result
));
12547 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12558 if (SWIG_arg_fail(1)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (int)(arg1
)->GetVMin();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_From_int((int)(result
));
12575 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (int)(arg1
)->GetVMax();
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_From_int((int)(result
));
12603 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 char *kwnames
[] = {
12609 (char *) "self", NULL
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12614 if (SWIG_arg_fail(1)) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)(arg1
)->HasRudder();
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12631 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
;
12633 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12642 if (SWIG_arg_fail(1)) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 result
= (bool)(arg1
)->HasZ();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12659 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12670 if (SWIG_arg_fail(1)) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (bool)(arg1
)->HasU();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12687 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12691 PyObject
* obj0
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12698 if (SWIG_arg_fail(1)) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= (bool)(arg1
)->HasV();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12715 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12726 if (SWIG_arg_fail(1)) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (bool)(arg1
)->HasPOV();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12743 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12754 if (SWIG_arg_fail(1)) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (bool)(arg1
)->HasPOV4Dir();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12771 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)(arg1
)->HasPOVCTS();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12799 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12802 wxWindow
*arg2
= (wxWindow
*) 0 ;
12803 int arg3
= (int) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12814 if (SWIG_arg_fail(1)) SWIG_fail
;
12815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12816 if (SWIG_arg_fail(2)) SWIG_fail
;
12819 arg3
= (int)(SWIG_As_int(obj2
));
12820 if (SWIG_arg_fail(3)) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12839 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12850 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (bool)(arg1
)->ReleaseCapture();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12867 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12870 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12872 return Py_BuildValue((char *)"");
12874 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12877 int arg2
= (int) 0 ;
12878 int arg3
= (int) wxJOYSTICK1
;
12879 int arg4
= (int) 0 ;
12880 wxJoystickEvent
*result
;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 PyObject
* obj3
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12892 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12893 if (SWIG_arg_fail(1)) SWIG_fail
;
12898 arg2
= (int)(SWIG_As_int(obj1
));
12899 if (SWIG_arg_fail(2)) SWIG_fail
;
12904 arg3
= (int)(SWIG_As_int(obj2
));
12905 if (SWIG_arg_fail(3)) SWIG_fail
;
12910 arg4
= (int)(SWIG_As_int(obj3
));
12911 if (SWIG_arg_fail(4)) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12928 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12948 wxPoint
* resultptr
;
12949 resultptr
= new wxPoint((wxPoint
&)(result
));
12950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12958 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_From_int((int)(result
));
12986 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_From_int((int)(result
));
13014 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13025 if (SWIG_arg_fail(1)) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_From_int((int)(result
));
13042 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13053 if (SWIG_arg_fail(1)) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= SWIG_From_int((int)(result
));
13070 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self",(char *) "stick", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13082 if (SWIG_arg_fail(1)) SWIG_fail
;
13084 arg2
= (int)(SWIG_As_int(obj1
));
13085 if (SWIG_arg_fail(2)) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 (arg1
)->SetJoystick(arg2
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 Py_INCREF(Py_None
); resultobj
= Py_None
;
13101 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "state", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13115 arg2
= (int)(SWIG_As_int(obj1
));
13116 if (SWIG_arg_fail(2)) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 (arg1
)->SetButtonState(arg2
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "change", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13144 if (SWIG_arg_fail(1)) SWIG_fail
;
13146 arg2
= (int)(SWIG_As_int(obj1
));
13147 if (SWIG_arg_fail(2)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 (arg1
)->SetButtonChange(arg2
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 Py_INCREF(Py_None
); resultobj
= Py_None
;
13163 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13166 wxPoint
*arg2
= 0 ;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self",(char *) "pos", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "zPos", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13207 if (SWIG_arg_fail(1)) SWIG_fail
;
13209 arg2
= (int)(SWIG_As_int(obj1
));
13210 if (SWIG_arg_fail(2)) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 (arg1
)->SetZPosition(arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13237 if (SWIG_arg_fail(1)) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13254 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13282 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13310 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13313 int arg2
= (int) wxJOY_BUTTON_ANY
;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "but", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13326 arg2
= (int)(SWIG_As_int(obj1
));
13327 if (SWIG_arg_fail(2)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13346 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13349 int arg2
= (int) wxJOY_BUTTON_ANY
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "but", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13359 if (SWIG_arg_fail(1)) SWIG_fail
;
13362 arg2
= (int)(SWIG_As_int(obj1
));
13363 if (SWIG_arg_fail(2)) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13385 int arg2
= (int) wxJOY_BUTTON_ANY
;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "but", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13395 if (SWIG_arg_fail(1)) SWIG_fail
;
13398 arg2
= (int)(SWIG_As_int(obj1
));
13399 if (SWIG_arg_fail(2)) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13418 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13421 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13423 return Py_BuildValue((char *)"");
13425 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13428 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13430 bool temp1
= false ;
13431 PyObject
* obj0
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "fileName", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13439 arg1
= wxString_in_helper(obj0
);
13440 if (arg1
== NULL
) SWIG_fail
;
13445 if (!wxPyCheckForApp()) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13467 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 PyObject
*arg1
= (PyObject
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "data", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13479 if (!wxPyCheckForApp()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (wxSound
*)new_wxSound(arg1
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13493 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxSound
*arg1
= (wxSound
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13503 if (SWIG_arg_fail(1)) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxSound
*arg1
= (wxSound
*) 0 ;
13521 wxString
*arg2
= 0 ;
13523 bool temp2
= false ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "fileName", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13532 if (SWIG_arg_fail(1)) SWIG_fail
;
13534 arg2
= wxString_in_helper(obj1
);
13535 if (arg2
== NULL
) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13562 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxSound
*arg1
= (wxSound
*) 0 ;
13565 PyObject
*arg2
= (PyObject
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "data", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13575 if (SWIG_arg_fail(1)) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13593 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxSound
*arg1
= (wxSound
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)(arg1
)->IsOk();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13621 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxSound
*arg1
= (wxSound
*) 0 ;
13624 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "flags", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13637 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13638 if (SWIG_arg_fail(2)) SWIG_fail
;
13642 if (!wxPyCheckForApp()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13658 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxString
*arg1
= 0 ;
13661 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13663 bool temp1
= false ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "filename",(char *) "flags", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 arg1
= wxString_in_helper(obj0
);
13673 if (arg1
== NULL
) SWIG_fail
;
13678 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13679 if (SWIG_arg_fail(2)) SWIG_fail
;
13683 if (!wxPyCheckForApp()) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 char *kwnames
[] = {
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13715 if (!wxPyCheckForApp()) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 Py_INCREF(Py_None
); resultobj
= Py_None
;
13729 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13732 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13734 return Py_BuildValue((char *)"");
13736 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxString
*arg1
= 0 ;
13739 wxString
*arg2
= 0 ;
13740 wxString
*arg3
= 0 ;
13741 wxString
*arg4
= 0 ;
13742 wxFileTypeInfo
*result
;
13743 bool temp1
= false ;
13744 bool temp2
= false ;
13745 bool temp3
= false ;
13746 bool temp4
= false ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 PyObject
* obj2
= 0 ;
13750 PyObject
* obj3
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13757 arg1
= wxString_in_helper(obj0
);
13758 if (arg1
== NULL
) SWIG_fail
;
13762 arg2
= wxString_in_helper(obj1
);
13763 if (arg2
== NULL
) SWIG_fail
;
13767 arg3
= wxString_in_helper(obj2
);
13768 if (arg3
== NULL
) SWIG_fail
;
13772 arg4
= wxString_in_helper(obj3
);
13773 if (arg4
== NULL
) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13822 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxArrayString
*arg1
= 0 ;
13825 wxFileTypeInfo
*result
;
13826 bool temp1
= false ;
13827 PyObject
* obj0
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "sArray", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13834 if (! PySequence_Check(obj0
)) {
13835 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13838 arg1
= new wxArrayString
;
13840 int i
, len
=PySequence_Length(obj0
);
13841 for (i
=0; i
<len
; i
++) {
13842 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13844 PyObject
* str
= PyObject_Unicode(item
);
13846 PyObject
* str
= PyObject_Str(item
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13849 arg1
->Add(Py2wxString(str
));
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13863 if (temp1
) delete arg1
;
13868 if (temp1
) delete arg1
;
13874 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
;
13876 wxFileTypeInfo
*result
;
13877 char *kwnames
[] = {
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13896 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13924 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13927 wxString
*arg2
= 0 ;
13928 int arg3
= (int) 0 ;
13929 bool temp2
= false ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 PyObject
* obj2
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13939 if (SWIG_arg_fail(1)) SWIG_fail
;
13941 arg2
= wxString_in_helper(obj1
);
13942 if (arg2
== NULL
) SWIG_fail
;
13947 arg3
= (int)(SWIG_As_int(obj2
));
13948 if (SWIG_arg_fail(3)) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 Py_INCREF(Py_None
); resultobj
= Py_None
;
13973 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13976 wxString
*arg2
= 0 ;
13977 bool temp2
= false ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "shortDesc", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13986 if (SWIG_arg_fail(1)) SWIG_fail
;
13988 arg2
= wxString_in_helper(obj1
);
13989 if (arg2
== NULL
) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 Py_INCREF(Py_None
); resultobj
= Py_None
;
14014 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14030 result
= (wxString
*) &_result_ref
;
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14049 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14065 result
= (wxString
*) &_result_ref
;
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14084 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14100 result
= (wxString
*) &_result_ref
;
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14119 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14135 result
= (wxString
*) &_result_ref
;
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14154 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14170 result
= (wxString
*) &_result_ref
;
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14189 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14192 wxArrayString
*result
;
14193 PyObject
* obj0
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14200 if (SWIG_arg_fail(1)) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14205 result
= (wxArrayString
*) &_result_ref
;
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= wxArrayString2PyList_helper(*result
);
14220 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_From_int((int)(result
));
14248 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14259 if (SWIG_arg_fail(1)) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14264 result
= (wxString
*) &_result_ref
;
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14274 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14283 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_From_int((int)(result
));
14311 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14314 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14316 return Py_BuildValue((char *)"");
14318 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxFileTypeInfo
*arg1
= 0 ;
14321 wxFileType
*result
;
14322 PyObject
* obj0
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "ftInfo", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail
;
14331 if (arg1
== NULL
) {
14332 SWIG_null_ref("wxFileTypeInfo");
14334 if (SWIG_arg_fail(1)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14350 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxFileType
*arg1
= (wxFileType
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14360 if (SWIG_arg_fail(1)) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxFileType
*arg1
= (wxFileType
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14386 if (SWIG_arg_fail(1)) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= result
;
14401 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxFileType
*arg1
= (wxFileType
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14412 if (SWIG_arg_fail(1)) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
;
14427 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxFileType
*arg1
= (wxFileType
*) 0 ;
14431 PyObject
* obj0
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14438 if (SWIG_arg_fail(1)) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= result
;
14453 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxFileType
*arg1
= (wxFileType
*) 0 ;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14464 if (SWIG_arg_fail(1)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14479 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxFileType
*arg1
= (wxFileType
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
;
14505 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxFileType
*arg1
= (wxFileType
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14516 if (SWIG_arg_fail(1)) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= result
;
14531 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxFileType
*arg1
= (wxFileType
*) 0 ;
14534 wxString
*arg2
= 0 ;
14535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14538 bool temp2
= false ;
14539 bool temp3
= false ;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 PyObject
* obj2
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14549 if (SWIG_arg_fail(1)) SWIG_fail
;
14551 arg2
= wxString_in_helper(obj1
);
14552 if (arg2
== NULL
) SWIG_fail
;
14557 arg3
= wxString_in_helper(obj2
);
14558 if (arg3
== NULL
) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= result
;
14592 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
;
14594 wxFileType
*arg1
= (wxFileType
*) 0 ;
14595 wxString
*arg2
= 0 ;
14596 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14597 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14599 bool temp2
= false ;
14600 bool temp3
= false ;
14601 PyObject
* obj0
= 0 ;
14602 PyObject
* obj1
= 0 ;
14603 PyObject
* obj2
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14610 if (SWIG_arg_fail(1)) SWIG_fail
;
14612 arg2
= wxString_in_helper(obj1
);
14613 if (arg2
== NULL
) SWIG_fail
;
14618 arg3
= wxString_in_helper(obj2
);
14619 if (arg3
== NULL
) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
;
14653 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxFileType
*arg1
= (wxFileType
*) 0 ;
14656 wxString
*arg2
= 0 ;
14657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14660 bool temp2
= false ;
14661 bool temp3
= false ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 PyObject
* obj2
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14671 if (SWIG_arg_fail(1)) SWIG_fail
;
14673 arg2
= wxString_in_helper(obj1
);
14674 if (arg2
== NULL
) SWIG_fail
;
14679 arg3
= wxString_in_helper(obj2
);
14680 if (arg3
== NULL
) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
;
14714 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxFileType
*arg1
= (wxFileType
*) 0 ;
14717 wxString
*arg2
= 0 ;
14718 wxString
*arg3
= 0 ;
14719 bool arg4
= (bool) true ;
14721 bool temp2
= false ;
14722 bool temp3
= false ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 PyObject
* obj2
= 0 ;
14726 PyObject
* obj3
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14733 if (SWIG_arg_fail(1)) SWIG_fail
;
14735 arg2
= wxString_in_helper(obj1
);
14736 if (arg2
== NULL
) SWIG_fail
;
14740 arg3
= wxString_in_helper(obj2
);
14741 if (arg3
== NULL
) SWIG_fail
;
14746 arg4
= (bool)(SWIG_As_bool(obj3
));
14747 if (SWIG_arg_fail(4)) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14782 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxFileType
*arg1
= (wxFileType
*) 0 ;
14785 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14786 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14787 int arg3
= (int) 0 ;
14789 bool temp2
= false ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 PyObject
* obj2
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self",(char *) "cmd",(char *) "index", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail
;
14802 arg2
= wxString_in_helper(obj1
);
14803 if (arg2
== NULL
) SWIG_fail
;
14809 arg3
= (int)(SWIG_As_int(obj2
));
14810 if (SWIG_arg_fail(3)) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14837 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxFileType
*arg1
= (wxFileType
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14848 if (SWIG_arg_fail(1)) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (bool)(arg1
)->Unassociate();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14865 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxString
*arg1
= 0 ;
14868 wxString
*arg2
= 0 ;
14869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14872 bool temp1
= false ;
14873 bool temp2
= false ;
14874 bool temp3
= false ;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 PyObject
* obj2
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14884 arg1
= wxString_in_helper(obj0
);
14885 if (arg1
== NULL
) SWIG_fail
;
14889 arg2
= wxString_in_helper(obj1
);
14890 if (arg2
== NULL
) SWIG_fail
;
14895 arg3
= wxString_in_helper(obj2
);
14896 if (arg3
== NULL
) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14944 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14947 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14949 return Py_BuildValue((char *)"");
14951 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14952 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14957 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14960 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14965 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxString
*arg1
= 0 ;
14968 wxString
*arg2
= 0 ;
14970 bool temp1
= false ;
14971 bool temp2
= false ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "mimeType",(char *) "wildcard", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14980 arg1
= wxString_in_helper(obj0
);
14981 if (arg1
== NULL
) SWIG_fail
;
14985 arg2
= wxString_in_helper(obj1
);
14986 if (arg2
== NULL
) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15021 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxMimeTypesManager
*result
;
15024 char *kwnames
[] = {
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15043 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15046 int arg2
= (int) wxMAILCAP_ALL
;
15047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15049 bool temp3
= false ;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 PyObject
* obj2
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15059 if (SWIG_arg_fail(1)) SWIG_fail
;
15062 arg2
= (int)(SWIG_As_int(obj1
));
15063 if (SWIG_arg_fail(2)) SWIG_fail
;
15068 arg3
= wxString_in_helper(obj2
);
15069 if (arg3
== NULL
) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15105 if (SWIG_arg_fail(1)) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->ClearData();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15123 wxString
*arg2
= 0 ;
15124 wxFileType
*result
;
15125 bool temp2
= false ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "ext", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15134 if (SWIG_arg_fail(1)) SWIG_fail
;
15136 arg2
= wxString_in_helper(obj1
);
15137 if (arg2
== NULL
) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15162 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15165 wxString
*arg2
= 0 ;
15166 wxFileType
*result
;
15167 bool temp2
= false ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "mimeType", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15176 if (SWIG_arg_fail(1)) SWIG_fail
;
15178 arg2
= wxString_in_helper(obj1
);
15179 if (arg2
== NULL
) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15204 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15207 wxString
*arg2
= 0 ;
15208 bool arg3
= (bool) false ;
15210 bool temp2
= false ;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 PyObject
* obj2
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail
;
15222 arg2
= wxString_in_helper(obj1
);
15223 if (arg2
== NULL
) SWIG_fail
;
15228 arg3
= (bool)(SWIG_As_bool(obj2
));
15229 if (SWIG_arg_fail(3)) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15256 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15259 wxString
*arg2
= 0 ;
15261 bool temp2
= false ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "filename", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail
;
15272 arg2
= wxString_in_helper(obj1
);
15273 if (arg2
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15300 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
;
15326 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15329 wxFileTypeInfo
*arg2
= 0 ;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self",(char *) "ft", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail
;
15340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(2)) SWIG_fail
;
15342 if (arg2
== NULL
) {
15343 SWIG_null_ref("wxFileTypeInfo");
15345 if (SWIG_arg_fail(2)) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15364 wxFileTypeInfo
*arg2
= 0 ;
15365 wxFileType
*result
;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "ftInfo", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail
;
15376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15377 if (SWIG_arg_fail(2)) SWIG_fail
;
15378 if (arg2
== NULL
) {
15379 SWIG_null_ref("wxFileTypeInfo");
15381 if (SWIG_arg_fail(2)) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15397 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15400 wxFileType
*arg2
= (wxFileType
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "ft", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(2)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (bool)(arg1
)->Unassociate(arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15429 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15457 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15459 return Py_BuildValue((char *)"");
15461 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15462 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15467 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15472 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15474 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15481 static int _wrap_ART_MENU_set(PyObject
*) {
15482 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15487 static PyObject
*_wrap_ART_MENU_get(void) {
15492 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15494 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15501 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15502 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15507 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15512 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15514 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15521 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15522 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15527 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15532 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15534 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15541 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15542 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15547 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15552 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15554 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15561 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15562 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15567 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15572 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15574 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15581 static int _wrap_ART_BUTTON_set(PyObject
*) {
15582 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15587 static PyObject
*_wrap_ART_BUTTON_get(void) {
15592 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15594 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15601 static int _wrap_ART_OTHER_set(PyObject
*) {
15602 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15607 static PyObject
*_wrap_ART_OTHER_get(void) {
15612 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15614 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15621 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15622 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15627 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15632 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15634 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15641 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15642 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15647 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15652 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15654 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15661 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15662 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15667 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15672 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15674 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15681 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15682 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15687 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15692 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15694 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15701 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15702 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15707 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15712 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15714 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15721 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15722 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15727 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15732 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15734 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15741 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15742 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15747 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15752 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15754 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15761 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15762 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15767 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15772 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15774 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15781 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15782 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15787 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15792 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15794 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15801 static int _wrap_ART_GO_UP_set(PyObject
*) {
15802 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15807 static PyObject
*_wrap_ART_GO_UP_get(void) {
15812 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15814 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15821 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15822 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15827 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15832 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15834 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15841 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15842 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15847 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15852 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15854 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15861 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15862 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15867 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15872 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15874 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15881 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15882 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15887 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15892 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15894 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15901 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15902 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15907 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15912 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15914 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15921 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15922 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15927 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15932 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15934 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15941 static int _wrap_ART_PRINT_set(PyObject
*) {
15942 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15947 static PyObject
*_wrap_ART_PRINT_get(void) {
15952 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15954 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15961 static int _wrap_ART_HELP_set(PyObject
*) {
15962 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15967 static PyObject
*_wrap_ART_HELP_get(void) {
15972 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15974 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15981 static int _wrap_ART_TIP_set(PyObject
*) {
15982 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15987 static PyObject
*_wrap_ART_TIP_get(void) {
15992 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15994 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16001 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16002 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16007 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16012 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16014 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16021 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16022 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16027 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16032 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16034 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16041 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16042 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16047 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16052 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16054 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16061 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16062 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16067 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16072 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16074 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16081 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16082 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16087 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16092 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16094 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16101 static int _wrap_ART_CDROM_set(PyObject
*) {
16102 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16107 static PyObject
*_wrap_ART_CDROM_get(void) {
16112 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16114 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16121 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16122 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16127 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16132 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16134 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16141 static int _wrap_ART_FOLDER_set(PyObject
*) {
16142 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16147 static PyObject
*_wrap_ART_FOLDER_get(void) {
16152 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16154 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16161 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16162 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16167 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16172 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16174 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16181 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16182 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16187 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16192 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16194 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16201 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16202 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16207 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16212 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16214 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16221 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16222 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16227 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16232 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16234 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16241 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16242 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16247 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16252 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16254 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16261 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16262 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16267 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16272 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16274 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16281 static int _wrap_ART_ERROR_set(PyObject
*) {
16282 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16287 static PyObject
*_wrap_ART_ERROR_get(void) {
16292 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16294 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16301 static int _wrap_ART_QUESTION_set(PyObject
*) {
16302 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16307 static PyObject
*_wrap_ART_QUESTION_get(void) {
16312 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16314 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16321 static int _wrap_ART_WARNING_set(PyObject
*) {
16322 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16327 static PyObject
*_wrap_ART_WARNING_get(void) {
16332 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16334 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16341 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16342 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16347 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16352 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16354 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16361 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16362 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16367 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16372 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16374 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16381 static int _wrap_ART_COPY_set(PyObject
*) {
16382 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16387 static PyObject
*_wrap_ART_COPY_get(void) {
16392 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16394 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16401 static int _wrap_ART_CUT_set(PyObject
*) {
16402 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16407 static PyObject
*_wrap_ART_CUT_get(void) {
16412 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16414 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16421 static int _wrap_ART_PASTE_set(PyObject
*) {
16422 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16427 static PyObject
*_wrap_ART_PASTE_get(void) {
16432 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16434 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16441 static int _wrap_ART_DELETE_set(PyObject
*) {
16442 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16447 static PyObject
*_wrap_ART_DELETE_get(void) {
16452 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16454 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16461 static int _wrap_ART_UNDO_set(PyObject
*) {
16462 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16467 static PyObject
*_wrap_ART_UNDO_get(void) {
16472 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16474 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16481 static int _wrap_ART_REDO_set(PyObject
*) {
16482 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16487 static PyObject
*_wrap_ART_REDO_get(void) {
16492 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16494 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16501 static int _wrap_ART_QUIT_set(PyObject
*) {
16502 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16507 static PyObject
*_wrap_ART_QUIT_get(void) {
16512 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16514 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16521 static int _wrap_ART_FIND_set(PyObject
*) {
16522 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16527 static PyObject
*_wrap_ART_FIND_get(void) {
16532 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16534 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16541 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16542 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16547 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16552 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16554 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16561 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxPyArtProvider
*result
;
16564 char *kwnames
[] = {
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16570 if (!wxPyCheckForApp()) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16584 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16587 PyObject
*arg2
= (PyObject
*) 0 ;
16588 PyObject
*arg3
= (PyObject
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 PyObject
* obj2
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "self",(char *) "_class", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16615 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "provider", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16625 if (SWIG_arg_fail(1)) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 wxPyArtProvider::PushProvider(arg1
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 Py_INCREF(Py_None
); resultobj
= Py_None
;
16640 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16643 char *kwnames
[] = {
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (bool)wxPyArtProvider::PopProvider();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16664 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16668 PyObject
* obj0
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "provider", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16675 if (SWIG_arg_fail(1)) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16692 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxString
*arg1
= 0 ;
16695 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16696 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16697 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16698 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16700 bool temp1
= false ;
16701 bool temp2
= false ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 PyObject
* obj2
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "id",(char *) "client",(char *) "size", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16712 arg1
= wxString_in_helper(obj0
);
16713 if (arg1
== NULL
) SWIG_fail
;
16718 arg2
= wxString_in_helper(obj1
);
16719 if (arg2
== NULL
) SWIG_fail
;
16726 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16730 if (!wxPyCheckForApp()) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 wxBitmap
* resultptr
;
16739 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16764 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxString
*arg1
= 0 ;
16767 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16768 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16769 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16770 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16772 bool temp1
= false ;
16773 bool temp2
= false ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 PyObject
* obj2
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "id",(char *) "client",(char *) "size", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16784 arg1
= wxString_in_helper(obj0
);
16785 if (arg1
== NULL
) SWIG_fail
;
16790 arg2
= wxString_in_helper(obj1
);
16791 if (arg2
== NULL
) SWIG_fail
;
16798 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16802 if (!wxPyCheckForApp()) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16810 wxIcon
* resultptr
;
16811 resultptr
= new wxIcon((wxIcon
&)(result
));
16812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16836 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxString
*arg1
= 0 ;
16839 bool arg2
= (bool) false ;
16841 bool temp1
= false ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "client",(char *) "platform_dependent", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 arg1
= wxString_in_helper(obj0
);
16851 if (arg1
== NULL
) SWIG_fail
;
16856 arg2
= (bool)(SWIG_As_bool(obj1
));
16857 if (SWIG_arg_fail(2)) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16868 wxSize
* resultptr
;
16869 resultptr
= new wxSize((wxSize
&)(result
));
16870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16886 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 wxPyArtProvider_Destroy(arg1
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 Py_INCREF(Py_None
); resultobj
= Py_None
;
16911 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16914 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16916 return Py_BuildValue((char *)"");
16918 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16946 wxConfigBase
*result
;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "config", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16969 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 bool arg1
= (bool) true ;
16972 wxConfigBase
*result
;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "createOnDemand", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16981 arg1
= (bool)(SWIG_As_bool(obj0
));
16982 if (SWIG_arg_fail(1)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16999 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxConfigBase
*result
;
17002 char *kwnames
[] = {
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxConfigBase
*)wxConfigBase::Create();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17021 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 char *kwnames
[] = {
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 wxConfigBase::DontCreateOnDemand();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 Py_INCREF(Py_None
); resultobj
= Py_None
;
17042 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17045 wxString
*arg2
= 0 ;
17046 bool temp2
= false ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self",(char *) "path", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17055 if (SWIG_arg_fail(1)) SWIG_fail
;
17057 arg2
= wxString_in_helper(obj1
);
17058 if (arg2
== NULL
) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 (arg1
)->SetPath((wxString
const &)*arg2
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17099 result
= (wxString
*) &_result_ref
;
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17118 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17129 if (SWIG_arg_fail(1)) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= result
;
17144 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self",(char *) "index", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail
;
17159 arg2
= (long)(SWIG_As_long(obj1
));
17160 if (SWIG_arg_fail(2)) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= result
;
17176 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17180 PyObject
* obj0
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= result
;
17202 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self",(char *) "index", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17215 if (SWIG_arg_fail(1)) SWIG_fail
;
17217 arg2
= (long)(SWIG_As_long(obj1
));
17218 if (SWIG_arg_fail(2)) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
;
17234 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17237 bool arg2
= (bool) false ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "recursive", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17247 if (SWIG_arg_fail(1)) SWIG_fail
;
17250 arg2
= (bool)(SWIG_As_bool(obj1
));
17251 if (SWIG_arg_fail(2)) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17270 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17273 bool arg2
= (bool) false ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self",(char *) "recursive", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17283 if (SWIG_arg_fail(1)) SWIG_fail
;
17286 arg2
= (bool)(SWIG_As_bool(obj1
));
17287 if (SWIG_arg_fail(2)) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17306 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17309 wxString
*arg2
= 0 ;
17311 bool temp2
= false ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self",(char *) "name", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail
;
17322 arg2
= wxString_in_helper(obj1
);
17323 if (arg2
== NULL
) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17350 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17353 wxString
*arg2
= 0 ;
17355 bool temp2
= false ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "name", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17364 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 arg2
= wxString_in_helper(obj1
);
17367 if (arg2
== NULL
) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17394 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17397 wxString
*arg2
= 0 ;
17399 bool temp2
= false ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self",(char *) "name", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17408 if (SWIG_arg_fail(1)) SWIG_fail
;
17410 arg2
= wxString_in_helper(obj1
);
17411 if (arg2
== NULL
) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17441 wxString
*arg2
= 0 ;
17442 wxConfigBase::EntryType result
;
17443 bool temp2
= false ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "name", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 arg2
= wxString_in_helper(obj1
);
17455 if (arg2
== NULL
) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_From_int((result
));
17480 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17483 wxString
*arg2
= 0 ;
17484 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17485 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17487 bool temp2
= false ;
17488 bool temp3
= false ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17498 if (SWIG_arg_fail(1)) SWIG_fail
;
17500 arg2
= wxString_in_helper(obj1
);
17501 if (arg2
== NULL
) SWIG_fail
;
17506 arg3
= wxString_in_helper(obj2
);
17507 if (arg3
== NULL
) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17547 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17550 wxString
*arg2
= 0 ;
17551 long arg3
= (long) 0 ;
17553 bool temp2
= false ;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 PyObject
* obj2
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17563 if (SWIG_arg_fail(1)) SWIG_fail
;
17565 arg2
= wxString_in_helper(obj1
);
17566 if (arg2
== NULL
) SWIG_fail
;
17571 arg3
= (long)(SWIG_As_long(obj2
));
17572 if (SWIG_arg_fail(3)) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_From_long((long)(result
));
17599 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17602 wxString
*arg2
= 0 ;
17603 double arg3
= (double) 0.0 ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 PyObject
* obj2
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17615 if (SWIG_arg_fail(1)) SWIG_fail
;
17617 arg2
= wxString_in_helper(obj1
);
17618 if (arg2
== NULL
) SWIG_fail
;
17623 arg3
= (double)(SWIG_As_double(obj2
));
17624 if (SWIG_arg_fail(3)) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_From_double((double)(result
));
17651 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17654 wxString
*arg2
= 0 ;
17655 bool arg3
= (bool) false ;
17657 bool temp2
= false ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17667 if (SWIG_arg_fail(1)) SWIG_fail
;
17669 arg2
= wxString_in_helper(obj1
);
17670 if (arg2
== NULL
) SWIG_fail
;
17675 arg3
= (bool)(SWIG_As_bool(obj2
));
17676 if (SWIG_arg_fail(3)) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17706 wxString
*arg2
= 0 ;
17707 wxString
*arg3
= 0 ;
17709 bool temp2
= false ;
17710 bool temp3
= false ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "key",(char *) "value", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 arg2
= wxString_in_helper(obj1
);
17723 if (arg2
== NULL
) SWIG_fail
;
17727 arg3
= wxString_in_helper(obj2
);
17728 if (arg3
== NULL
) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17763 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17766 wxString
*arg2
= 0 ;
17769 bool temp2
= false ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 PyObject
* obj2
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "key",(char *) "value", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17779 if (SWIG_arg_fail(1)) SWIG_fail
;
17781 arg2
= wxString_in_helper(obj1
);
17782 if (arg2
== NULL
) SWIG_fail
;
17786 arg3
= (long)(SWIG_As_long(obj2
));
17787 if (SWIG_arg_fail(3)) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17813 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17816 wxString
*arg2
= 0 ;
17819 bool temp2
= false ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "key",(char *) "value", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 arg2
= wxString_in_helper(obj1
);
17832 if (arg2
== NULL
) SWIG_fail
;
17836 arg3
= (double)(SWIG_As_double(obj2
));
17837 if (SWIG_arg_fail(3)) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17863 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17866 wxString
*arg2
= 0 ;
17869 bool temp2
= false ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 PyObject
* obj2
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "key",(char *) "value", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= wxString_in_helper(obj1
);
17882 if (arg2
== NULL
) SWIG_fail
;
17886 arg3
= (bool)(SWIG_As_bool(obj2
));
17887 if (SWIG_arg_fail(3)) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17913 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17916 bool arg2
= (bool) false ;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self",(char *) "currentOnly", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17926 if (SWIG_arg_fail(1)) SWIG_fail
;
17929 arg2
= (bool)(SWIG_As_bool(obj1
));
17930 if (SWIG_arg_fail(2)) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (bool)(arg1
)->Flush(arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17949 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17952 wxString
*arg2
= 0 ;
17953 wxString
*arg3
= 0 ;
17955 bool temp2
= false ;
17956 bool temp3
= false ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17966 if (SWIG_arg_fail(1)) SWIG_fail
;
17968 arg2
= wxString_in_helper(obj1
);
17969 if (arg2
== NULL
) SWIG_fail
;
17973 arg3
= wxString_in_helper(obj2
);
17974 if (arg3
== NULL
) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18009 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18012 wxString
*arg2
= 0 ;
18013 wxString
*arg3
= 0 ;
18015 bool temp2
= false ;
18016 bool temp3
= false ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 PyObject
* obj2
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 arg2
= wxString_in_helper(obj1
);
18029 if (arg2
== NULL
) SWIG_fail
;
18033 arg3
= wxString_in_helper(obj2
);
18034 if (arg3
== NULL
) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18069 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
;
18071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18072 wxString
*arg2
= 0 ;
18073 bool arg3
= (bool) true ;
18075 bool temp2
= false ;
18076 PyObject
* obj0
= 0 ;
18077 PyObject
* obj1
= 0 ;
18078 PyObject
* obj2
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18085 if (SWIG_arg_fail(1)) SWIG_fail
;
18087 arg2
= wxString_in_helper(obj1
);
18088 if (arg2
== NULL
) SWIG_fail
;
18093 arg3
= (bool)(SWIG_As_bool(obj2
));
18094 if (SWIG_arg_fail(3)) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18121 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18124 wxString
*arg2
= 0 ;
18126 bool temp2
= false ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self",(char *) "key", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18135 if (SWIG_arg_fail(1)) SWIG_fail
;
18137 arg2
= wxString_in_helper(obj1
);
18138 if (arg2
== NULL
) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18165 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (bool)(arg1
)->DeleteAll();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18193 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18196 bool arg2
= (bool) true ;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self",(char *) "doIt", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18205 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 arg2
= (bool)(SWIG_As_bool(obj1
));
18209 if (SWIG_arg_fail(2)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->SetExpandEnvVars(arg2
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18226 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18254 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18257 bool arg2
= (bool) true ;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "doIt", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 arg2
= (bool)(SWIG_As_bool(obj1
));
18270 if (SWIG_arg_fail(2)) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 (arg1
)->SetRecordDefaults(arg2
);
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 Py_INCREF(Py_None
); resultobj
= Py_None
;
18287 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18315 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18318 wxString
*arg2
= 0 ;
18320 bool temp2
= false ;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self",(char *) "str", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 arg2
= wxString_in_helper(obj1
);
18332 if (arg2
== NULL
) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18363 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18374 if (SWIG_arg_fail(1)) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18395 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18427 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18430 wxString
*arg2
= 0 ;
18431 bool temp2
= false ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self",(char *) "appName", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 arg2
= wxString_in_helper(obj1
);
18443 if (arg2
== NULL
) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->SetAppName((wxString
const &)*arg2
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 Py_INCREF(Py_None
); resultobj
= Py_None
;
18468 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18471 wxString
*arg2
= 0 ;
18472 bool temp2
= false ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self",(char *) "vendorName", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18481 if (SWIG_arg_fail(1)) SWIG_fail
;
18483 arg2
= wxString_in_helper(obj1
);
18484 if (arg2
== NULL
) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 Py_INCREF(Py_None
); resultobj
= Py_None
;
18509 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self",(char *) "style", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18523 arg2
= (long)(SWIG_As_long(obj1
));
18524 if (SWIG_arg_fail(2)) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetStyle(arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_From_long((long)(result
));
18568 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18571 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18573 return Py_BuildValue((char *)"");
18575 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18578 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18579 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18580 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18583 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18584 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18585 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18587 bool temp1
= false ;
18588 bool temp2
= false ;
18589 bool temp3
= false ;
18590 bool temp4
= false ;
18591 PyObject
* obj0
= 0 ;
18592 PyObject
* obj1
= 0 ;
18593 PyObject
* obj2
= 0 ;
18594 PyObject
* obj3
= 0 ;
18595 PyObject
* obj4
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18603 arg1
= wxString_in_helper(obj0
);
18604 if (arg1
== NULL
) SWIG_fail
;
18610 arg2
= wxString_in_helper(obj1
);
18611 if (arg2
== NULL
) SWIG_fail
;
18617 arg3
= wxString_in_helper(obj2
);
18618 if (arg3
== NULL
) SWIG_fail
;
18624 arg4
= wxString_in_helper(obj3
);
18625 if (arg4
== NULL
) SWIG_fail
;
18631 arg5
= (long)(SWIG_As_long(obj4
));
18632 if (SWIG_arg_fail(5)) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18681 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxConfig
*arg1
= (wxConfig
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18691 if (SWIG_arg_fail(1)) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 Py_INCREF(Py_None
); resultobj
= Py_None
;
18706 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18709 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18711 return Py_BuildValue((char *)"");
18713 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18716 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18717 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18718 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18721 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18723 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18724 wxFileConfig
*result
;
18725 bool temp1
= false ;
18726 bool temp2
= false ;
18727 bool temp3
= false ;
18728 bool temp4
= false ;
18729 PyObject
* obj0
= 0 ;
18730 PyObject
* obj1
= 0 ;
18731 PyObject
* obj2
= 0 ;
18732 PyObject
* obj3
= 0 ;
18733 PyObject
* obj4
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18741 arg1
= wxString_in_helper(obj0
);
18742 if (arg1
== NULL
) SWIG_fail
;
18748 arg2
= wxString_in_helper(obj1
);
18749 if (arg2
== NULL
) SWIG_fail
;
18755 arg3
= wxString_in_helper(obj2
);
18756 if (arg3
== NULL
) SWIG_fail
;
18762 arg4
= wxString_in_helper(obj3
);
18763 if (arg4
== NULL
) SWIG_fail
;
18769 arg5
= (long)(SWIG_As_long(obj4
));
18770 if (SWIG_arg_fail(5)) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18819 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18829 if (SWIG_arg_fail(1)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18847 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18849 return Py_BuildValue((char *)"");
18851 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18854 wxString
*arg2
= 0 ;
18855 wxConfigPathChanger
*result
;
18856 bool temp2
= false ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "config",(char *) "entry", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(1)) SWIG_fail
;
18867 arg2
= wxString_in_helper(obj1
);
18868 if (arg2
== NULL
) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18893 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18929 if (SWIG_arg_fail(1)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18934 result
= (wxString
*) &_result_ref
;
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18944 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18953 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18956 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18958 return Py_BuildValue((char *)"");
18960 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxString
*arg1
= 0 ;
18964 bool temp1
= false ;
18965 PyObject
* obj0
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "sz", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18972 arg1
= wxString_in_helper(obj0
);
18973 if (arg1
== NULL
) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19004 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19005 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19010 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19015 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19017 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19024 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19025 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19030 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19035 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19037 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19044 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxDateTime::Country arg1
;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "country", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19054 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19055 if (SWIG_arg_fail(1)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxDateTime::Country result
;
19074 char *kwnames
[] = {
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_From_int((result
));
19093 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19097 PyObject
* obj0
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "country", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19105 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19106 if (SWIG_arg_fail(1)) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19125 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19129 PyObject
* obj0
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "cal", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19137 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19138 if (SWIG_arg_fail(1)) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_From_int((int)(result
));
19157 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19161 PyObject
* obj0
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "year", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19168 arg1
= (int)(SWIG_As_int(obj0
));
19169 if (SWIG_arg_fail(1)) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_From_int((int)(result
));
19187 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19190 wxDateTime::Month result
;
19191 PyObject
* obj0
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "cal", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19199 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19200 if (SWIG_arg_fail(1)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_From_int((result
));
19217 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 int arg1
= (int) wxDateTime::Inv_Year
;
19220 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "year",(char *) "cal", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19231 arg1
= (int)(SWIG_As_int(obj0
));
19232 if (SWIG_arg_fail(1)) SWIG_fail
;
19237 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19238 if (SWIG_arg_fail(2)) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19257 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 int arg1
= (int) wxDateTime::Inv_Year
;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "year", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19269 arg1
= (int)(SWIG_As_int(obj0
));
19270 if (SWIG_arg_fail(1)) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (int)wxDateTime::GetCentury(arg1
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_From_int((int)(result
));
19289 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19292 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "year",(char *) "cal", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19302 arg1
= (int)(SWIG_As_int(obj0
));
19303 if (SWIG_arg_fail(1)) SWIG_fail
;
19307 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19308 if (SWIG_arg_fail(2)) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_From_int((int)(result
));
19327 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxDateTime::Month arg1
;
19330 int arg2
= (int) wxDateTime::Inv_Year
;
19331 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19333 PyObject
* obj0
= 0 ;
19334 PyObject
* obj1
= 0 ;
19335 PyObject
* obj2
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "month",(char *) "year",(char *) "cal", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19342 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19343 if (SWIG_arg_fail(1)) SWIG_fail
;
19347 arg2
= (int)(SWIG_As_int(obj1
));
19348 if (SWIG_arg_fail(2)) SWIG_fail
;
19353 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19354 if (SWIG_arg_fail(3)) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_From_int((int)(result
));
19373 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxDateTime::Month arg1
;
19376 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "month",(char *) "flags", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19386 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19387 if (SWIG_arg_fail(1)) SWIG_fail
;
19391 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19392 if (SWIG_arg_fail(2)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19415 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxDateTime::WeekDay arg1
;
19418 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "weekday",(char *) "flags", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19429 if (SWIG_arg_fail(1)) SWIG_fail
;
19433 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19434 if (SWIG_arg_fail(2)) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19457 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19460 char *kwnames
[] = {
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (PyObject
*)DateTime_GetAmPmStrings();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= result
;
19479 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19481 int arg1
= (int) wxDateTime::Inv_Year
;
19482 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "year",(char *) "country", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19493 arg1
= (int)(SWIG_As_int(obj0
));
19494 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19500 if (SWIG_arg_fail(2)) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19519 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 int arg1
= (int) wxDateTime::Inv_Year
;
19522 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "year",(char *) "country", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 arg1
= (int)(SWIG_As_int(obj0
));
19534 if (SWIG_arg_fail(1)) SWIG_fail
;
19539 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19540 if (SWIG_arg_fail(2)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 wxDateTime
* resultptr
;
19552 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19561 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 int arg1
= (int) wxDateTime::Inv_Year
;
19564 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "year",(char *) "country", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 arg1
= (int)(SWIG_As_int(obj0
));
19576 if (SWIG_arg_fail(1)) SWIG_fail
;
19581 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19582 if (SWIG_arg_fail(2)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 wxDateTime
* resultptr
;
19594 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19603 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19606 char *kwnames
[] = {
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= wxDateTime::Now();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 wxDateTime
* resultptr
;
19620 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19629 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19632 char *kwnames
[] = {
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= wxDateTime::UNow();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19645 wxDateTime
* resultptr
;
19646 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19655 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19658 char *kwnames
[] = {
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= wxDateTime::Today();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 wxDateTime
* resultptr
;
19672 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19681 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxDateTime
*result
;
19684 char *kwnames
[] = {
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (wxDateTime
*)new wxDateTime();
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19703 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19706 wxDateTime
*result
;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "timet", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19714 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19715 if (SWIG_arg_fail(1)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (wxDateTime
*)new wxDateTime(arg1
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19731 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19734 wxDateTime
*result
;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "jdn", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19742 arg1
= (double)(SWIG_As_double(obj0
));
19743 if (SWIG_arg_fail(1)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (wxDateTime
*)new wxDateTime(arg1
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19759 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19762 int arg2
= (int) 0 ;
19763 int arg3
= (int) 0 ;
19764 int arg4
= (int) 0 ;
19765 wxDateTime
*result
;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 PyObject
* obj2
= 0 ;
19769 PyObject
* obj3
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19776 arg1
= (int)(SWIG_As_int(obj0
));
19777 if (SWIG_arg_fail(1)) SWIG_fail
;
19781 arg2
= (int)(SWIG_As_int(obj1
));
19782 if (SWIG_arg_fail(2)) SWIG_fail
;
19787 arg3
= (int)(SWIG_As_int(obj2
));
19788 if (SWIG_arg_fail(3)) SWIG_fail
;
19793 arg4
= (int)(SWIG_As_int(obj3
));
19794 if (SWIG_arg_fail(4)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19811 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19814 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19815 int arg3
= (int) wxDateTime::Inv_Year
;
19816 int arg4
= (int) 0 ;
19817 int arg5
= (int) 0 ;
19818 int arg6
= (int) 0 ;
19819 int arg7
= (int) 0 ;
19820 wxDateTime
*result
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 PyObject
* obj2
= 0 ;
19824 PyObject
* obj3
= 0 ;
19825 PyObject
* obj4
= 0 ;
19826 PyObject
* obj5
= 0 ;
19827 PyObject
* obj6
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19834 arg1
= (int)(SWIG_As_int(obj0
));
19835 if (SWIG_arg_fail(1)) SWIG_fail
;
19839 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19840 if (SWIG_arg_fail(2)) SWIG_fail
;
19845 arg3
= (int)(SWIG_As_int(obj2
));
19846 if (SWIG_arg_fail(3)) SWIG_fail
;
19851 arg4
= (int)(SWIG_As_int(obj3
));
19852 if (SWIG_arg_fail(4)) SWIG_fail
;
19857 arg5
= (int)(SWIG_As_int(obj4
));
19858 if (SWIG_arg_fail(5)) SWIG_fail
;
19863 arg6
= (int)(SWIG_As_int(obj5
));
19864 if (SWIG_arg_fail(6)) SWIG_fail
;
19869 arg7
= (int)(SWIG_As_int(obj6
));
19870 if (SWIG_arg_fail(7)) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19887 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 Py_INCREF(Py_None
); resultobj
= Py_None
;
19912 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19915 wxDateTime
*result
;
19916 PyObject
* obj0
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19923 if (SWIG_arg_fail(1)) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19928 result
= (wxDateTime
*) &_result_ref
;
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19941 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19945 wxDateTime
*result
;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self",(char *) "timet", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail
;
19956 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19957 if (SWIG_arg_fail(2)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19963 result
= (wxDateTime
*) &_result_ref
;
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19976 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19980 wxDateTime
*result
;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "jdn", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19989 if (SWIG_arg_fail(1)) SWIG_fail
;
19991 arg2
= (double)(SWIG_As_double(obj1
));
19992 if (SWIG_arg_fail(2)) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19998 result
= (wxDateTime
*) &_result_ref
;
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20011 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20015 int arg3
= (int) 0 ;
20016 int arg4
= (int) 0 ;
20017 int arg5
= (int) 0 ;
20018 wxDateTime
*result
;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 PyObject
* obj2
= 0 ;
20022 PyObject
* obj3
= 0 ;
20023 PyObject
* obj4
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20030 if (SWIG_arg_fail(1)) SWIG_fail
;
20032 arg2
= (int)(SWIG_As_int(obj1
));
20033 if (SWIG_arg_fail(2)) SWIG_fail
;
20037 arg3
= (int)(SWIG_As_int(obj2
));
20038 if (SWIG_arg_fail(3)) SWIG_fail
;
20043 arg4
= (int)(SWIG_As_int(obj3
));
20044 if (SWIG_arg_fail(4)) SWIG_fail
;
20049 arg5
= (int)(SWIG_As_int(obj4
));
20050 if (SWIG_arg_fail(5)) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20057 result
= (wxDateTime
*) &_result_ref
;
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20070 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20074 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20075 int arg4
= (int) wxDateTime::Inv_Year
;
20076 int arg5
= (int) 0 ;
20077 int arg6
= (int) 0 ;
20078 int arg7
= (int) 0 ;
20079 int arg8
= (int) 0 ;
20080 wxDateTime
*result
;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 PyObject
* obj3
= 0 ;
20085 PyObject
* obj4
= 0 ;
20086 PyObject
* obj5
= 0 ;
20087 PyObject
* obj6
= 0 ;
20088 PyObject
* obj7
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail
;
20097 arg2
= (int)(SWIG_As_int(obj1
));
20098 if (SWIG_arg_fail(2)) SWIG_fail
;
20102 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20103 if (SWIG_arg_fail(3)) SWIG_fail
;
20108 arg4
= (int)(SWIG_As_int(obj3
));
20109 if (SWIG_arg_fail(4)) SWIG_fail
;
20114 arg5
= (int)(SWIG_As_int(obj4
));
20115 if (SWIG_arg_fail(5)) SWIG_fail
;
20120 arg6
= (int)(SWIG_As_int(obj5
));
20121 if (SWIG_arg_fail(6)) SWIG_fail
;
20126 arg7
= (int)(SWIG_As_int(obj6
));
20127 if (SWIG_arg_fail(7)) SWIG_fail
;
20132 arg8
= (int)(SWIG_As_int(obj7
));
20133 if (SWIG_arg_fail(8)) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20140 result
= (wxDateTime
*) &_result_ref
;
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20153 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20156 wxDateTime
*result
;
20157 PyObject
* obj0
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20164 if (SWIG_arg_fail(1)) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20169 result
= (wxDateTime
*) &_result_ref
;
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20182 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20186 wxDateTime
*result
;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self",(char *) "year", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail
;
20197 arg2
= (int)(SWIG_As_int(obj1
));
20198 if (SWIG_arg_fail(2)) SWIG_fail
;
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20204 result
= (wxDateTime
*) &_result_ref
;
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20217 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20220 wxDateTime::Month arg2
;
20221 wxDateTime
*result
;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "month", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20233 if (SWIG_arg_fail(2)) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20239 result
= (wxDateTime
*) &_result_ref
;
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20252 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20256 wxDateTime
*result
;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "day", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 arg2
= (int)(SWIG_As_int(obj1
));
20268 if (SWIG_arg_fail(2)) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20274 result
= (wxDateTime
*) &_result_ref
;
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20287 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20291 wxDateTime
*result
;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "hour", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 arg2
= (int)(SWIG_As_int(obj1
));
20303 if (SWIG_arg_fail(2)) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20309 result
= (wxDateTime
*) &_result_ref
;
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20322 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20326 wxDateTime
*result
;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "minute", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail
;
20337 arg2
= (int)(SWIG_As_int(obj1
));
20338 if (SWIG_arg_fail(2)) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20344 result
= (wxDateTime
*) &_result_ref
;
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20357 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20361 wxDateTime
*result
;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self",(char *) "second", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20370 if (SWIG_arg_fail(1)) SWIG_fail
;
20372 arg2
= (int)(SWIG_As_int(obj1
));
20373 if (SWIG_arg_fail(2)) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20379 result
= (wxDateTime
*) &_result_ref
;
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20392 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20396 wxDateTime
*result
;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self",(char *) "millisecond", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20405 if (SWIG_arg_fail(1)) SWIG_fail
;
20407 arg2
= (int)(SWIG_As_int(obj1
));
20408 if (SWIG_arg_fail(2)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20414 result
= (wxDateTime
*) &_result_ref
;
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20427 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20430 wxDateTime::WeekDay arg2
;
20431 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20432 wxDateTime
*result
;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 PyObject
* obj2
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20442 if (SWIG_arg_fail(1)) SWIG_fail
;
20444 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20445 if (SWIG_arg_fail(2)) SWIG_fail
;
20449 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20450 if (SWIG_arg_fail(3)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20457 result
= (wxDateTime
*) &_result_ref
;
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20470 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20473 wxDateTime::WeekDay arg2
;
20474 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail
;
20487 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20488 if (SWIG_arg_fail(2)) SWIG_fail
;
20492 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20493 if (SWIG_arg_fail(3)) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 wxDateTime
* resultptr
;
20505 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20514 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20517 wxDateTime::WeekDay arg2
;
20518 wxDateTime
*result
;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self",(char *) "weekday", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20527 if (SWIG_arg_fail(1)) SWIG_fail
;
20529 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20530 if (SWIG_arg_fail(2)) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20536 result
= (wxDateTime
*) &_result_ref
;
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20549 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20552 wxDateTime::WeekDay arg2
;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self",(char *) "weekday", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail
;
20564 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20565 if (SWIG_arg_fail(2)) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 wxDateTime
* resultptr
;
20576 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20585 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20588 wxDateTime::WeekDay arg2
;
20589 wxDateTime
*result
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self",(char *) "weekday", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20598 if (SWIG_arg_fail(1)) SWIG_fail
;
20600 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20601 if (SWIG_arg_fail(2)) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20607 result
= (wxDateTime
*) &_result_ref
;
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20620 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20623 wxDateTime::WeekDay arg2
;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self",(char *) "weekday", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail
;
20635 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20636 if (SWIG_arg_fail(2)) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 wxDateTime
* resultptr
;
20647 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20656 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20659 wxDateTime::WeekDay arg2
;
20660 int arg3
= (int) 1 ;
20661 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20662 int arg5
= (int) wxDateTime::Inv_Year
;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 PyObject
* obj2
= 0 ;
20667 PyObject
* obj3
= 0 ;
20668 PyObject
* obj4
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20678 if (SWIG_arg_fail(2)) SWIG_fail
;
20682 arg3
= (int)(SWIG_As_int(obj2
));
20683 if (SWIG_arg_fail(3)) SWIG_fail
;
20688 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20689 if (SWIG_arg_fail(4)) SWIG_fail
;
20694 arg5
= (int)(SWIG_As_int(obj4
));
20695 if (SWIG_arg_fail(5)) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20714 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20717 wxDateTime::WeekDay arg2
;
20718 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20719 int arg4
= (int) wxDateTime::Inv_Year
;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 PyObject
* obj2
= 0 ;
20724 PyObject
* obj3
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20731 if (SWIG_arg_fail(1)) SWIG_fail
;
20733 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20734 if (SWIG_arg_fail(2)) SWIG_fail
;
20738 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20739 if (SWIG_arg_fail(3)) SWIG_fail
;
20744 arg4
= (int)(SWIG_As_int(obj3
));
20745 if (SWIG_arg_fail(4)) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20764 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20767 wxDateTime::WeekDay arg2
;
20768 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20769 int arg4
= (int) wxDateTime::Inv_Year
;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 PyObject
* obj2
= 0 ;
20774 PyObject
* obj3
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20783 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20784 if (SWIG_arg_fail(2)) SWIG_fail
;
20788 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20789 if (SWIG_arg_fail(3)) SWIG_fail
;
20794 arg4
= (int)(SWIG_As_int(obj3
));
20795 if (SWIG_arg_fail(4)) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 wxDateTime
* resultptr
;
20807 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20816 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20820 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20821 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 PyObject
* obj2
= 0 ;
20826 PyObject
* obj3
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20833 if (SWIG_arg_fail(1)) SWIG_fail
;
20835 arg2
= (int)(SWIG_As_int(obj1
));
20836 if (SWIG_arg_fail(2)) SWIG_fail
;
20840 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20841 if (SWIG_arg_fail(3)) SWIG_fail
;
20846 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20847 if (SWIG_arg_fail(4)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20866 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20870 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20871 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 PyObject
* obj2
= 0 ;
20876 PyObject
* obj3
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20883 if (SWIG_arg_fail(1)) SWIG_fail
;
20885 arg2
= (int)(SWIG_As_int(obj1
));
20886 if (SWIG_arg_fail(2)) SWIG_fail
;
20890 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20891 if (SWIG_arg_fail(3)) SWIG_fail
;
20896 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20897 if (SWIG_arg_fail(4)) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 wxDateTime
* resultptr
;
20909 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20918 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20922 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 PyObject
* obj2
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20933 arg1
= (int)(SWIG_As_int(obj0
));
20934 if (SWIG_arg_fail(1)) SWIG_fail
;
20937 arg2
= (int)(SWIG_As_int(obj1
));
20938 if (SWIG_arg_fail(2)) SWIG_fail
;
20942 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20943 if (SWIG_arg_fail(3)) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20954 wxDateTime
* resultptr
;
20955 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20964 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20967 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20968 int arg3
= (int) wxDateTime::Inv_Year
;
20969 wxDateTime
*result
;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 PyObject
* obj2
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self",(char *) "month",(char *) "year", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20979 if (SWIG_arg_fail(1)) SWIG_fail
;
20982 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20983 if (SWIG_arg_fail(2)) SWIG_fail
;
20988 arg3
= (int)(SWIG_As_int(obj2
));
20989 if (SWIG_arg_fail(3)) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20996 result
= (wxDateTime
*) &_result_ref
;
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21009 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21012 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21013 int arg3
= (int) wxDateTime::Inv_Year
;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 PyObject
* obj2
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "month",(char *) "year", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21027 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21028 if (SWIG_arg_fail(2)) SWIG_fail
;
21033 arg3
= (int)(SWIG_As_int(obj2
));
21034 if (SWIG_arg_fail(3)) SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21045 wxDateTime
* resultptr
;
21046 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21055 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21059 wxDateTime
*result
;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "yday", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21068 if (SWIG_arg_fail(1)) SWIG_fail
;
21070 arg2
= (int)(SWIG_As_int(obj1
));
21071 if (SWIG_arg_fail(2)) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21077 result
= (wxDateTime
*) &_result_ref
;
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21090 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self",(char *) "yday", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail
;
21105 arg2
= (int)(SWIG_As_int(obj1
));
21106 if (SWIG_arg_fail(2)) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (arg1
)->GetYearDay(arg2
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 wxDateTime
* resultptr
;
21117 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21126 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "self", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21137 if (SWIG_arg_fail(1)) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (double)(arg1
)->GetJulianDayNumber();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_From_double((double)(result
));
21154 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (double)(arg1
)->GetJDN();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_From_double((double)(result
));
21182 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21193 if (SWIG_arg_fail(1)) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_From_double((double)(result
));
21210 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21221 if (SWIG_arg_fail(1)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (double)(arg1
)->GetMJD();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_From_double((double)(result
));
21238 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (double)(arg1
)->GetRataDie();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= SWIG_From_double((double)(result
));
21266 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21269 wxDateTime::TimeZone
*arg2
= 0 ;
21270 bool arg3
= (bool) false ;
21272 bool temp2
= false ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21282 if (SWIG_arg_fail(1)) SWIG_fail
;
21284 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21289 arg3
= (bool)(SWIG_As_bool(obj2
));
21290 if (SWIG_arg_fail(3)) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 wxDateTime
* resultptr
;
21302 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21306 if (temp2
) delete arg2
;
21311 if (temp2
) delete arg2
;
21317 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21320 wxDateTime::TimeZone
*arg2
= 0 ;
21321 bool arg3
= (bool) false ;
21322 wxDateTime
*result
;
21323 bool temp2
= false ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 PyObject
* obj2
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21333 if (SWIG_arg_fail(1)) SWIG_fail
;
21335 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21340 arg3
= (bool)(SWIG_As_bool(obj2
));
21341 if (SWIG_arg_fail(3)) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21348 result
= (wxDateTime
*) &_result_ref
;
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21356 if (temp2
) delete arg2
;
21361 if (temp2
) delete arg2
;
21367 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21370 bool arg2
= (bool) false ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "noDST", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 arg2
= (bool)(SWIG_As_bool(obj1
));
21384 if (SWIG_arg_fail(2)) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (arg1
)->ToGMT(arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 wxDateTime
* resultptr
;
21396 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21405 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21408 bool arg2
= (bool) false ;
21409 wxDateTime
*result
;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "noDST", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail
;
21421 arg2
= (bool)(SWIG_As_bool(obj1
));
21422 if (SWIG_arg_fail(2)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21429 result
= (wxDateTime
*) &_result_ref
;
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21442 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21445 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self",(char *) "country", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21455 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21459 if (SWIG_arg_fail(2)) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_From_int((int)(result
));
21478 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21482 PyObject
* obj0
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21489 if (SWIG_arg_fail(1)) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21506 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21517 if (SWIG_arg_fail(1)) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21534 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21537 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21538 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21540 bool temp2
= false ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self",(char *) "tz", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21549 if (SWIG_arg_fail(1)) SWIG_fail
;
21552 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= SWIG_From_int((int)(result
));
21567 if (temp2
) delete arg2
;
21572 if (temp2
) delete arg2
;
21578 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21581 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21582 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21583 wxDateTime::Month result
;
21584 bool temp2
= false ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "tz", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21593 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_From_int((result
));
21609 if (temp2
) delete arg2
;
21614 if (temp2
) delete arg2
;
21620 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21623 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21624 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21626 bool temp2
= false ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "tz", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21635 if (SWIG_arg_fail(1)) SWIG_fail
;
21638 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_From_int((int)(result
));
21653 if (temp2
) delete arg2
;
21658 if (temp2
) delete arg2
;
21664 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21667 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21668 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21669 wxDateTime::WeekDay result
;
21670 bool temp2
= false ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "tz", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21679 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_From_int((result
));
21695 if (temp2
) delete arg2
;
21700 if (temp2
) delete arg2
;
21706 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21709 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21710 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21712 bool temp2
= false ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "tz", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail
;
21724 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_From_int((int)(result
));
21739 if (temp2
) delete arg2
;
21744 if (temp2
) delete arg2
;
21750 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21753 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21754 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21756 bool temp2
= false ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self",(char *) "tz", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21765 if (SWIG_arg_fail(1)) SWIG_fail
;
21768 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_From_int((int)(result
));
21783 if (temp2
) delete arg2
;
21788 if (temp2
) delete arg2
;
21794 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21797 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21798 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21800 bool temp2
= false ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self",(char *) "tz", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21809 if (SWIG_arg_fail(1)) SWIG_fail
;
21812 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_From_int((int)(result
));
21827 if (temp2
) delete arg2
;
21832 if (temp2
) delete arg2
;
21838 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21841 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21842 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21844 bool temp2
= false ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "tz", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_From_int((int)(result
));
21871 if (temp2
) delete arg2
;
21876 if (temp2
) delete arg2
;
21882 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21885 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21886 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21888 bool temp2
= false ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self",(char *) "tz", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21900 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_From_int((int)(result
));
21915 if (temp2
) delete arg2
;
21920 if (temp2
) delete arg2
;
21926 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21929 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21930 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21931 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21933 bool temp3
= false ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "flags",(char *) "tz", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21943 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21947 if (SWIG_arg_fail(2)) SWIG_fail
;
21952 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_From_int((int)(result
));
21967 if (temp3
) delete arg3
;
21972 if (temp3
) delete arg3
;
21978 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21981 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21982 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21983 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21985 bool temp3
= false ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 PyObject
* obj2
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "flags",(char *) "tz", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail
;
21998 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21999 if (SWIG_arg_fail(2)) SWIG_fail
;
22004 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_From_int((int)(result
));
22019 if (temp3
) delete arg3
;
22024 if (temp3
) delete arg3
;
22030 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22033 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "country", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail
;
22046 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22047 if (SWIG_arg_fail(2)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22069 wxDateTime
*arg2
= 0 ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self",(char *) "datetime", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22079 if (SWIG_arg_fail(1)) SWIG_fail
;
22081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22082 if (SWIG_arg_fail(2)) SWIG_fail
;
22083 if (arg2
== NULL
) {
22084 SWIG_null_ref("wxDateTime");
22086 if (SWIG_arg_fail(2)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22104 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22107 wxDateTime
*arg2
= 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "datetime", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(1)) SWIG_fail
;
22119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22120 if (SWIG_arg_fail(2)) SWIG_fail
;
22121 if (arg2
== NULL
) {
22122 SWIG_null_ref("wxDateTime");
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22145 wxDateTime
*arg2
= 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self",(char *) "datetime", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail
;
22157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(2)) SWIG_fail
;
22159 if (arg2
== NULL
) {
22160 SWIG_null_ref("wxDateTime");
22162 if (SWIG_arg_fail(2)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22180 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22183 wxDateTime
*arg2
= 0 ;
22184 wxDateTime
*arg3
= 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 PyObject
* obj2
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "t1",(char *) "t2", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail
;
22197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22198 if (SWIG_arg_fail(2)) SWIG_fail
;
22199 if (arg2
== NULL
) {
22200 SWIG_null_ref("wxDateTime");
22202 if (SWIG_arg_fail(2)) SWIG_fail
;
22205 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22206 if (SWIG_arg_fail(3)) SWIG_fail
;
22207 if (arg3
== NULL
) {
22208 SWIG_null_ref("wxDateTime");
22210 if (SWIG_arg_fail(3)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22231 wxDateTime
*arg2
= 0 ;
22232 wxDateTime
*arg3
= 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self",(char *) "t1",(char *) "t2", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail
;
22245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22246 if (SWIG_arg_fail(2)) SWIG_fail
;
22247 if (arg2
== NULL
) {
22248 SWIG_null_ref("wxDateTime");
22250 if (SWIG_arg_fail(2)) SWIG_fail
;
22253 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22254 if (SWIG_arg_fail(3)) SWIG_fail
;
22255 if (arg3
== NULL
) {
22256 SWIG_null_ref("wxDateTime");
22258 if (SWIG_arg_fail(3)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22276 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22279 wxDateTime
*arg2
= 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "dt", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(1)) SWIG_fail
;
22291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22292 if (SWIG_arg_fail(2)) SWIG_fail
;
22293 if (arg2
== NULL
) {
22294 SWIG_null_ref("wxDateTime");
22296 if (SWIG_arg_fail(2)) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22314 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22317 wxDateTime
*arg2
= 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "dt", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(2)) SWIG_fail
;
22331 if (arg2
== NULL
) {
22332 SWIG_null_ref("wxDateTime");
22334 if (SWIG_arg_fail(2)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22352 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22355 wxDateTime
*arg2
= 0 ;
22356 wxTimeSpan
*arg3
= 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 PyObject
* obj2
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "dt",(char *) "ts", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22367 if (SWIG_arg_fail(1)) SWIG_fail
;
22369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22370 if (SWIG_arg_fail(2)) SWIG_fail
;
22371 if (arg2
== NULL
) {
22372 SWIG_null_ref("wxDateTime");
22374 if (SWIG_arg_fail(2)) SWIG_fail
;
22377 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(3)) SWIG_fail
;
22379 if (arg3
== NULL
) {
22380 SWIG_null_ref("wxTimeSpan");
22382 if (SWIG_arg_fail(3)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22400 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22403 wxTimeSpan
*arg2
= 0 ;
22404 wxDateTime
*result
;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "diff", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22413 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(2)) SWIG_fail
;
22417 if (arg2
== NULL
) {
22418 SWIG_null_ref("wxTimeSpan");
22420 if (SWIG_arg_fail(2)) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22426 result
= (wxDateTime
*) &_result_ref
;
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22439 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22442 wxDateSpan
*arg2
= 0 ;
22443 wxDateTime
*result
;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self",(char *) "diff", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22452 if (SWIG_arg_fail(1)) SWIG_fail
;
22454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22455 if (SWIG_arg_fail(2)) SWIG_fail
;
22456 if (arg2
== NULL
) {
22457 SWIG_null_ref("wxDateSpan");
22459 if (SWIG_arg_fail(2)) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22465 result
= (wxDateTime
*) &_result_ref
;
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22478 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22481 wxTimeSpan
*arg2
= 0 ;
22482 wxDateTime
*result
;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self",(char *) "diff", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22491 if (SWIG_arg_fail(1)) SWIG_fail
;
22493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22494 if (SWIG_arg_fail(2)) SWIG_fail
;
22495 if (arg2
== NULL
) {
22496 SWIG_null_ref("wxTimeSpan");
22498 if (SWIG_arg_fail(2)) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22504 result
= (wxDateTime
*) &_result_ref
;
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22517 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22520 wxDateSpan
*arg2
= 0 ;
22521 wxDateTime
*result
;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "diff", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(2)) SWIG_fail
;
22534 if (arg2
== NULL
) {
22535 SWIG_null_ref("wxDateSpan");
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22543 result
= (wxDateTime
*) &_result_ref
;
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22556 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22559 wxDateTime
*arg2
= 0 ;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self",(char *) "dt", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22569 if (SWIG_arg_fail(1)) SWIG_fail
;
22571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(2)) SWIG_fail
;
22573 if (arg2
== NULL
) {
22574 SWIG_null_ref("wxDateTime");
22576 if (SWIG_arg_fail(2)) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 wxTimeSpan
* resultptr
;
22587 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22596 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22597 PyObject
*resultobj
;
22598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22599 wxTimeSpan
*arg2
= 0 ;
22600 wxDateTime
*result
;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22604 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22606 if (SWIG_arg_fail(1)) SWIG_fail
;
22608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22609 if (SWIG_arg_fail(2)) SWIG_fail
;
22610 if (arg2
== NULL
) {
22611 SWIG_null_ref("wxTimeSpan");
22613 if (SWIG_arg_fail(2)) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22619 result
= (wxDateTime
*) &_result_ref
;
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22632 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22633 PyObject
*resultobj
;
22634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22635 wxDateSpan
*arg2
= 0 ;
22636 wxDateTime
*result
;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22640 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22642 if (SWIG_arg_fail(1)) SWIG_fail
;
22644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(2)) SWIG_fail
;
22646 if (arg2
== NULL
) {
22647 SWIG_null_ref("wxDateSpan");
22649 if (SWIG_arg_fail(2)) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22655 result
= (wxDateTime
*) &_result_ref
;
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22668 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22673 argc
= PyObject_Length(args
);
22674 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22675 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22681 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22691 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22699 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22717 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22725 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22730 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22735 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22736 PyObject
*resultobj
;
22737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22738 wxTimeSpan
*arg2
= 0 ;
22739 wxDateTime
*result
;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22743 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22745 if (SWIG_arg_fail(1)) SWIG_fail
;
22747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22748 if (SWIG_arg_fail(2)) SWIG_fail
;
22749 if (arg2
== NULL
) {
22750 SWIG_null_ref("wxTimeSpan");
22752 if (SWIG_arg_fail(2)) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22758 result
= (wxDateTime
*) &_result_ref
;
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22771 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22772 PyObject
*resultobj
;
22773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22774 wxDateSpan
*arg2
= 0 ;
22775 wxDateTime
*result
;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22779 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22781 if (SWIG_arg_fail(1)) SWIG_fail
;
22783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(2)) SWIG_fail
;
22785 if (arg2
== NULL
) {
22786 SWIG_null_ref("wxDateSpan");
22788 if (SWIG_arg_fail(2)) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22794 result
= (wxDateTime
*) &_result_ref
;
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22807 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22812 argc
= PyObject_Length(args
);
22813 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22814 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22820 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22830 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22838 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22856 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22864 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22869 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22874 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22875 PyObject
*resultobj
;
22876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22877 wxTimeSpan
*arg2
= 0 ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22882 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22884 if (SWIG_arg_fail(1)) SWIG_fail
;
22886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22887 if (SWIG_arg_fail(2)) SWIG_fail
;
22888 if (arg2
== NULL
) {
22889 SWIG_null_ref("wxTimeSpan");
22891 if (SWIG_arg_fail(2)) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 wxDateTime
* resultptr
;
22902 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22911 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22912 PyObject
*resultobj
;
22913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22914 wxDateSpan
*arg2
= 0 ;
22916 PyObject
* obj0
= 0 ;
22917 PyObject
* obj1
= 0 ;
22919 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22921 if (SWIG_arg_fail(1)) SWIG_fail
;
22923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22924 if (SWIG_arg_fail(2)) SWIG_fail
;
22925 if (arg2
== NULL
) {
22926 SWIG_null_ref("wxDateSpan");
22928 if (SWIG_arg_fail(2)) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22938 wxDateTime
* resultptr
;
22939 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22948 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22953 argc
= PyObject_Length(args
);
22954 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22955 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22961 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22971 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22979 return _wrap_DateTime___add____SWIG_0(self
,args
);
22987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23005 return _wrap_DateTime___add____SWIG_1(self
,args
);
23010 Py_INCREF(Py_NotImplemented
);
23011 return Py_NotImplemented
;
23015 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23016 PyObject
*resultobj
;
23017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23018 wxDateTime
*arg2
= 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23023 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23025 if (SWIG_arg_fail(1)) SWIG_fail
;
23027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(2)) SWIG_fail
;
23029 if (arg2
== NULL
) {
23030 SWIG_null_ref("wxDateTime");
23032 if (SWIG_arg_fail(2)) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23042 wxTimeSpan
* resultptr
;
23043 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23052 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23053 PyObject
*resultobj
;
23054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23055 wxTimeSpan
*arg2
= 0 ;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23060 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23065 if (SWIG_arg_fail(2)) SWIG_fail
;
23066 if (arg2
== NULL
) {
23067 SWIG_null_ref("wxTimeSpan");
23069 if (SWIG_arg_fail(2)) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 wxDateTime
* resultptr
;
23080 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23089 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23090 PyObject
*resultobj
;
23091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23092 wxDateSpan
*arg2
= 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23097 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23099 if (SWIG_arg_fail(1)) SWIG_fail
;
23101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23102 if (SWIG_arg_fail(2)) SWIG_fail
;
23103 if (arg2
== NULL
) {
23104 SWIG_null_ref("wxDateSpan");
23106 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 wxDateTime
* resultptr
;
23117 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23126 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23131 argc
= PyObject_Length(args
);
23132 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23133 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23139 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23149 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23157 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23165 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23175 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23183 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23201 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23209 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23214 Py_INCREF(Py_NotImplemented
);
23215 return Py_NotImplemented
;
23219 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23222 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "other", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail
;
23233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(2)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23251 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23254 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 PyObject
* obj1
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self",(char *) "other", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23266 if (SWIG_arg_fail(2)) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23283 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23286 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self",(char *) "other", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23296 if (SWIG_arg_fail(1)) SWIG_fail
;
23297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23298 if (SWIG_arg_fail(2)) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23315 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23318 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 PyObject
* obj1
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self",(char *) "other", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23330 if (SWIG_arg_fail(2)) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23347 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23350 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "other", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23360 if (SWIG_arg_fail(1)) SWIG_fail
;
23361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23362 if (SWIG_arg_fail(2)) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23379 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23382 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self",(char *) "other", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23392 if (SWIG_arg_fail(1)) SWIG_fail
;
23393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23394 if (SWIG_arg_fail(2)) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23411 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23414 wxString
*arg2
= 0 ;
23416 bool temp2
= false ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "date", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail
;
23427 arg2
= wxString_in_helper(obj1
);
23428 if (arg2
== NULL
) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_From_int((int)(result
));
23455 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23458 wxString
*arg2
= 0 ;
23459 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23461 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23462 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23464 bool temp2
= false ;
23465 bool temp3
= false ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 PyObject
* obj3
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23476 if (SWIG_arg_fail(1)) SWIG_fail
;
23478 arg2
= wxString_in_helper(obj1
);
23479 if (arg2
== NULL
) SWIG_fail
;
23484 arg3
= wxString_in_helper(obj2
);
23485 if (arg3
== NULL
) SWIG_fail
;
23491 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(4)) SWIG_fail
;
23493 if (arg4
== NULL
) {
23494 SWIG_null_ref("wxDateTime");
23496 if (SWIG_arg_fail(4)) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_From_int((int)(result
));
23531 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23534 wxString
*arg2
= 0 ;
23536 bool temp2
= false ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "datetime", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23545 if (SWIG_arg_fail(1)) SWIG_fail
;
23547 arg2
= wxString_in_helper(obj1
);
23548 if (arg2
== NULL
) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_int((int)(result
));
23575 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23578 wxString
*arg2
= 0 ;
23580 bool temp2
= false ;
23581 PyObject
* obj0
= 0 ;
23582 PyObject
* obj1
= 0 ;
23583 char *kwnames
[] = {
23584 (char *) "self",(char *) "date", NULL
23587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23589 if (SWIG_arg_fail(1)) SWIG_fail
;
23591 arg2
= wxString_in_helper(obj1
);
23592 if (arg2
== NULL
) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= SWIG_From_int((int)(result
));
23619 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23622 wxString
*arg2
= 0 ;
23624 bool temp2
= false ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "time", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail
;
23635 arg2
= wxString_in_helper(obj1
);
23636 if (arg2
== NULL
) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_int((int)(result
));
23663 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23666 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23667 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23668 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23669 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23671 bool temp2
= false ;
23672 bool temp3
= false ;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 PyObject
* obj2
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self",(char *) "format",(char *) "tz", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23682 if (SWIG_arg_fail(1)) SWIG_fail
;
23685 arg2
= wxString_in_helper(obj1
);
23686 if (arg2
== NULL
) SWIG_fail
;
23692 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23715 if (temp3
) delete arg3
;
23724 if (temp3
) delete arg3
;
23730 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23741 if (SWIG_arg_fail(1)) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23762 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23794 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23805 if (SWIG_arg_fail(1)) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23826 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23830 PyObject
* obj0
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "self", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23837 if (SWIG_arg_fail(1)) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23858 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23861 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23863 return Py_BuildValue((char *)"");
23865 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23869 PyObject
* obj0
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "sec", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23876 arg1
= (long)(SWIG_As_long(obj0
));
23877 if (SWIG_arg_fail(1)) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= wxTimeSpan::Seconds(arg1
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23887 wxTimeSpan
* resultptr
;
23888 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23897 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23900 char *kwnames
[] = {
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= wxTimeSpan::Second();
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 wxTimeSpan
* resultptr
;
23914 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23923 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23927 PyObject
* obj0
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "min", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23934 arg1
= (long)(SWIG_As_long(obj0
));
23935 if (SWIG_arg_fail(1)) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= wxTimeSpan::Minutes(arg1
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 wxTimeSpan
* resultptr
;
23946 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23955 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23958 char *kwnames
[] = {
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= wxTimeSpan::Minute();
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 wxTimeSpan
* resultptr
;
23972 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23981 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "hours", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23992 arg1
= (long)(SWIG_As_long(obj0
));
23993 if (SWIG_arg_fail(1)) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= wxTimeSpan::Hours(arg1
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 wxTimeSpan
* resultptr
;
24004 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24013 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24016 char *kwnames
[] = {
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= wxTimeSpan::Hour();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 wxTimeSpan
* resultptr
;
24030 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24039 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24043 PyObject
* obj0
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "days", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24050 arg1
= (long)(SWIG_As_long(obj0
));
24051 if (SWIG_arg_fail(1)) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= wxTimeSpan::Days(arg1
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 wxTimeSpan
* resultptr
;
24062 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24071 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24074 char *kwnames
[] = {
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= wxTimeSpan::Day();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 wxTimeSpan
* resultptr
;
24088 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24097 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "days", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24108 arg1
= (long)(SWIG_As_long(obj0
));
24109 if (SWIG_arg_fail(1)) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= wxTimeSpan::Weeks(arg1
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 wxTimeSpan
* resultptr
;
24120 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24129 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24132 char *kwnames
[] = {
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= wxTimeSpan::Week();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 wxTimeSpan
* resultptr
;
24146 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24155 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 long arg1
= (long) 0 ;
24158 long arg2
= (long) 0 ;
24159 long arg3
= (long) 0 ;
24160 long arg4
= (long) 0 ;
24161 wxTimeSpan
*result
;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 PyObject
* obj2
= 0 ;
24165 PyObject
* obj3
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24173 arg1
= (long)(SWIG_As_long(obj0
));
24174 if (SWIG_arg_fail(1)) SWIG_fail
;
24179 arg2
= (long)(SWIG_As_long(obj1
));
24180 if (SWIG_arg_fail(2)) SWIG_fail
;
24185 arg3
= (long)(SWIG_As_long(obj2
));
24186 if (SWIG_arg_fail(3)) SWIG_fail
;
24191 arg4
= (long)(SWIG_As_long(obj3
));
24192 if (SWIG_arg_fail(4)) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24209 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24219 if (SWIG_arg_fail(1)) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24237 wxTimeSpan
*arg2
= 0 ;
24238 wxTimeSpan
*result
;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self",(char *) "diff", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24247 if (SWIG_arg_fail(1)) SWIG_fail
;
24249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24250 if (SWIG_arg_fail(2)) SWIG_fail
;
24251 if (arg2
== NULL
) {
24252 SWIG_null_ref("wxTimeSpan");
24254 if (SWIG_arg_fail(2)) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24260 result
= (wxTimeSpan
*) &_result_ref
;
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24273 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24276 wxTimeSpan
*arg2
= 0 ;
24277 wxTimeSpan
*result
;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "diff", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail
;
24288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24289 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 if (arg2
== NULL
) {
24291 SWIG_null_ref("wxTimeSpan");
24293 if (SWIG_arg_fail(2)) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24299 result
= (wxTimeSpan
*) &_result_ref
;
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24312 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24316 wxTimeSpan
*result
;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "n", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail
;
24327 arg2
= (int)(SWIG_As_int(obj1
));
24328 if (SWIG_arg_fail(2)) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24334 result
= (wxTimeSpan
*) &_result_ref
;
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24347 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
;
24349 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24350 wxTimeSpan
*result
;
24351 PyObject
* obj0
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24358 if (SWIG_arg_fail(1)) SWIG_fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24363 result
= (wxTimeSpan
*) &_result_ref
;
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24376 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24387 if (SWIG_arg_fail(1)) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 wxTimeSpan
* resultptr
;
24397 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24406 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24409 wxTimeSpan
*arg2
= 0 ;
24410 wxTimeSpan
*result
;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "diff", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24419 if (SWIG_arg_fail(1)) SWIG_fail
;
24421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24422 if (SWIG_arg_fail(2)) SWIG_fail
;
24423 if (arg2
== NULL
) {
24424 SWIG_null_ref("wxTimeSpan");
24426 if (SWIG_arg_fail(2)) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24432 result
= (wxTimeSpan
*) &_result_ref
;
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24445 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24448 wxTimeSpan
*arg2
= 0 ;
24449 wxTimeSpan
*result
;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "diff", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24458 if (SWIG_arg_fail(1)) SWIG_fail
;
24460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24461 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 if (arg2
== NULL
) {
24463 SWIG_null_ref("wxTimeSpan");
24465 if (SWIG_arg_fail(2)) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24471 result
= (wxTimeSpan
*) &_result_ref
;
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24484 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24488 wxTimeSpan
*result
;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "n", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24497 if (SWIG_arg_fail(1)) SWIG_fail
;
24499 arg2
= (int)(SWIG_As_int(obj1
));
24500 if (SWIG_arg_fail(2)) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24506 result
= (wxTimeSpan
*) &_result_ref
;
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24519 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24521 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24522 wxTimeSpan
*result
;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24530 if (SWIG_arg_fail(1)) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24535 result
= (wxTimeSpan
*) &_result_ref
;
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24548 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24551 wxTimeSpan
*arg2
= 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self",(char *) "other", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail
;
24563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24564 if (SWIG_arg_fail(2)) SWIG_fail
;
24565 if (arg2
== NULL
) {
24566 SWIG_null_ref("wxTimeSpan");
24568 if (SWIG_arg_fail(2)) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24578 wxTimeSpan
* resultptr
;
24579 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24588 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24591 wxTimeSpan
*arg2
= 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self",(char *) "other", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24601 if (SWIG_arg_fail(1)) SWIG_fail
;
24603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24604 if (SWIG_arg_fail(2)) SWIG_fail
;
24605 if (arg2
== NULL
) {
24606 SWIG_null_ref("wxTimeSpan");
24608 if (SWIG_arg_fail(2)) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 wxTimeSpan
* resultptr
;
24619 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24628 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self",(char *) "n", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24641 if (SWIG_arg_fail(1)) SWIG_fail
;
24643 arg2
= (int)(SWIG_As_int(obj1
));
24644 if (SWIG_arg_fail(2)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= wxTimeSpan___mul__(arg1
,arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 wxTimeSpan
* resultptr
;
24655 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24664 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "self",(char *) "n", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24677 if (SWIG_arg_fail(1)) SWIG_fail
;
24679 arg2
= (int)(SWIG_As_int(obj1
));
24680 if (SWIG_arg_fail(2)) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24690 wxTimeSpan
* resultptr
;
24691 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24700 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24703 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24705 PyObject
* obj0
= 0 ;
24706 PyObject
* obj1
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self",(char *) "other", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24713 if (SWIG_arg_fail(1)) SWIG_fail
;
24714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24715 if (SWIG_arg_fail(2)) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24732 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24735 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self",(char *) "other", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24745 if (SWIG_arg_fail(1)) SWIG_fail
;
24746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24747 if (SWIG_arg_fail(2)) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24764 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24767 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "other", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24777 if (SWIG_arg_fail(1)) SWIG_fail
;
24778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24779 if (SWIG_arg_fail(2)) SWIG_fail
;
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24796 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24799 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self",(char *) "other", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24809 if (SWIG_arg_fail(1)) SWIG_fail
;
24810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24811 if (SWIG_arg_fail(2)) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24828 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24831 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "other", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24843 if (SWIG_arg_fail(2)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24863 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "self",(char *) "other", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24873 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24875 if (SWIG_arg_fail(2)) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24892 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24920 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 char *kwnames
[] = {
24926 (char *) "self", NULL
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24931 if (SWIG_arg_fail(1)) SWIG_fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24948 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24976 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24979 wxTimeSpan
*arg2
= 0 ;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self",(char *) "ts", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(2)) SWIG_fail
;
24993 if (arg2
== NULL
) {
24994 SWIG_null_ref("wxTimeSpan");
24996 if (SWIG_arg_fail(2)) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25014 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25017 wxTimeSpan
*arg2
= 0 ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "ts", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25027 if (SWIG_arg_fail(1)) SWIG_fail
;
25029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25030 if (SWIG_arg_fail(2)) SWIG_fail
;
25031 if (arg2
== NULL
) {
25032 SWIG_null_ref("wxTimeSpan");
25034 if (SWIG_arg_fail(2)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25052 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25055 wxTimeSpan
*arg2
= 0 ;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self",(char *) "t", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25065 if (SWIG_arg_fail(1)) SWIG_fail
;
25067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(2)) SWIG_fail
;
25069 if (arg2
== NULL
) {
25070 SWIG_null_ref("wxTimeSpan");
25072 if (SWIG_arg_fail(2)) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25090 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25101 if (SWIG_arg_fail(1)) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_From_int((int)(result
));
25118 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25129 if (SWIG_arg_fail(1)) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= SWIG_From_int((int)(result
));
25146 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25157 if (SWIG_arg_fail(1)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_From_int((int)(result
));
25174 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25178 PyObject
* obj0
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25185 if (SWIG_arg_fail(1)) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_From_int((int)(result
));
25202 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25213 if (SWIG_arg_fail(1)) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25222 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25223 hi
= PyLong_FromLong( (&result
)->GetHi() );
25224 lo
= PyLong_FromLong( (&result
)->GetLo() );
25225 shifter
= PyLong_FromLong(32);
25226 shifted
= PyNumber_Lshift(hi
, shifter
);
25227 resultobj
= PyNumber_Or(shifted
, lo
);
25230 Py_DECREF(shifter
);
25231 Py_DECREF(shifted
);
25239 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25250 if (SWIG_arg_fail(1)) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25260 hi
= PyLong_FromLong( (&result
)->GetHi() );
25261 lo
= PyLong_FromLong( (&result
)->GetLo() );
25262 shifter
= PyLong_FromLong(32);
25263 shifted
= PyNumber_Lshift(hi
, shifter
);
25264 resultobj
= PyNumber_Or(shifted
, lo
);
25267 Py_DECREF(shifter
);
25268 Py_DECREF(shifted
);
25276 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25279 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25280 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25282 bool temp2
= false ;
25283 PyObject
* obj0
= 0 ;
25284 PyObject
* obj1
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "format", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25294 arg2
= wxString_in_helper(obj1
);
25295 if (arg2
== NULL
) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25327 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25330 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25332 return Py_BuildValue((char *)"");
25334 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 int arg1
= (int) 0 ;
25337 int arg2
= (int) 0 ;
25338 int arg3
= (int) 0 ;
25339 int arg4
= (int) 0 ;
25340 wxDateSpan
*result
;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 PyObject
* obj2
= 0 ;
25344 PyObject
* obj3
= 0 ;
25345 char *kwnames
[] = {
25346 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25352 arg1
= (int)(SWIG_As_int(obj0
));
25353 if (SWIG_arg_fail(1)) SWIG_fail
;
25358 arg2
= (int)(SWIG_As_int(obj1
));
25359 if (SWIG_arg_fail(2)) SWIG_fail
;
25364 arg3
= (int)(SWIG_As_int(obj2
));
25365 if (SWIG_arg_fail(3)) SWIG_fail
;
25370 arg4
= (int)(SWIG_As_int(obj3
));
25371 if (SWIG_arg_fail(4)) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25388 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
;
25390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 Py_INCREF(Py_None
); resultobj
= Py_None
;
25413 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25417 PyObject
* obj0
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "days", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25424 arg1
= (int)(SWIG_As_int(obj0
));
25425 if (SWIG_arg_fail(1)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= wxDateSpan::Days(arg1
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 wxDateSpan
* resultptr
;
25436 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25445 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25448 char *kwnames
[] = {
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= wxDateSpan::Day();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25461 wxDateSpan
* resultptr
;
25462 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25471 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25475 PyObject
* obj0
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "weeks", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25482 arg1
= (int)(SWIG_As_int(obj0
));
25483 if (SWIG_arg_fail(1)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 result
= wxDateSpan::Weeks(arg1
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25493 wxDateSpan
* resultptr
;
25494 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25503 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25506 char *kwnames
[] = {
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 result
= wxDateSpan::Week();
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25519 wxDateSpan
* resultptr
;
25520 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25529 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25533 PyObject
* obj0
= 0 ;
25534 char *kwnames
[] = {
25535 (char *) "mon", NULL
25538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25540 arg1
= (int)(SWIG_As_int(obj0
));
25541 if (SWIG_arg_fail(1)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= wxDateSpan::Months(arg1
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 wxDateSpan
* resultptr
;
25552 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25561 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25564 char *kwnames
[] = {
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= wxDateSpan::Month();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25577 wxDateSpan
* resultptr
;
25578 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25587 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25591 PyObject
* obj0
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "years", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25598 arg1
= (int)(SWIG_As_int(obj0
));
25599 if (SWIG_arg_fail(1)) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= wxDateSpan::Years(arg1
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25609 wxDateSpan
* resultptr
;
25610 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25619 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25622 char *kwnames
[] = {
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= wxDateSpan::Year();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 wxDateSpan
* resultptr
;
25636 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25645 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25649 wxDateSpan
*result
;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self",(char *) "n", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25658 if (SWIG_arg_fail(1)) SWIG_fail
;
25660 arg2
= (int)(SWIG_As_int(obj1
));
25661 if (SWIG_arg_fail(2)) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25667 result
= (wxDateSpan
*) &_result_ref
;
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25680 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25684 wxDateSpan
*result
;
25685 PyObject
* obj0
= 0 ;
25686 PyObject
* obj1
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self",(char *) "n", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25693 if (SWIG_arg_fail(1)) SWIG_fail
;
25695 arg2
= (int)(SWIG_As_int(obj1
));
25696 if (SWIG_arg_fail(2)) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25702 result
= (wxDateSpan
*) &_result_ref
;
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25715 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25719 wxDateSpan
*result
;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "n", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25728 if (SWIG_arg_fail(1)) SWIG_fail
;
25730 arg2
= (int)(SWIG_As_int(obj1
));
25731 if (SWIG_arg_fail(2)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25737 result
= (wxDateSpan
*) &_result_ref
;
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25750 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25754 wxDateSpan
*result
;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self",(char *) "n", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 arg2
= (int)(SWIG_As_int(obj1
));
25766 if (SWIG_arg_fail(2)) SWIG_fail
;
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25772 result
= (wxDateSpan
*) &_result_ref
;
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25785 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25789 PyObject
* obj0
= 0 ;
25790 char *kwnames
[] = {
25791 (char *) "self", NULL
25794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_From_int((int)(result
));
25813 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25817 PyObject
* obj0
= 0 ;
25818 char *kwnames
[] = {
25819 (char *) "self", NULL
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= SWIG_From_int((int)(result
));
25841 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25845 PyObject
* obj0
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(1)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_From_int((int)(result
));
25869 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25873 PyObject
* obj0
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25880 if (SWIG_arg_fail(1)) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_From_int((int)(result
));
25897 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25901 PyObject
* obj0
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_From_int((int)(result
));
25925 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25928 wxDateSpan
*arg2
= 0 ;
25929 wxDateSpan
*result
;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "other", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(1)) SWIG_fail
;
25940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25941 if (SWIG_arg_fail(2)) SWIG_fail
;
25942 if (arg2
== NULL
) {
25943 SWIG_null_ref("wxDateSpan");
25945 if (SWIG_arg_fail(2)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25951 result
= (wxDateSpan
*) &_result_ref
;
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25964 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
;
25966 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25967 wxDateSpan
*arg2
= 0 ;
25968 wxDateSpan
*result
;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "other", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25977 if (SWIG_arg_fail(1)) SWIG_fail
;
25979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(2)) SWIG_fail
;
25981 if (arg2
== NULL
) {
25982 SWIG_null_ref("wxDateSpan");
25984 if (SWIG_arg_fail(2)) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25990 result
= (wxDateSpan
*) &_result_ref
;
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26003 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26006 wxDateSpan
*result
;
26007 PyObject
* obj0
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26019 result
= (wxDateSpan
*) &_result_ref
;
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26032 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26036 wxDateSpan
*result
;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "factor", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26045 if (SWIG_arg_fail(1)) SWIG_fail
;
26047 arg2
= (int)(SWIG_As_int(obj1
));
26048 if (SWIG_arg_fail(2)) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26054 result
= (wxDateSpan
*) &_result_ref
;
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26067 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26070 wxDateSpan
*arg2
= 0 ;
26071 wxDateSpan
*result
;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "other", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26080 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26084 if (arg2
== NULL
) {
26085 SWIG_null_ref("wxDateSpan");
26087 if (SWIG_arg_fail(2)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26093 result
= (wxDateSpan
*) &_result_ref
;
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26106 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26109 wxDateSpan
*arg2
= 0 ;
26110 wxDateSpan
*result
;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "other", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26119 if (SWIG_arg_fail(1)) SWIG_fail
;
26121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26122 if (SWIG_arg_fail(2)) SWIG_fail
;
26123 if (arg2
== NULL
) {
26124 SWIG_null_ref("wxDateSpan");
26126 if (SWIG_arg_fail(2)) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26132 result
= (wxDateSpan
*) &_result_ref
;
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26145 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26148 wxDateSpan
*result
;
26149 PyObject
* obj0
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26156 if (SWIG_arg_fail(1)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26161 result
= (wxDateSpan
*) &_result_ref
;
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26174 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26178 wxDateSpan
*result
;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self",(char *) "factor", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26187 if (SWIG_arg_fail(1)) SWIG_fail
;
26189 arg2
= (int)(SWIG_As_int(obj1
));
26190 if (SWIG_arg_fail(2)) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26196 result
= (wxDateSpan
*) &_result_ref
;
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26209 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26212 wxDateSpan
*arg2
= 0 ;
26214 PyObject
* obj0
= 0 ;
26215 PyObject
* obj1
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "other", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26222 if (SWIG_arg_fail(1)) SWIG_fail
;
26224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(2)) SWIG_fail
;
26226 if (arg2
== NULL
) {
26227 SWIG_null_ref("wxDateSpan");
26229 if (SWIG_arg_fail(2)) SWIG_fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26239 wxDateSpan
* resultptr
;
26240 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26249 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26252 wxDateSpan
*arg2
= 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self",(char *) "other", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26265 if (SWIG_arg_fail(2)) SWIG_fail
;
26266 if (arg2
== NULL
) {
26267 SWIG_null_ref("wxDateSpan");
26269 if (SWIG_arg_fail(2)) SWIG_fail
;
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26279 wxDateSpan
* resultptr
;
26280 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26289 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "n", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26302 if (SWIG_arg_fail(1)) SWIG_fail
;
26304 arg2
= (int)(SWIG_As_int(obj1
));
26305 if (SWIG_arg_fail(2)) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 result
= wxDateSpan___mul__(arg1
,arg2
);
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26315 wxDateSpan
* resultptr
;
26316 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26325 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
;
26327 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self",(char *) "n", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26338 if (SWIG_arg_fail(1)) SWIG_fail
;
26340 arg2
= (int)(SWIG_As_int(obj1
));
26341 if (SWIG_arg_fail(2)) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= wxDateSpan___rmul__(arg1
,arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26351 wxDateSpan
* resultptr
;
26352 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26361 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26364 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "other", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26374 if (SWIG_arg_fail(1)) SWIG_fail
;
26375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(2)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26393 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26396 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "other", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail
;
26407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26408 if (SWIG_arg_fail(2)) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26425 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26428 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26430 return Py_BuildValue((char *)"");
26432 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26435 char *kwnames
[] = {
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= (long)wxGetLocalTime();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_From_long((long)(result
));
26456 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26459 char *kwnames
[] = {
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (long)wxGetUTCTime();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_From_long((long)(result
));
26480 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
;
26483 char *kwnames
[] = {
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (long)wxGetCurrentTime();
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_From_long((long)(result
));
26504 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26507 char *kwnames
[] = {
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= wxGetLocalTimeMillis();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26521 hi
= PyLong_FromLong( (&result
)->GetHi() );
26522 lo
= PyLong_FromLong( (&result
)->GetLo() );
26523 shifter
= PyLong_FromLong(32);
26524 shifted
= PyNumber_Lshift(hi
, shifter
);
26525 resultobj
= PyNumber_Or(shifted
, lo
);
26528 Py_DECREF(shifter
);
26529 Py_DECREF(shifted
);
26537 static int _wrap_DefaultDateTime_set(PyObject
*) {
26538 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26543 static PyObject
*_wrap_DefaultDateTime_get(void) {
26546 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26551 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26552 PyObject
*resultobj
;
26553 wxDataFormatId arg1
;
26554 wxDataFormat
*result
;
26555 PyObject
* obj0
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "type", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26562 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26563 if (SWIG_arg_fail(1)) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26579 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxString
*arg1
= 0 ;
26582 wxDataFormat
*result
;
26583 bool temp1
= false ;
26584 PyObject
* obj0
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "format", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26591 arg1
= wxString_in_helper(obj0
);
26592 if (arg1
== NULL
) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26617 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
;
26619 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26620 PyObject
* obj0
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 Py_INCREF(Py_None
); resultobj
= Py_None
;
26642 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26643 PyObject
*resultobj
;
26644 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26645 wxDataFormatId arg2
;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26650 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26652 if (SWIG_arg_fail(1)) SWIG_fail
;
26654 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26655 if (SWIG_arg_fail(2)) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26673 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26674 PyObject
*resultobj
;
26675 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26676 wxDataFormatId arg2
;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26681 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26683 if (SWIG_arg_fail(1)) SWIG_fail
;
26685 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26686 if (SWIG_arg_fail(2)) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26704 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26705 PyObject
*resultobj
;
26706 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26707 wxDataFormat
*arg2
= 0 ;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26712 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26714 if (SWIG_arg_fail(1)) SWIG_fail
;
26716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26717 if (SWIG_arg_fail(2)) SWIG_fail
;
26718 if (arg2
== NULL
) {
26719 SWIG_null_ref("wxDataFormat");
26721 if (SWIG_arg_fail(2)) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26739 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26744 argc
= PyObject_Length(args
);
26745 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26746 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26752 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26762 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26770 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26778 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26786 _v
= SWIG_Check_int(argv
[1]);
26788 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26793 Py_INCREF(Py_NotImplemented
);
26794 return Py_NotImplemented
;
26798 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26799 PyObject
*resultobj
;
26800 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26801 wxDataFormat
*arg2
= 0 ;
26803 PyObject
* obj0
= 0 ;
26804 PyObject
* obj1
= 0 ;
26806 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26811 if (SWIG_arg_fail(2)) SWIG_fail
;
26812 if (arg2
== NULL
) {
26813 SWIG_null_ref("wxDataFormat");
26815 if (SWIG_arg_fail(2)) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26833 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26838 argc
= PyObject_Length(args
);
26839 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26840 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26856 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26864 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26872 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26880 _v
= SWIG_Check_int(argv
[1]);
26882 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26887 Py_INCREF(Py_NotImplemented
);
26888 return Py_NotImplemented
;
26892 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26895 wxDataFormatId arg2
;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 char *kwnames
[] = {
26899 (char *) "self",(char *) "format", NULL
26902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26904 if (SWIG_arg_fail(1)) SWIG_fail
;
26906 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26907 if (SWIG_arg_fail(2)) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 (arg1
)->SetType((wxDataFormatId
)arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 Py_INCREF(Py_None
); resultobj
= Py_None
;
26923 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26926 wxDataFormatId result
;
26927 PyObject
* obj0
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26934 if (SWIG_arg_fail(1)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= SWIG_From_int((result
));
26949 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26953 PyObject
* obj0
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26960 if (SWIG_arg_fail(1)) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= ((wxDataFormat
const *)arg1
)->GetId();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26981 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26984 wxString
*arg2
= 0 ;
26985 bool temp2
= false ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self",(char *) "format", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail
;
26996 arg2
= wxString_in_helper(obj1
);
26997 if (arg2
== NULL
) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 (arg1
)->SetId((wxString
const &)*arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 Py_INCREF(Py_None
); resultobj
= Py_None
;
27022 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27025 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27027 return Py_BuildValue((char *)"");
27029 static int _wrap_FormatInvalid_set(PyObject
*) {
27030 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27035 static PyObject
*_wrap_FormatInvalid_get(void) {
27038 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27043 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27071 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27072 SwigValueWrapper
<wxDataFormat
> result
;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "dir", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail
;
27084 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27085 if (SWIG_arg_fail(2)) SWIG_fail
;
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 wxDataFormat
* resultptr
;
27097 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27106 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27109 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27111 PyObject
* obj0
= 0 ;
27112 PyObject
* obj1
= 0 ;
27113 char *kwnames
[] = {
27114 (char *) "self",(char *) "dir", NULL
27117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27119 if (SWIG_arg_fail(1)) SWIG_fail
;
27122 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27123 if (SWIG_arg_fail(2)) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27142 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27145 wxDataFormat
*arg2
= 0 ;
27146 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 PyObject
* obj2
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "format",(char *) "dir", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail
;
27159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27161 if (arg2
== NULL
) {
27162 SWIG_null_ref("wxDataFormat");
27164 if (SWIG_arg_fail(2)) SWIG_fail
;
27168 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27169 if (SWIG_arg_fail(3)) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27188 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27191 wxDataFormat
*arg2
= 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self",(char *) "format", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27201 if (SWIG_arg_fail(1)) SWIG_fail
;
27203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27204 if (SWIG_arg_fail(2)) SWIG_fail
;
27205 if (arg2
== NULL
) {
27206 SWIG_null_ref("wxDataFormat");
27208 if (SWIG_arg_fail(2)) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27226 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27229 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 char *kwnames
[] = {
27234 (char *) "self",(char *) "dir", NULL
27237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27239 if (SWIG_arg_fail(1)) SWIG_fail
;
27242 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27243 if (SWIG_arg_fail(2)) SWIG_fail
;
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= result
;
27260 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27263 wxDataFormat
*arg2
= 0 ;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "format", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(2)) SWIG_fail
;
27277 if (arg2
== NULL
) {
27278 SWIG_null_ref("wxDataFormat");
27280 if (SWIG_arg_fail(2)) SWIG_fail
;
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= result
;
27296 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27299 wxDataFormat
*arg2
= 0 ;
27300 PyObject
*arg3
= (PyObject
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 PyObject
* obj2
= 0 ;
27305 char *kwnames
[] = {
27306 (char *) "self",(char *) "format",(char *) "data", NULL
27309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27311 if (SWIG_arg_fail(1)) SWIG_fail
;
27313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27314 if (SWIG_arg_fail(2)) SWIG_fail
;
27315 if (arg2
== NULL
) {
27316 SWIG_null_ref("wxDataFormat");
27318 if (SWIG_arg_fail(2)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27337 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27340 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27342 return Py_BuildValue((char *)"");
27344 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
;
27346 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27347 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27348 wxDataObjectSimple
*result
;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "format", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27358 if (SWIG_arg_fail(1)) SWIG_fail
;
27359 if (arg1
== NULL
) {
27360 SWIG_null_ref("wxDataFormat");
27362 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27379 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27382 wxDataFormat
*result
;
27383 PyObject
* obj0
= 0 ;
27384 char *kwnames
[] = {
27385 (char *) "self", NULL
27388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27390 if (SWIG_arg_fail(1)) SWIG_fail
;
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27394 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27395 result
= (wxDataFormat
*) &_result_ref
;
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27408 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27411 wxDataFormat
*arg2
= 0 ;
27412 PyObject
* obj0
= 0 ;
27413 PyObject
* obj1
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self",(char *) "format", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27420 if (SWIG_arg_fail(1)) SWIG_fail
;
27422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27423 if (SWIG_arg_fail(2)) SWIG_fail
;
27424 if (arg2
== NULL
) {
27425 SWIG_null_ref("wxDataFormat");
27427 if (SWIG_arg_fail(2)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27471 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27475 PyObject
* obj0
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= result
;
27497 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27500 PyObject
*arg2
= (PyObject
*) 0 ;
27502 PyObject
* obj0
= 0 ;
27503 PyObject
* obj1
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self",(char *) "data", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27510 if (SWIG_arg_fail(1)) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27528 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27531 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27533 return Py_BuildValue((char *)"");
27535 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27538 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27539 wxPyDataObjectSimple
*result
;
27540 PyObject
* obj0
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "format", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27549 if (SWIG_arg_fail(1)) SWIG_fail
;
27550 if (arg1
== NULL
) {
27551 SWIG_null_ref("wxDataFormat");
27553 if (SWIG_arg_fail(1)) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27570 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27573 PyObject
*arg2
= (PyObject
*) 0 ;
27574 PyObject
*arg3
= (PyObject
*) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 PyObject
* obj2
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "self",(char *) "_class", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27604 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27606 return Py_BuildValue((char *)"");
27608 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
;
27610 wxDataObjectComposite
*result
;
27611 char *kwnames
[] = {
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27630 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27633 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27634 bool arg3
= (bool) false ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 PyObject
* obj2
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27646 if (SWIG_arg_fail(2)) SWIG_fail
;
27649 arg3
= (bool)(SWIG_As_bool(obj2
));
27650 if (SWIG_arg_fail(3)) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 (arg1
)->Add(arg2
,arg3
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 Py_INCREF(Py_None
); resultobj
= Py_None
;
27667 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27670 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27672 return Py_BuildValue((char *)"");
27674 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27677 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27678 wxTextDataObject
*result
;
27679 bool temp1
= false ;
27680 PyObject
* obj0
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "text", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27688 arg1
= wxString_in_helper(obj0
);
27689 if (arg1
== NULL
) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27715 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
;
27717 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27719 PyObject
* obj0
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27726 if (SWIG_arg_fail(1)) SWIG_fail
;
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 result
= (size_t)(arg1
)->GetTextLength();
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27735 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27743 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27747 PyObject
* obj0
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27754 if (SWIG_arg_fail(1)) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 result
= (arg1
)->GetText();
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27775 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27778 wxString
*arg2
= 0 ;
27779 bool temp2
= false ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self",(char *) "text", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27788 if (SWIG_arg_fail(1)) SWIG_fail
;
27790 arg2
= wxString_in_helper(obj1
);
27791 if (arg2
== NULL
) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 (arg1
)->SetText((wxString
const &)*arg2
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 Py_INCREF(Py_None
); resultobj
= Py_None
;
27816 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27819 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27821 return Py_BuildValue((char *)"");
27823 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
;
27825 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27826 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27827 wxPyTextDataObject
*result
;
27828 bool temp1
= false ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "text", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27837 arg1
= wxString_in_helper(obj0
);
27838 if (arg1
== NULL
) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27864 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27867 PyObject
*arg2
= (PyObject
*) 0 ;
27868 PyObject
*arg3
= (PyObject
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 PyObject
* obj2
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self",(char *) "self",(char *) "_class", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27878 if (SWIG_arg_fail(1)) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 Py_INCREF(Py_None
); resultobj
= Py_None
;
27895 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27898 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27900 return Py_BuildValue((char *)"");
27902 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27905 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27906 wxBitmapDataObject
*result
;
27907 PyObject
* obj0
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "bitmap", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27916 if (SWIG_arg_fail(1)) SWIG_fail
;
27917 if (arg1
== NULL
) {
27918 SWIG_null_ref("wxBitmap");
27920 if (SWIG_arg_fail(1)) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27937 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27948 if (SWIG_arg_fail(1)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 wxBitmap
* resultptr
;
27958 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27967 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27970 wxBitmap
*arg2
= 0 ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "bitmap", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail
;
27981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27982 if (SWIG_arg_fail(2)) SWIG_fail
;
27983 if (arg2
== NULL
) {
27984 SWIG_null_ref("wxBitmap");
27986 if (SWIG_arg_fail(2)) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28005 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28007 return Py_BuildValue((char *)"");
28009 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28012 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28013 wxPyBitmapDataObject
*result
;
28014 PyObject
* obj0
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "bitmap", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28023 if (SWIG_arg_fail(1)) SWIG_fail
;
28024 if (arg1
== NULL
) {
28025 SWIG_null_ref("wxBitmap");
28027 if (SWIG_arg_fail(1)) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28044 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28047 PyObject
*arg2
= (PyObject
*) 0 ;
28048 PyObject
*arg3
= (PyObject
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 PyObject
* obj2
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "self",(char *) "_class", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 Py_INCREF(Py_None
); resultobj
= Py_None
;
28075 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28078 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28080 return Py_BuildValue((char *)"");
28082 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxFileDataObject
*result
;
28085 char *kwnames
[] = {
28089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (wxFileDataObject
*)new wxFileDataObject();
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28104 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28107 wxArrayString
*result
;
28108 PyObject
* obj0
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28120 result
= (wxArrayString
*) &_result_ref
;
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= wxArrayString2PyList_helper(*result
);
28135 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
;
28137 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28138 wxString
*arg2
= 0 ;
28139 bool temp2
= false ;
28140 PyObject
* obj0
= 0 ;
28141 PyObject
* obj1
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "self",(char *) "filename", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28148 if (SWIG_arg_fail(1)) SWIG_fail
;
28150 arg2
= wxString_in_helper(obj1
);
28151 if (arg2
== NULL
) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 (arg1
)->AddFile((wxString
const &)*arg2
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 Py_INCREF(Py_None
); resultobj
= Py_None
;
28176 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28179 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28181 return Py_BuildValue((char *)"");
28183 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28184 PyObject
*resultobj
;
28185 wxDataFormat
*arg1
= 0 ;
28186 wxCustomDataObject
*result
;
28187 PyObject
* obj0
= 0 ;
28189 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28192 if (SWIG_arg_fail(1)) SWIG_fail
;
28193 if (arg1
== NULL
) {
28194 SWIG_null_ref("wxDataFormat");
28196 if (SWIG_arg_fail(1)) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28212 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28213 PyObject
*resultobj
;
28214 wxString
*arg1
= 0 ;
28215 wxCustomDataObject
*result
;
28216 bool temp1
= false ;
28217 PyObject
* obj0
= 0 ;
28219 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28221 arg1
= wxString_in_helper(obj0
);
28222 if (arg1
== NULL
) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28247 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28248 PyObject
*resultobj
;
28249 wxCustomDataObject
*result
;
28251 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28266 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28271 argc
= PyObject_Length(args
);
28272 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28273 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28276 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28281 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28284 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28291 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28299 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28303 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28308 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28311 PyObject
*arg2
= (PyObject
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self",(char *) "data", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28339 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (size_t)(arg1
)->GetSize();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28367 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28378 if (SWIG_arg_fail(1)) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= result
;
28393 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28396 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28398 return Py_BuildValue((char *)"");
28400 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28401 PyObject
*resultobj
;
28402 wxURLDataObject
*result
;
28403 char *kwnames
[] = {
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 result
= (wxURLDataObject
*)new wxURLDataObject();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28422 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28426 PyObject
* obj0
= 0 ;
28427 char *kwnames
[] = {
28428 (char *) "self", NULL
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28433 if (SWIG_arg_fail(1)) SWIG_fail
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= (arg1
)->GetURL();
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28454 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28457 wxString
*arg2
= 0 ;
28458 bool temp2
= false ;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "url", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28469 arg2
= wxString_in_helper(obj1
);
28470 if (arg2
== NULL
) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 (arg1
)->SetURL((wxString
const &)*arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 Py_INCREF(Py_None
); resultobj
= Py_None
;
28495 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28498 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28500 return Py_BuildValue((char *)"");
28502 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxMetafileDataObject
*result
;
28505 char *kwnames
[] = {
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28524 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28527 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28529 return Py_BuildValue((char *)"");
28531 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxDragResult arg1
;
28535 PyObject
* obj0
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "res", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28542 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28543 if (SWIG_arg_fail(1)) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28561 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxWindow
*arg1
= (wxWindow
*) 0 ;
28564 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28565 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28566 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28567 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28568 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28569 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28570 wxPyDropSource
*result
;
28571 PyObject
* obj0
= 0 ;
28572 PyObject
* obj1
= 0 ;
28573 PyObject
* obj2
= 0 ;
28574 PyObject
* obj3
= 0 ;
28575 char *kwnames
[] = {
28576 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28581 if (SWIG_arg_fail(1)) SWIG_fail
;
28584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28585 if (SWIG_arg_fail(2)) SWIG_fail
;
28586 if (arg2
== NULL
) {
28587 SWIG_null_ref("wxIcon");
28589 if (SWIG_arg_fail(2)) SWIG_fail
;
28594 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28595 if (SWIG_arg_fail(3)) SWIG_fail
;
28596 if (arg3
== NULL
) {
28597 SWIG_null_ref("wxIcon");
28599 if (SWIG_arg_fail(3)) SWIG_fail
;
28604 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28605 if (SWIG_arg_fail(4)) SWIG_fail
;
28606 if (arg4
== NULL
) {
28607 SWIG_null_ref("wxIcon");
28609 if (SWIG_arg_fail(4)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28626 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28629 PyObject
*arg2
= (PyObject
*) 0 ;
28630 PyObject
*arg3
= (PyObject
*) 0 ;
28632 PyObject
* obj0
= 0 ;
28633 PyObject
* obj1
= 0 ;
28634 PyObject
* obj2
= 0 ;
28635 PyObject
* obj3
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28642 if (SWIG_arg_fail(1)) SWIG_fail
;
28646 arg4
= (int)(SWIG_As_int(obj3
));
28647 if (SWIG_arg_fail(4)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28663 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
;
28665 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28666 PyObject
* obj0
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28673 if (SWIG_arg_fail(1)) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 Py_INCREF(Py_None
); resultobj
= Py_None
;
28688 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28689 PyObject
*resultobj
;
28690 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28691 wxDataObject
*arg2
= 0 ;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self",(char *) "data", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28700 if (SWIG_arg_fail(1)) SWIG_fail
;
28702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28703 if (SWIG_arg_fail(2)) SWIG_fail
;
28704 if (arg2
== NULL
) {
28705 SWIG_null_ref("wxDataObject");
28707 if (SWIG_arg_fail(2)) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 (arg1
)->SetData(*arg2
);
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 Py_INCREF(Py_None
); resultobj
= Py_None
;
28723 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28726 wxDataObject
*result
;
28727 PyObject
* obj0
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28734 if (SWIG_arg_fail(1)) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28749 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28752 wxDragResult arg2
;
28753 wxCursor
*arg3
= 0 ;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 PyObject
* obj2
= 0 ;
28757 char *kwnames
[] = {
28758 (char *) "self",(char *) "res",(char *) "cursor", NULL
28761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28763 if (SWIG_arg_fail(1)) SWIG_fail
;
28765 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28766 if (SWIG_arg_fail(2)) SWIG_fail
;
28769 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28770 if (SWIG_arg_fail(3)) SWIG_fail
;
28771 if (arg3
== NULL
) {
28772 SWIG_null_ref("wxCursor");
28774 if (SWIG_arg_fail(3)) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 Py_INCREF(Py_None
); resultobj
= Py_None
;
28790 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28793 int arg2
= (int) wxDrag_CopyOnly
;
28794 wxDragResult result
;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "flags", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail
;
28806 arg2
= (int)(SWIG_As_int(obj1
));
28807 if (SWIG_arg_fail(2)) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_From_int((result
));
28824 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28827 wxDragResult arg2
;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self",(char *) "effect", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28837 if (SWIG_arg_fail(1)) SWIG_fail
;
28839 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28840 if (SWIG_arg_fail(2)) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28858 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28861 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28863 return Py_BuildValue((char *)"");
28865 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28868 wxPyDropTarget
*result
;
28869 PyObject
* obj0
= 0 ;
28870 char *kwnames
[] = {
28871 (char *) "dataObject", NULL
28874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28877 if (SWIG_arg_fail(1)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28893 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28896 PyObject
*arg2
= (PyObject
*) 0 ;
28897 PyObject
*arg3
= (PyObject
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 PyObject
* obj2
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self",(char *) "self",(char *) "_class", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28907 if (SWIG_arg_fail(1)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28924 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28927 PyObject
* obj0
= 0 ;
28928 char *kwnames
[] = {
28929 (char *) "self", NULL
28932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28934 if (SWIG_arg_fail(1)) SWIG_fail
;
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 Py_INCREF(Py_None
); resultobj
= Py_None
;
28949 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28950 PyObject
*resultobj
;
28951 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28952 wxDataObject
*result
;
28953 PyObject
* obj0
= 0 ;
28954 char *kwnames
[] = {
28955 (char *) "self", NULL
28958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28960 if (SWIG_arg_fail(1)) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28975 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
;
28977 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28978 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28979 PyObject
* obj0
= 0 ;
28980 PyObject
* obj1
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "self",(char *) "dataObject", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28987 if (SWIG_arg_fail(1)) SWIG_fail
;
28988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28989 if (SWIG_arg_fail(2)) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 (arg1
)->SetDataObject(arg2
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 Py_INCREF(Py_None
); resultobj
= Py_None
;
29004 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29009 wxDragResult arg4
;
29010 wxDragResult result
;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 PyObject
* obj3
= 0 ;
29015 char *kwnames
[] = {
29016 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29021 if (SWIG_arg_fail(1)) SWIG_fail
;
29023 arg2
= (int)(SWIG_As_int(obj1
));
29024 if (SWIG_arg_fail(2)) SWIG_fail
;
29027 arg3
= (int)(SWIG_As_int(obj2
));
29028 if (SWIG_arg_fail(3)) SWIG_fail
;
29031 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29032 if (SWIG_arg_fail(4)) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= SWIG_From_int((result
));
29048 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29053 wxDragResult arg4
;
29054 wxDragResult result
;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 PyObject
* obj3
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29065 if (SWIG_arg_fail(1)) SWIG_fail
;
29067 arg2
= (int)(SWIG_As_int(obj1
));
29068 if (SWIG_arg_fail(2)) SWIG_fail
;
29071 arg3
= (int)(SWIG_As_int(obj2
));
29072 if (SWIG_arg_fail(3)) SWIG_fail
;
29075 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29076 if (SWIG_arg_fail(4)) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= SWIG_From_int((result
));
29092 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29095 PyObject
* obj0
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29102 if (SWIG_arg_fail(1)) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 (arg1
)->base_OnLeave();
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 Py_INCREF(Py_None
); resultobj
= Py_None
;
29117 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
;
29119 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 PyObject
* obj2
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "self",(char *) "x",(char *) "y", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29132 if (SWIG_arg_fail(1)) SWIG_fail
;
29134 arg2
= (int)(SWIG_As_int(obj1
));
29135 if (SWIG_arg_fail(2)) SWIG_fail
;
29138 arg3
= (int)(SWIG_As_int(obj2
));
29139 if (SWIG_arg_fail(3)) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29157 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
;
29159 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29161 PyObject
* obj0
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29168 if (SWIG_arg_fail(1)) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (bool)(arg1
)->GetData();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29185 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
;
29187 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29188 wxDragResult arg2
;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "action", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29197 if (SWIG_arg_fail(1)) SWIG_fail
;
29199 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29200 if (SWIG_arg_fail(2)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 Py_INCREF(Py_None
); resultobj
= Py_None
;
29216 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29219 wxDragResult result
;
29220 PyObject
* obj0
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29227 if (SWIG_arg_fail(1)) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= SWIG_From_int((result
));
29242 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29245 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29247 return Py_BuildValue((char *)"");
29249 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
;
29251 wxPyTextDropTarget
*result
;
29252 char *kwnames
[] = {
29256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29271 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29274 PyObject
*arg2
= (PyObject
*) 0 ;
29275 PyObject
*arg3
= (PyObject
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 PyObject
* obj2
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self",(char *) "self",(char *) "_class", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29285 if (SWIG_arg_fail(1)) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29302 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29307 wxDragResult arg4
;
29308 wxDragResult result
;
29309 PyObject
* obj0
= 0 ;
29310 PyObject
* obj1
= 0 ;
29311 PyObject
* obj2
= 0 ;
29312 PyObject
* obj3
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29319 if (SWIG_arg_fail(1)) SWIG_fail
;
29321 arg2
= (int)(SWIG_As_int(obj1
));
29322 if (SWIG_arg_fail(2)) SWIG_fail
;
29325 arg3
= (int)(SWIG_As_int(obj2
));
29326 if (SWIG_arg_fail(3)) SWIG_fail
;
29329 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29330 if (SWIG_arg_fail(4)) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= SWIG_From_int((result
));
29346 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29347 PyObject
*resultobj
;
29348 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29351 wxDragResult arg4
;
29352 wxDragResult result
;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 PyObject
* obj2
= 0 ;
29356 PyObject
* obj3
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29363 if (SWIG_arg_fail(1)) SWIG_fail
;
29365 arg2
= (int)(SWIG_As_int(obj1
));
29366 if (SWIG_arg_fail(2)) SWIG_fail
;
29369 arg3
= (int)(SWIG_As_int(obj2
));
29370 if (SWIG_arg_fail(3)) SWIG_fail
;
29373 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29374 if (SWIG_arg_fail(4)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_From_int((result
));
29390 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self", NULL
29398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29400 if (SWIG_arg_fail(1)) SWIG_fail
;
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 (arg1
)->base_OnLeave();
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 Py_INCREF(Py_None
); resultobj
= Py_None
;
29415 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
;
29417 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 PyObject
* obj2
= 0 ;
29424 char *kwnames
[] = {
29425 (char *) "self",(char *) "x",(char *) "y", NULL
29428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29430 if (SWIG_arg_fail(1)) SWIG_fail
;
29432 arg2
= (int)(SWIG_As_int(obj1
));
29433 if (SWIG_arg_fail(2)) SWIG_fail
;
29436 arg3
= (int)(SWIG_As_int(obj2
));
29437 if (SWIG_arg_fail(3)) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29455 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29460 wxDragResult arg4
;
29461 wxDragResult result
;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 PyObject
* obj2
= 0 ;
29465 PyObject
* obj3
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29474 arg2
= (int)(SWIG_As_int(obj1
));
29475 if (SWIG_arg_fail(2)) SWIG_fail
;
29478 arg3
= (int)(SWIG_As_int(obj2
));
29479 if (SWIG_arg_fail(3)) SWIG_fail
;
29482 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29483 if (SWIG_arg_fail(4)) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_From_int((result
));
29499 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29502 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29504 return Py_BuildValue((char *)"");
29506 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxPyFileDropTarget
*result
;
29509 char *kwnames
[] = {
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29528 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
;
29530 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29531 PyObject
*arg2
= (PyObject
*) 0 ;
29532 PyObject
*arg3
= (PyObject
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 PyObject
* obj2
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "self",(char *) "_class", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail
;
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 Py_INCREF(Py_None
); resultobj
= Py_None
;
29559 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29564 wxDragResult arg4
;
29565 wxDragResult result
;
29566 PyObject
* obj0
= 0 ;
29567 PyObject
* obj1
= 0 ;
29568 PyObject
* obj2
= 0 ;
29569 PyObject
* obj3
= 0 ;
29570 char *kwnames
[] = {
29571 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29576 if (SWIG_arg_fail(1)) SWIG_fail
;
29578 arg2
= (int)(SWIG_As_int(obj1
));
29579 if (SWIG_arg_fail(2)) SWIG_fail
;
29582 arg3
= (int)(SWIG_As_int(obj2
));
29583 if (SWIG_arg_fail(3)) SWIG_fail
;
29586 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29587 if (SWIG_arg_fail(4)) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_From_int((result
));
29603 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29608 wxDragResult arg4
;
29609 wxDragResult result
;
29610 PyObject
* obj0
= 0 ;
29611 PyObject
* obj1
= 0 ;
29612 PyObject
* obj2
= 0 ;
29613 PyObject
* obj3
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29620 if (SWIG_arg_fail(1)) SWIG_fail
;
29622 arg2
= (int)(SWIG_As_int(obj1
));
29623 if (SWIG_arg_fail(2)) SWIG_fail
;
29626 arg3
= (int)(SWIG_As_int(obj2
));
29627 if (SWIG_arg_fail(3)) SWIG_fail
;
29630 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29631 if (SWIG_arg_fail(4)) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_From_int((result
));
29647 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29650 PyObject
* obj0
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29657 if (SWIG_arg_fail(1)) SWIG_fail
;
29659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 (arg1
)->base_OnLeave();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 Py_INCREF(Py_None
); resultobj
= Py_None
;
29672 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
;
29674 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 PyObject
* obj2
= 0 ;
29681 char *kwnames
[] = {
29682 (char *) "self",(char *) "x",(char *) "y", NULL
29685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29687 if (SWIG_arg_fail(1)) SWIG_fail
;
29689 arg2
= (int)(SWIG_As_int(obj1
));
29690 if (SWIG_arg_fail(2)) SWIG_fail
;
29693 arg3
= (int)(SWIG_As_int(obj2
));
29694 if (SWIG_arg_fail(3)) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29712 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
;
29714 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29717 wxDragResult arg4
;
29718 wxDragResult result
;
29719 PyObject
* obj0
= 0 ;
29720 PyObject
* obj1
= 0 ;
29721 PyObject
* obj2
= 0 ;
29722 PyObject
* obj3
= 0 ;
29723 char *kwnames
[] = {
29724 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29729 if (SWIG_arg_fail(1)) SWIG_fail
;
29731 arg2
= (int)(SWIG_As_int(obj1
));
29732 if (SWIG_arg_fail(2)) SWIG_fail
;
29735 arg3
= (int)(SWIG_As_int(obj2
));
29736 if (SWIG_arg_fail(3)) SWIG_fail
;
29739 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29740 if (SWIG_arg_fail(4)) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_From_int((result
));
29756 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29759 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29761 return Py_BuildValue((char *)"");
29763 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxClipboard
*result
;
29766 char *kwnames
[] = {
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (wxClipboard
*)new wxClipboard();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29785 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
;
29787 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29788 PyObject
* obj0
= 0 ;
29789 char *kwnames
[] = {
29790 (char *) "self", NULL
29793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(1)) SWIG_fail
;
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29803 Py_INCREF(Py_None
); resultobj
= Py_None
;
29810 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 char *kwnames
[] = {
29816 (char *) "self", NULL
29819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29821 if (SWIG_arg_fail(1)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (bool)(arg1
)->Open();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29838 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 Py_INCREF(Py_None
); resultobj
= Py_None
;
29863 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
;
29865 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29867 PyObject
* obj0
= 0 ;
29868 char *kwnames
[] = {
29869 (char *) "self", NULL
29872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29874 if (SWIG_arg_fail(1)) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29891 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29894 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29896 PyObject
* obj0
= 0 ;
29897 PyObject
* obj1
= 0 ;
29898 char *kwnames
[] = {
29899 (char *) "self",(char *) "data", NULL
29902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail
;
29905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29906 if (SWIG_arg_fail(2)) SWIG_fail
;
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 result
= (bool)(arg1
)->AddData(arg2
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29923 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
;
29925 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29926 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 PyObject
* obj1
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self",(char *) "data", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29936 if (SWIG_arg_fail(1)) SWIG_fail
;
29937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29938 if (SWIG_arg_fail(2)) SWIG_fail
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= (bool)(arg1
)->SetData(arg2
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29955 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
;
29957 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29958 wxDataFormat
*arg2
= 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 char *kwnames
[] = {
29963 (char *) "self",(char *) "format", NULL
29966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29968 if (SWIG_arg_fail(1)) SWIG_fail
;
29970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29971 if (SWIG_arg_fail(2)) SWIG_fail
;
29972 if (arg2
== NULL
) {
29973 SWIG_null_ref("wxDataFormat");
29975 if (SWIG_arg_fail(2)) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29993 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29996 wxDataObject
*arg2
= 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 char *kwnames
[] = {
30001 (char *) "self",(char *) "data", NULL
30004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30006 if (SWIG_arg_fail(1)) SWIG_fail
;
30008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30009 if (SWIG_arg_fail(2)) SWIG_fail
;
30010 if (arg2
== NULL
) {
30011 SWIG_null_ref("wxDataObject");
30013 if (SWIG_arg_fail(2)) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (bool)(arg1
)->GetData(*arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30031 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30034 PyObject
* obj0
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30041 if (SWIG_arg_fail(1)) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 Py_INCREF(Py_None
); resultobj
= Py_None
;
30056 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30060 PyObject
* obj0
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30067 if (SWIG_arg_fail(1)) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (bool)(arg1
)->Flush();
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30084 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30087 bool arg2
= (bool) true ;
30088 PyObject
* obj0
= 0 ;
30089 PyObject
* obj1
= 0 ;
30090 char *kwnames
[] = {
30091 (char *) "self",(char *) "primary", NULL
30094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30096 if (SWIG_arg_fail(1)) SWIG_fail
;
30099 arg2
= (bool)(SWIG_As_bool(obj1
));
30100 if (SWIG_arg_fail(2)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 (arg1
)->UsePrimarySelection(arg2
);
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 Py_INCREF(Py_None
); resultobj
= Py_None
;
30117 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
;
30119 wxClipboard
*result
;
30120 char *kwnames
[] = {
30124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (wxClipboard
*)wxClipboard::Get();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30139 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30142 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30144 return Py_BuildValue((char *)"");
30146 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30149 wxClipboardLocker
*result
;
30150 PyObject
* obj0
= 0 ;
30151 char *kwnames
[] = {
30152 (char *) "clipboard", NULL
30155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30158 if (SWIG_arg_fail(1)) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30174 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 char *kwnames
[] = {
30179 (char *) "self", NULL
30182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30184 if (SWIG_arg_fail(1)) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 Py_INCREF(Py_None
); resultobj
= Py_None
;
30199 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30203 PyObject
* obj0
= 0 ;
30204 char *kwnames
[] = {
30205 (char *) "self", NULL
30208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30210 if (SWIG_arg_fail(1)) SWIG_fail
;
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30227 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30230 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30232 return Py_BuildValue((char *)"");
30234 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 int arg1
= (int) 0 ;
30237 int arg2
= (int) 0 ;
30238 int arg3
= (int) 0 ;
30239 int arg4
= (int) 0 ;
30240 wxVideoMode
*result
;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 PyObject
* obj2
= 0 ;
30244 PyObject
* obj3
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30252 arg1
= (int)(SWIG_As_int(obj0
));
30253 if (SWIG_arg_fail(1)) SWIG_fail
;
30258 arg2
= (int)(SWIG_As_int(obj1
));
30259 if (SWIG_arg_fail(2)) SWIG_fail
;
30264 arg3
= (int)(SWIG_As_int(obj2
));
30265 if (SWIG_arg_fail(3)) SWIG_fail
;
30270 arg4
= (int)(SWIG_As_int(obj3
));
30271 if (SWIG_arg_fail(4)) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30288 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30298 if (SWIG_arg_fail(1)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 Py_INCREF(Py_None
); resultobj
= Py_None
;
30313 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30316 wxVideoMode
*arg2
= 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self",(char *) "other", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30326 if (SWIG_arg_fail(1)) SWIG_fail
;
30328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30329 if (SWIG_arg_fail(2)) SWIG_fail
;
30330 if (arg2
== NULL
) {
30331 SWIG_null_ref("wxVideoMode");
30333 if (SWIG_arg_fail(2)) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30351 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30352 PyObject
*resultobj
;
30353 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30355 PyObject
* obj0
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30362 if (SWIG_arg_fail(1)) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= SWIG_From_int((int)(result
));
30379 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30381 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30383 PyObject
* obj0
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_From_int((int)(result
));
30407 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
;
30409 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30411 PyObject
* obj0
= 0 ;
30412 char *kwnames
[] = {
30413 (char *) "self", NULL
30416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30418 if (SWIG_arg_fail(1)) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30427 resultobj
= SWIG_From_int((int)(result
));
30435 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30439 PyObject
* obj0
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30449 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30463 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30466 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30468 PyObject
* obj0
= 0 ;
30469 PyObject
* obj1
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self",(char *) "other", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30476 if (SWIG_arg_fail(1)) SWIG_fail
;
30477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30478 if (SWIG_arg_fail(2)) SWIG_fail
;
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30495 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30498 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self",(char *) "other", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30508 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30527 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30529 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "self",(char *) "w", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30539 if (SWIG_arg_fail(1)) SWIG_fail
;
30541 arg2
= (int)(SWIG_As_int(obj1
));
30542 if (SWIG_arg_fail(2)) SWIG_fail
;
30544 if (arg1
) (arg1
)->w
= arg2
;
30546 Py_INCREF(Py_None
); resultobj
= Py_None
;
30553 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 char *kwnames
[] = {
30559 (char *) "self", NULL
30562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30564 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 result
= (int) ((arg1
)->w
);
30568 resultobj
= SWIG_From_int((int)(result
));
30576 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "h", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail
;
30590 arg2
= (int)(SWIG_As_int(obj1
));
30591 if (SWIG_arg_fail(2)) SWIG_fail
;
30593 if (arg1
) (arg1
)->h
= arg2
;
30595 Py_INCREF(Py_None
); resultobj
= Py_None
;
30602 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "self", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(1)) SWIG_fail
;
30614 result
= (int) ((arg1
)->h
);
30617 resultobj
= SWIG_From_int((int)(result
));
30625 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
;
30627 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self",(char *) "bpp", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail
;
30639 arg2
= (int)(SWIG_As_int(obj1
));
30640 if (SWIG_arg_fail(2)) SWIG_fail
;
30642 if (arg1
) (arg1
)->bpp
= arg2
;
30644 Py_INCREF(Py_None
); resultobj
= Py_None
;
30651 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30663 result
= (int) ((arg1
)->bpp
);
30666 resultobj
= SWIG_From_int((int)(result
));
30674 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
;
30676 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self",(char *) "refresh", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail
;
30688 arg2
= (int)(SWIG_As_int(obj1
));
30689 if (SWIG_arg_fail(2)) SWIG_fail
;
30691 if (arg1
) (arg1
)->refresh
= arg2
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30704 PyObject
* obj0
= 0 ;
30705 char *kwnames
[] = {
30706 (char *) "self", NULL
30709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail
;
30712 result
= (int) ((arg1
)->refresh
);
30715 resultobj
= SWIG_From_int((int)(result
));
30723 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30726 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30728 return Py_BuildValue((char *)"");
30730 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30731 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30736 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30739 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30744 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 size_t arg1
= (size_t) 0 ;
30748 PyObject
* obj0
= 0 ;
30749 char *kwnames
[] = {
30750 (char *) "index", NULL
30753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30756 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30757 if (SWIG_arg_fail(1)) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (wxDisplay
*)new wxDisplay(arg1
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30774 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 char *kwnames
[] = {
30779 (char *) "self", NULL
30782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30784 if (SWIG_arg_fail(1)) SWIG_fail
;
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 Py_INCREF(Py_None
); resultobj
= Py_None
;
30799 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30802 char *kwnames
[] = {
30806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (size_t)wxDisplay::GetCount();
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30815 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30823 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30824 PyObject
*resultobj
;
30825 wxPoint
*arg1
= 0 ;
30828 PyObject
* obj0
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "pt", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30836 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= SWIG_From_int((int)(result
));
30854 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
;
30856 wxWindow
*arg1
= (wxWindow
*) 0 ;
30858 PyObject
* obj0
= 0 ;
30859 char *kwnames
[] = {
30860 (char *) "window", NULL
30863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30865 if (SWIG_arg_fail(1)) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= (int)Display_GetFromWindow(arg1
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= SWIG_From_int((int)(result
));
30882 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
;
30884 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30886 PyObject
* obj0
= 0 ;
30887 char *kwnames
[] = {
30888 (char *) "self", NULL
30891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30893 if (SWIG_arg_fail(1)) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30910 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30914 PyObject
* obj0
= 0 ;
30915 char *kwnames
[] = {
30916 (char *) "self", NULL
30919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30921 if (SWIG_arg_fail(1)) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30930 wxRect
* resultptr
;
30931 resultptr
= new wxRect((wxRect
&)(result
));
30932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30940 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30941 PyObject
*resultobj
;
30942 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30944 PyObject
* obj0
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "self", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30951 if (SWIG_arg_fail(1)) SWIG_fail
;
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= ((wxDisplay
const *)arg1
)->GetName();
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30972 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
;
30974 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30976 PyObject
* obj0
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31000 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
;
31002 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31003 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31004 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 char *kwnames
[] = {
31009 (char *) "self",(char *) "mode", NULL
31012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31014 if (SWIG_arg_fail(1)) SWIG_fail
;
31017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31018 if (SWIG_arg_fail(2)) SWIG_fail
;
31019 if (arg2
== NULL
) {
31020 SWIG_null_ref("wxVideoMode");
31022 if (SWIG_arg_fail(2)) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= result
;
31039 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31042 wxVideoMode result
;
31043 PyObject
* obj0
= 0 ;
31044 char *kwnames
[] = {
31045 (char *) "self", NULL
31048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31050 if (SWIG_arg_fail(1)) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31059 wxVideoMode
* resultptr
;
31060 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31069 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
;
31071 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31072 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31073 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self",(char *) "mode", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail
;
31086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31087 if (SWIG_arg_fail(2)) SWIG_fail
;
31088 if (arg2
== NULL
) {
31089 SWIG_null_ref("wxVideoMode");
31091 if (SWIG_arg_fail(2)) SWIG_fail
;
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31110 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
;
31112 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31113 PyObject
* obj0
= 0 ;
31114 char *kwnames
[] = {
31115 (char *) "self", NULL
31118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31120 if (SWIG_arg_fail(1)) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 (arg1
)->ResetMode();
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 Py_INCREF(Py_None
); resultobj
= Py_None
;
31135 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31138 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31140 return Py_BuildValue((char *)"");
31142 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
;
31144 wxStandardPaths
*result
;
31145 char *kwnames
[] = {
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 result
= (wxStandardPaths
*)StandardPaths_Get();
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31164 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31168 PyObject
* obj0
= 0 ;
31169 char *kwnames
[] = {
31170 (char *) "self", NULL
31173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31175 if (SWIG_arg_fail(1)) SWIG_fail
;
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31196 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 char *kwnames
[] = {
31202 (char *) "self", NULL
31205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31207 if (SWIG_arg_fail(1)) SWIG_fail
;
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31228 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31232 PyObject
* obj0
= 0 ;
31233 char *kwnames
[] = {
31234 (char *) "self", NULL
31237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31239 if (SWIG_arg_fail(1)) SWIG_fail
;
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31260 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31264 PyObject
* obj0
= 0 ;
31265 char *kwnames
[] = {
31266 (char *) "self", NULL
31269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31271 if (SWIG_arg_fail(1)) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31292 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31293 PyObject
*resultobj
;
31294 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31296 PyObject
* obj0
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31303 if (SWIG_arg_fail(1)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31324 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31325 PyObject
*resultobj
;
31326 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31328 PyObject
* obj0
= 0 ;
31329 char *kwnames
[] = {
31330 (char *) "self", NULL
31333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31335 if (SWIG_arg_fail(1)) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31356 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
;
31358 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "self", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31367 if (SWIG_arg_fail(1)) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31388 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
;
31390 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31391 wxString
*arg2
= 0 ;
31392 bool temp2
= false ;
31393 PyObject
* obj0
= 0 ;
31394 PyObject
* obj1
= 0 ;
31395 char *kwnames
[] = {
31396 (char *) "self",(char *) "prefix", NULL
31399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31401 if (SWIG_arg_fail(1)) SWIG_fail
;
31403 arg2
= wxString_in_helper(obj1
);
31404 if (arg2
== NULL
) SWIG_fail
;
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 Py_INCREF(Py_None
); resultobj
= Py_None
;
31429 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
;
31431 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31433 PyObject
* obj0
= 0 ;
31434 char *kwnames
[] = {
31435 (char *) "self", NULL
31438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31440 if (SWIG_arg_fail(1)) SWIG_fail
;
31442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31443 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31461 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31464 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31466 return Py_BuildValue((char *)"");
31468 static PyMethodDef SwigMethods
[] = {
31469 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31476 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31484 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31549 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31557 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31575 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31578 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31581 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31584 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31590 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31604 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31610 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31616 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31619 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31633 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31636 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31637 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31640 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31667 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31671 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31680 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31700 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31704 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31707 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31732 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31779 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31807 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31823 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31839 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31853 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31863 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31909 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31912 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32009 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32010 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32011 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32012 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32029 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32074 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32116 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32117 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32131 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32144 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32149 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32152 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32156 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32163 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32164 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32168 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32172 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32174 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32184 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32197 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32205 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32213 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32227 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32249 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32274 { NULL
, NULL
, 0, NULL
}
32278 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32280 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32283 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32284 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32286 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32287 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32289 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32290 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32292 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32293 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32295 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32296 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32298 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32299 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32301 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32302 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32304 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32307 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32308 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32310 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32313 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32314 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32316 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32317 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32319 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32322 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32323 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32325 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32326 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32328 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32329 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32331 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32332 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32334 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32335 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32337 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32338 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32340 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32341 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32343 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32344 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32346 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32347 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32349 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32352 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32353 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32355 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32356 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32358 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32359 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32361 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32362 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32364 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32365 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32367 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32368 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32370 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32373 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32374 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32376 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32377 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32379 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32380 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32382 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32383 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32385 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32386 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32388 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32389 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32391 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32392 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32394 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32395 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32397 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32398 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32400 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32401 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32403 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32404 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32406 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32407 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32409 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32410 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32412 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32413 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32415 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32416 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32418 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32419 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32421 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32422 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32424 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32425 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32427 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32428 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32430 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32431 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32433 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32434 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32436 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32437 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32439 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32440 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32442 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32443 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32445 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32446 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32448 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32449 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32451 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32452 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32454 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32455 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32457 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32458 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32460 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32461 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32463 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32464 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32466 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32467 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32469 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32470 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32472 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32473 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32475 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32478 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32479 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32481 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32482 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32484 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32485 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32487 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32488 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32490 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32491 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32493 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32494 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32496 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32497 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32499 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32500 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32502 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32505 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32508 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32511 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32514 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32517 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32520 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32523 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) ((wxSizer
*) x
));
32526 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32529 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32532 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32535 static void *_p_wxEventTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) ((wxEvent
*) x
));
32538 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32541 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32544 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32547 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32550 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32553 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32556 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32559 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32562 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32565 static void *_p_wxControlTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32568 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32571 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32574 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32577 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32580 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32583 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32586 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32589 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32592 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32595 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32598 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32601 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32604 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32607 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32610 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32613 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32616 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32619 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32622 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32625 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32628 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32631 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32634 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32637 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32640 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32643 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32646 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32649 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32652 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32655 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32658 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32661 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32664 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32667 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32670 static void *_p_wxImageTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) ((wxImage
*) x
));
32673 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32676 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32679 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32682 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32685 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32688 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32691 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32694 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32697 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32700 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32703 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32706 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32709 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32712 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32715 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32718 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32721 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32724 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32727 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32730 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32733 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32736 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32739 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32742 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32745 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32748 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32751 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32754 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32757 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32758 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32760 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32761 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32763 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32764 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32766 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32767 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32769 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32770 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32772 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32773 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32775 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32776 return (void *)((wxWindow
*) ((wxControl
*) x
));
32778 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32779 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32781 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32782 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32784 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32785 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32787 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32788 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32790 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}};
32791 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}};
32792 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}};
32793 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}};
32794 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}};
32795 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}};
32796 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}};
32797 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}};
32798 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}};
32799 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}};
32800 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}};
32801 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}};
32802 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}};
32803 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}};
32804 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}};
32805 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}};
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32887 static swig_type_info
*swig_types_initial
[] = {
32888 _swigt__p_wxLogChain
,
32889 _swigt__p_wxMutexGuiLocker
,
32890 _swigt__p_wxFileHistory
,
32894 _swigt__p_wxDateTime__TimeZone
,
32895 _swigt__p_wxConfigBase
,
32896 _swigt__p_wxDisplay
,
32897 _swigt__p_wxFileType
,
32898 _swigt__p_wxLogGui
,
32900 _swigt__p_wxDataFormat
,
32901 _swigt__p_wxTimerEvent
,
32904 _swigt__std__ptrdiff_t
,
32907 _swigt__p_wxClipboard
,
32908 _swigt__p_wxStopWatch
,
32910 _swigt__p_wxClipboardLocker
,
32912 _swigt__p_wxLogStderr
,
32913 _swigt__p_wxLogTextCtrl
,
32914 _swigt__p_wxTextCtrl
,
32915 _swigt__p_wxBusyCursor
,
32916 _swigt__p_wxBitmapDataObject
,
32917 _swigt__p_wxTextDataObject
,
32918 _swigt__p_wxDataObject
,
32919 _swigt__p_wxPyTextDataObject
,
32920 _swigt__p_wxPyBitmapDataObject
,
32921 _swigt__p_wxFileDataObject
,
32922 _swigt__p_wxCustomDataObject
,
32923 _swigt__p_wxURLDataObject
,
32924 _swigt__p_wxMetafileDataObject
,
32926 _swigt__p_wxTimerRunner
,
32927 _swigt__p_wxLogWindow
,
32928 _swigt__p_wxTimeSpan
,
32929 _swigt__p_wxArrayString
,
32930 _swigt__p_wxWindowDisabler
,
32931 _swigt__p_form_ops_t
,
32932 _swigt__p_wxToolTip
,
32933 _swigt__p_wxDataObjectComposite
,
32934 _swigt__p_wxSystemSettings
,
32935 _swigt__p_wxFileConfig
,
32936 _swigt__p_wxVideoMode
,
32937 _swigt__p_wxDataObjectSimple
,
32938 _swigt__p_wxPyDataObjectSimple
,
32939 _swigt__p_wxDuplexMode
,
32940 _swigt__p_wxEvtHandler
,
32943 _swigt__p_wxSingleInstanceChecker
,
32944 _swigt__p_wxStandardPaths
,
32945 _swigt__p_wxFileTypeInfo
,
32948 _swigt__p_wxPaperSize
,
32949 _swigt__p_wxMimeTypesManager
,
32950 _swigt__p_wxPyArtProvider
,
32951 _swigt__p_wxPyTipProvider
,
32952 _swigt__p_wxTipProvider
,
32953 _swigt__p_wxJoystick
,
32954 _swigt__p_wxSystemOptions
,
32956 _swigt__p_wxJoystickEvent
,
32957 _swigt__p_wxCursor
,
32958 _swigt__p_wxObject
,
32959 _swigt__p_wxOutputStream
,
32960 _swigt__p_wxDateTime
,
32961 _swigt__p_wxPyDropSource
,
32962 _swigt__p_unsigned_long
,
32963 _swigt__p_wxKillError
,
32964 _swigt__p_wxWindow
,
32965 _swigt__p_wxString
,
32966 _swigt__p_wxPyProcess
,
32967 _swigt__p_wxBitmap
,
32968 _swigt__p_wxConfig
,
32969 _swigt__unsigned_int
,
32970 _swigt__p_unsigned_int
,
32971 _swigt__p_unsigned_char
,
32973 _swigt__p_wxBusyInfo
,
32974 _swigt__p_wxPyDropTarget
,
32975 _swigt__p_wxPyTextDropTarget
,
32976 _swigt__p_wxPyFileDropTarget
,
32977 _swigt__p_wxProcessEvent
,
32979 _swigt__p_wxLogNull
,
32980 _swigt__p_wxColour
,
32981 _swigt__p_wxPyTimer
,
32982 _swigt__p_wxConfigPathChanger
,
32983 _swigt__p_wxDateSpan
,
32988 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32990 static swig_const_info swig_const_table
[] = {
32991 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32992 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32993 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32994 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32995 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32996 {0, 0, 0, 0.0, 0, 0}};
33007 /* Python-specific SWIG API */
33008 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33009 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33010 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33012 /* -----------------------------------------------------------------------------
33013 * global variable support code.
33014 * ----------------------------------------------------------------------------- */
33016 typedef struct swig_globalvar
{
33017 char *name
; /* Name of global variable */
33018 PyObject
*(*get_attr
)(); /* Return the current value */
33019 int (*set_attr
)(PyObject
*); /* Set the value */
33020 struct swig_globalvar
*next
;
33023 typedef struct swig_varlinkobject
{
33025 swig_globalvar
*vars
;
33026 } swig_varlinkobject
;
33029 swig_varlink_repr(swig_varlinkobject
*v
) {
33031 return PyString_FromString("<Swig global variables>");
33035 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33036 swig_globalvar
*var
;
33038 fprintf(fp
,"Swig global variables { ");
33039 for (var
= v
->vars
; var
; var
=var
->next
) {
33040 fprintf(fp
,"%s", var
->name
);
33041 if (var
->next
) fprintf(fp
,", ");
33043 fprintf(fp
," }\n");
33048 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33049 swig_globalvar
*var
= v
->vars
;
33051 if (strcmp(var
->name
,n
) == 0) {
33052 return (*var
->get_attr
)();
33056 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33061 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33062 swig_globalvar
*var
= v
->vars
;
33064 if (strcmp(var
->name
,n
) == 0) {
33065 return (*var
->set_attr
)(p
);
33069 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33073 static PyTypeObject varlinktype
= {
33074 PyObject_HEAD_INIT(0)
33075 0, /* Number of items in variable part (ob_size) */
33076 (char *)"swigvarlink", /* Type name (tp_name) */
33077 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33078 0, /* Itemsize (tp_itemsize) */
33079 0, /* Deallocator (tp_dealloc) */
33080 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33081 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33082 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33083 0, /* tp_compare */
33084 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33085 0, /* tp_as_number */
33086 0, /* tp_as_sequence */
33087 0, /* tp_as_mapping */
33091 0, /* tp_getattro */
33092 0, /* tp_setattro */
33093 0, /* tp_as_buffer */
33096 #if PY_VERSION_HEX >= 0x02000000
33097 0, /* tp_traverse */
33100 #if PY_VERSION_HEX >= 0x02010000
33101 0, /* tp_richcompare */
33102 0, /* tp_weaklistoffset */
33104 #if PY_VERSION_HEX >= 0x02020000
33105 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33107 #if PY_VERSION_HEX >= 0x02030000
33110 #ifdef COUNT_ALLOCS
33111 0,0,0,0 /* tp_alloc -> tp_next */
33115 /* Create a variable linking object for use later */
33117 SWIG_Python_newvarlink(void) {
33118 swig_varlinkobject
*result
= 0;
33119 result
= PyMem_NEW(swig_varlinkobject
,1);
33120 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33121 result
->ob_type
= &varlinktype
;
33123 result
->ob_refcnt
= 0;
33124 Py_XINCREF((PyObject
*) result
);
33125 return ((PyObject
*) result
);
33129 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33130 swig_varlinkobject
*v
;
33131 swig_globalvar
*gv
;
33132 v
= (swig_varlinkobject
*) p
;
33133 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33134 gv
->name
= (char *) malloc(strlen(name
)+1);
33135 strcpy(gv
->name
,name
);
33136 gv
->get_attr
= get_attr
;
33137 gv
->set_attr
= set_attr
;
33138 gv
->next
= v
->vars
;
33142 /* -----------------------------------------------------------------------------
33143 * constants/methods manipulation
33144 * ----------------------------------------------------------------------------- */
33146 /* Install Constants */
33148 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33151 for (i
= 0; constants
[i
].type
; i
++) {
33152 switch(constants
[i
].type
) {
33154 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33156 case SWIG_PY_FLOAT
:
33157 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33159 case SWIG_PY_STRING
:
33160 if (constants
[i
].pvalue
) {
33161 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33163 Py_INCREF(Py_None
);
33167 case SWIG_PY_POINTER
:
33168 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33170 case SWIG_PY_BINARY
:
33171 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33178 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33184 /* -----------------------------------------------------------------------------*/
33185 /* Fix SwigMethods to carry the callback ptrs when needed */
33186 /* -----------------------------------------------------------------------------*/
33189 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33190 swig_const_info
*const_table
,
33191 swig_type_info
**types
,
33192 swig_type_info
**types_initial
) {
33194 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33195 char *c
= methods
[i
].ml_doc
;
33196 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33198 swig_const_info
*ci
= 0;
33199 char *name
= c
+ 10;
33200 for (j
= 0; const_table
[j
].type
; j
++) {
33201 if (strncmp(const_table
[j
].name
, name
,
33202 strlen(const_table
[j
].name
)) == 0) {
33203 ci
= &(const_table
[j
]);
33208 size_t shift
= (ci
->ptype
) - types
;
33209 swig_type_info
*ty
= types_initial
[shift
];
33210 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33211 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33212 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33214 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33215 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33217 strncpy(buff
, "swig_ptr: ", 10);
33219 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33220 methods
[i
].ml_doc
= ndoc
;
33226 /* -----------------------------------------------------------------------------*
33227 * Initialize type list
33228 * -----------------------------------------------------------------------------*/
33230 #if PY_MAJOR_VERSION < 2
33231 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33232 is copied out of Python/modsupport.c in python version 2.3.4 */
33234 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33237 if (!PyModule_Check(m
)) {
33238 PyErr_SetString(PyExc_TypeError
,
33239 "PyModule_AddObject() needs module as first arg");
33243 PyErr_SetString(PyExc_TypeError
,
33244 "PyModule_AddObject() needs non-NULL value");
33248 dict
= PyModule_GetDict(m
);
33249 if (dict
== NULL
) {
33250 /* Internal error -- modules must have a dict! */
33251 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33252 PyModule_GetName(m
));
33255 if (PyDict_SetItemString(dict
, name
, o
))
33262 static swig_type_info
**
33263 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33264 static PyMethodDef swig_empty_runtime_method_table
[] = {
33266 NULL
, NULL
, 0, NULL
33270 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33271 swig_empty_runtime_method_table
);
33272 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33273 if (pointer
&& module) {
33274 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33276 return type_list_handle
;
33279 static swig_type_info
**
33280 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33281 swig_type_info
**type_pointer
;
33283 /* first check if module already created */
33284 type_pointer
= SWIG_Python_GetTypeListHandle();
33285 if (type_pointer
) {
33286 return type_pointer
;
33288 /* create a new module and variable */
33289 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33297 /* -----------------------------------------------------------------------------*
33298 * Partial Init method
33299 * -----------------------------------------------------------------------------*/
33301 #ifdef SWIG_LINK_RUNTIME
33305 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33311 SWIGEXPORT(void) SWIG_init(void) {
33312 static PyObject
*SWIG_globals
= 0;
33313 static int typeinit
= 0;
33316 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33318 /* Fix SwigMethods to carry the callback ptrs when needed */
33319 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33321 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33322 d
= PyModule_GetDict(m
);
33325 #ifdef SWIG_LINK_RUNTIME
33326 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33328 # ifndef SWIG_STATIC_RUNTIME
33329 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33332 for (i
= 0; swig_types_initial
[i
]; i
++) {
33333 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33337 SWIG_InstallConstants(d
,swig_const_table
);
33340 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33343 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33346 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33349 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33352 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33355 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33358 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33361 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33364 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33367 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33370 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33373 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33376 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33379 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33382 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33385 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33388 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33391 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33394 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33397 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33400 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33403 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33406 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33409 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33412 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33415 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33418 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33421 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33424 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33427 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33430 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33433 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33436 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33439 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33442 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33445 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33448 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33451 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33454 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33457 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33460 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33463 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33466 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33469 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33472 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33475 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33478 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33481 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33484 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33487 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33490 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33493 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33496 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33499 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33502 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33505 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33508 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33511 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33514 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33517 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33520 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33523 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33526 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33529 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33532 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33535 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33538 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33541 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33544 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33547 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33550 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33553 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33556 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33559 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33562 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33565 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33568 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33571 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33574 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33577 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33580 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33583 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33586 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33589 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33592 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33595 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33598 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33601 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33604 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33607 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33610 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33612 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33613 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33614 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33615 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33616 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33618 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33621 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33624 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33627 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33629 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33631 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33634 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33637 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33640 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33643 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33646 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33649 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33652 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33655 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33658 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33661 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33664 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33666 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33667 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33668 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33669 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33670 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33672 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33675 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33678 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33681 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33684 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33687 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33690 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33693 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33696 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33699 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33702 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33705 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33708 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33711 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33714 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33717 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33720 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33723 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33726 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33729 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33732 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33735 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33738 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33741 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33744 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33747 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33750 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33753 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33756 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33759 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33762 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33764 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33766 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33769 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33772 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33775 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33778 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33781 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33784 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33787 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33790 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33793 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33796 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33799 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33802 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33804 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33805 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33806 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33807 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33809 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33812 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33815 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33818 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33821 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33824 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33827 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33830 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33832 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33876 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33889 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33892 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33895 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33898 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33901 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33904 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33907 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33910 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33913 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33916 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33918 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33919 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33921 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33924 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33927 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33930 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33933 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33936 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33939 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33942 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33945 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33948 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33951 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33954 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33957 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33960 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33963 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33966 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33969 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33972 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33975 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33978 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33981 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33984 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33987 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33990 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33993 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33996 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33999 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34002 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34005 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34008 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34011 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34014 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34017 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34020 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34023 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34026 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34029 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34032 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34035 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34038 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34041 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34044 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34047 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34050 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34053 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34056 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34059 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34062 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34065 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34068 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34071 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34074 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34077 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34080 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34083 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34086 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34089 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34092 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34095 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34098 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34101 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34104 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34107 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34110 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34113 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34116 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34119 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34122 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34125 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34128 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34131 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34134 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34137 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34140 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34143 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34146 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34149 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34152 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34155 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34158 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34161 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34164 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34167 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34170 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34173 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34176 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34179 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34182 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34185 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34188 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34191 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34194 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34197 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34200 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34203 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34206 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34209 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34212 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34215 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34218 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34221 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34224 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34227 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34230 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34233 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34236 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34239 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34242 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34245 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34248 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34251 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34254 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34257 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34260 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34263 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34266 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34269 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34272 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34275 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34278 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34281 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34284 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34287 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34290 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34293 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34296 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34299 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34302 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34305 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34308 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34311 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34314 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34317 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34320 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34323 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34326 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34329 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34332 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34335 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34338 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34341 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34344 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34347 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34350 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34353 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34356 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34359 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34362 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34365 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34368 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34371 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34374 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34377 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34380 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34383 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34385 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34387 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34390 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34393 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34396 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34399 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34402 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34405 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34408 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34411 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34414 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34417 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34420 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34423 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34426 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34429 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34432 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34435 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34438 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34441 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34444 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34446 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34448 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34451 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34454 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34457 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34460 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34463 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34466 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34469 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34472 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34475 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34478 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34481 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34484 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34485 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34486 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34487 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34489 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);