1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxMetafile swig_types[2]
1345 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1346 #define SWIGTYPE_p_wxLog swig_types[4]
1347 #define SWIGTYPE_p_wxMenu swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1351 #define SWIGTYPE_p_wxDisplay swig_types[9]
1352 #define SWIGTYPE_p_wxFileType swig_types[10]
1353 #define SWIGTYPE_p_wxLogGui swig_types[11]
1354 #define SWIGTYPE_p_wxFont swig_types[12]
1355 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1356 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1357 #define SWIGTYPE_p_wxCaret swig_types[15]
1358 #define SWIGTYPE_ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_p_void swig_types[18]
1361 #define SWIGTYPE_p_int swig_types[19]
1362 #define SWIGTYPE_p_wxSize swig_types[20]
1363 #define SWIGTYPE_p_wxClipboard swig_types[21]
1364 #define SWIGTYPE_p_wxStopWatch swig_types[22]
1365 #define SWIGTYPE_p_wxDC swig_types[23]
1366 #define SWIGTYPE_p_wxClipboardLocker swig_types[24]
1367 #define SWIGTYPE_p_wxIcon swig_types[25]
1368 #define SWIGTYPE_p_wxLogStderr swig_types[26]
1369 #define SWIGTYPE_p_wxLogTextCtrl swig_types[27]
1370 #define SWIGTYPE_p_wxTextCtrl swig_types[28]
1371 #define SWIGTYPE_p_wxBusyCursor swig_types[29]
1372 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxPyTextDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxFileDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxCustomDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxURLDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxMetafileDataObject swig_types[38]
1381 #define SWIGTYPE_p_wxSound swig_types[39]
1382 #define SWIGTYPE_p_wxTimerRunner swig_types[40]
1383 #define SWIGTYPE_p_wxLogWindow swig_types[41]
1384 #define SWIGTYPE_p_wxTimeSpan swig_types[42]
1385 #define SWIGTYPE_p_wxArrayString swig_types[43]
1386 #define SWIGTYPE_p_wxWindowDisabler swig_types[44]
1387 #define SWIGTYPE_p_form_ops_t swig_types[45]
1388 #define SWIGTYPE_p_wxToolTip swig_types[46]
1389 #define SWIGTYPE_p_wxDataObjectComposite swig_types[47]
1390 #define SWIGTYPE_p_wxSystemSettings swig_types[48]
1391 #define SWIGTYPE_p_wxFileConfig swig_types[49]
1392 #define SWIGTYPE_p_wxVideoMode swig_types[50]
1393 #define SWIGTYPE_p_wxDataObjectSimple swig_types[51]
1394 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[52]
1395 #define SWIGTYPE_p_wxDuplexMode swig_types[53]
1396 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
1397 #define SWIGTYPE_p_wxRect swig_types[55]
1398 #define SWIGTYPE_p_char swig_types[56]
1399 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[57]
1400 #define SWIGTYPE_p_wxStandardPaths swig_types[58]
1401 #define SWIGTYPE_p_wxFileTypeInfo swig_types[59]
1402 #define SWIGTYPE_p_wxFrame swig_types[60]
1403 #define SWIGTYPE_p_wxTimer swig_types[61]
1404 #define SWIGTYPE_p_wxPaperSize swig_types[62]
1405 #define SWIGTYPE_p_wxMimeTypesManager swig_types[63]
1406 #define SWIGTYPE_p_wxPyArtProvider swig_types[64]
1407 #define SWIGTYPE_p_wxPyTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxTipProvider swig_types[66]
1409 #define SWIGTYPE_p_wxJoystick swig_types[67]
1410 #define SWIGTYPE_p_wxSystemOptions swig_types[68]
1411 #define SWIGTYPE_p_wxPoint swig_types[69]
1412 #define SWIGTYPE_p_wxJoystickEvent swig_types[70]
1413 #define SWIGTYPE_p_wxCursor swig_types[71]
1414 #define SWIGTYPE_p_wxObject swig_types[72]
1415 #define SWIGTYPE_p_wxOutputStream swig_types[73]
1416 #define SWIGTYPE_p_wxDateTime swig_types[74]
1417 #define SWIGTYPE_p_wxPyDropSource swig_types[75]
1418 #define SWIGTYPE_p_unsigned_long swig_types[76]
1419 #define SWIGTYPE_p_wxKillError swig_types[77]
1420 #define SWIGTYPE_p_wxWindow swig_types[78]
1421 #define SWIGTYPE_p_wxString swig_types[79]
1422 #define SWIGTYPE_p_wxPyProcess swig_types[80]
1423 #define SWIGTYPE_p_wxBitmap swig_types[81]
1424 #define SWIGTYPE_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_wxConfig swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxChar swig_types[86]
1429 #define SWIGTYPE_p_wxBusyInfo swig_types[87]
1430 #define SWIGTYPE_p_wxPyDropTarget swig_types[88]
1431 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[89]
1432 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[90]
1433 #define SWIGTYPE_p_wxProcessEvent swig_types[91]
1434 #define SWIGTYPE_p_wxPyLog swig_types[92]
1435 #define SWIGTYPE_p_wxLogNull swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxPyTimer swig_types[95]
1438 #define SWIGTYPE_p_wxConfigPathChanger swig_types[96]
1439 #define SWIGTYPE_p_wxDateSpan swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _misc_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_misc_
1450 #define SWIG_name "_misc_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1454 #include "wx/wxPython/pyistream.h"
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1460 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1550 SWIG_Check_int(PyObject
* obj
)
1552 return SWIG_AsVal_int(obj
, (int*)0);
1555 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1557 #include <wx/stockitem.h>
1559 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1560 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1561 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1563 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1564 #define SWIG_From_long PyInt_FromLong
1568 SWIGINTERNSHORT
long
1569 SWIG_As_long(PyObject
* obj
)
1572 if (!SWIG_AsVal_long(obj
, &v
)) {
1574 this is needed to make valgrind/purify happier.
1576 memset((void*)&v
, 0, sizeof(long));
1583 SWIG_Check_long(PyObject
* obj
)
1585 return SWIG_AsVal_long(obj
, (long*)0);
1590 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1592 if (obj
== Py_True
) {
1593 if (val
) *val
= true;
1596 if (obj
== Py_False
) {
1597 if (val
) *val
= false;
1601 if (SWIG_AsVal_int(obj
, &res
)) {
1602 if (val
) *val
= res
? true : false;
1608 SWIG_type_error("bool", obj
);
1614 SWIGINTERNSHORT
bool
1615 SWIG_As_bool(PyObject
* obj
)
1618 if (!SWIG_AsVal_bool(obj
, &v
)) {
1620 this is needed to make valgrind/purify happier.
1622 memset((void*)&v
, 0, sizeof(bool));
1629 SWIG_Check_bool(PyObject
* obj
)
1631 return SWIG_AsVal_bool(obj
, (bool*)0);
1635 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1641 } else if (target
== Py_None
) {
1645 if (!PyTuple_Check(target
)) {
1647 target
= PyTuple_New(1);
1648 PyTuple_SetItem(target
, 0, o2
);
1650 o3
= PyTuple_New(1);
1651 PyTuple_SetItem(o3
, 0, o
);
1654 target
= PySequence_Concat(o2
, o3
);
1664 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1667 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1668 SWIG_type_error("unsigned number", obj
);
1671 *val
= (unsigned long)v
;
1676 SWIGINTERNSHORT
unsigned long
1677 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1680 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1682 this is needed to make valgrind/purify happier.
1684 memset((void*)&v
, 0, sizeof(unsigned long));
1691 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1693 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1697 SWIGINTERNSHORT PyObject
*
1698 SWIG_From_unsigned_SS_long(unsigned long value
)
1700 return (value
> LONG_MAX
) ?
1701 PyLong_FromUnsignedLong(value
)
1702 : PyInt_FromLong((long)(value
));
1706 void* wxGetXDisplay()
1709 return wxGetDisplay();
1716 bool wxThread_IsMain() {
1717 #ifdef WXP_WITH_THREAD
1718 return wxThread::IsMain();
1724 static void wxCaret_Destroy(wxCaret
*self
){
1728 #include <wx/snglinst.h>
1732 #include <wx/msw/private.h>
1733 #include <wx/dynload.h>
1738 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1749 // This one only partially works. Appears to be an undocumented
1750 // "standard" convention that not all widgets adhear to. For
1751 // example, for some widgets backgrounds or non-client areas may
1753 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1758 // This one works much better, nearly all widgets and their
1759 // children are captured correctly[**]. Prior to the big
1760 // background erase changes that Vadim did in 2004-2005 this
1761 // method failed badly on XP with Themes activated, most native
1762 // widgets draw only partially, if at all. Without themes it
1763 // worked just like on Win2k. After those changes this method
1766 // ** For example the radio buttons in a wxRadioBox are not its
1767 // children by default, but you can capture it via the panel
1768 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1769 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1770 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1771 PRF_ERASEBKGND
| PRF_OWNED
);
1777 // This one is only defined in the latest SDK and is only
1778 // available on XP. MSDN says it is similar to sending WM_PRINT
1779 // so I expect that it will work similar to the above. Since it
1780 // is avaialble only on XP, it can't be compiled like this and
1781 // will have to be loaded dynamically.
1782 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1787 // Use PrintWindow if available, or fallback to WM_PRINT
1788 // otherwise. Unfortunately using PrintWindow is even worse than
1789 // WM_PRINT. For most native widgets nothing is drawn to the dc
1790 // at all, with or without Themes.
1791 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1792 static bool s_triedToLoad
= false;
1793 static PrintWindow_t pfnPrintWindow
= NULL
;
1794 if ( !s_triedToLoad
)
1797 s_triedToLoad
= true;
1798 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1799 if ( dllUser32
.IsLoaded() )
1801 wxLogNull nolog
; // Don't report errors here
1802 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1807 //printf("Using PrintWindow\n");
1808 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1812 //printf("Using WM_PRINT\n");
1813 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1814 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1815 PRF_ERASEBKGND
| PRF_OWNED
);
1826 #include <wx/tipdlg.h>
1829 class wxPyTipProvider
: public wxTipProvider
{
1831 wxPyTipProvider(size_t currentTip
)
1832 : wxTipProvider(currentTip
) {}
1834 DEC_PYCALLBACK_STRING__pure(GetTip
);
1835 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1839 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1840 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1843 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1845 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1847 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1848 : wxTimer(owner
, id
)
1850 if (owner
== NULL
) SetOwner(this);
1854 void wxPyTimer::Notify() {
1856 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1857 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1858 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1859 wxPyEndBlockThreads(blocked
);
1863 void wxPyTimer::base_Notify() {
1869 SWIGINTERN PyObject
*
1870 SWIG_FromCharPtr(const char* cptr
)
1873 size_t size
= strlen(cptr
);
1874 if (size
> INT_MAX
) {
1875 return SWIG_NewPointerObj((char*)(cptr
),
1876 SWIG_TypeQuery("char *"), 0);
1879 return PyString_FromStringAndSize(cptr
, size
);
1881 return PyString_FromString(cptr
);
1891 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1892 unsigned long max_value
,
1895 if (value
> max_value
) {
1897 PyErr_Format(PyExc_OverflowError
,
1898 "value %lu is greater than '%s' minimum %lu",
1899 value
, errmsg
, max_value
);
1907 #if UINT_MAX != ULONG_MAX
1909 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1911 const char* errmsg
= val
? "unsigned int" : (char*)0;
1913 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1914 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1915 if (val
) *val
= (unsigned int)(v
);
1922 SWIG_type_error(errmsg
, obj
);
1927 SWIGINTERNSHORT
unsigned int
1928 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1930 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1935 SWIGINTERNSHORT
unsigned int
1936 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1939 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1941 this is needed to make valgrind/purify happier.
1943 memset((void*)&v
, 0, sizeof(unsigned int));
1950 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1952 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1955 static wxString
Log_TimeStamp(){
1957 wxLog::TimeStamp(&msg
);
1960 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1961 // Make somce wrappers that double any % signs so they are 'escaped'
1962 void wxPyLogFatalError(const wxString
& msg
)
1965 m
.Replace(wxT("%"), wxT("%%"));
1969 void wxPyLogError(const wxString
& msg
)
1972 m
.Replace(wxT("%"), wxT("%%"));
1976 void wxPyLogWarning(const wxString
& msg
)
1979 m
.Replace(wxT("%"), wxT("%%"));
1983 void wxPyLogMessage(const wxString
& msg
)
1986 m
.Replace(wxT("%"), wxT("%%"));
1990 void wxPyLogInfo(const wxString
& msg
)
1993 m
.Replace(wxT("%"), wxT("%%"));
1997 void wxPyLogDebug(const wxString
& msg
)
2000 m
.Replace(wxT("%"), wxT("%%"));
2004 void wxPyLogVerbose(const wxString
& msg
)
2007 m
.Replace(wxT("%"), wxT("%%"));
2011 void wxPyLogStatus(const wxString
& msg
)
2014 m
.Replace(wxT("%"), wxT("%%"));
2018 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2021 m
.Replace(wxT("%"), wxT("%%"));
2022 wxLogStatus(pFrame
, m
);
2025 void wxPyLogSysError(const wxString
& msg
)
2028 m
.Replace(wxT("%"), wxT("%%"));
2032 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2035 m
.Replace(wxT("%"), wxT("%%"));
2036 wxLogGeneric(level
, m
);
2039 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2042 m
.Replace(wxT("%"), wxT("%%"));
2043 wxLogTrace(mask
, m
);
2046 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2049 m
.Replace(wxT("%"), wxT("%%"));
2050 wxLogTrace(mask
, m
);
2055 // A wxLog class that can be derived from in wxPython
2056 class wxPyLog
: public wxLog
{
2058 wxPyLog() : wxLog() {}
2060 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2063 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2064 PyObject
* s
= wx2PyString(szString
);
2065 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2068 wxPyEndBlockThreads(blocked
);
2070 wxLog::DoLog(level
, szString
, t
);
2073 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2075 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2076 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2077 PyObject
* s
= wx2PyString(szString
);
2078 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2081 wxPyEndBlockThreads(blocked
);
2083 wxLog::DoLogString(szString
, t
);
2092 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2095 #include <wx/joystick.h>
2098 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2099 // A C++ stub class for wxJoystick for platforms that don't have it.
2100 class wxJoystick
: public wxObject
{
2102 wxJoystick(int joystick
= wxJOYSTICK1
) {
2103 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2104 PyErr_SetString(PyExc_NotImplementedError
,
2105 "wxJoystick is not available on this platform.");
2106 wxPyEndBlockThreads(blocked
);
2108 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2109 int GetZPosition() { return -1; }
2110 int GetButtonState() { return -1; }
2111 int GetPOVPosition() { return -1; }
2112 int GetPOVCTSPosition() { return -1; }
2113 int GetRudderPosition() { return -1; }
2114 int GetUPosition() { return -1; }
2115 int GetVPosition() { return -1; }
2116 int GetMovementThreshold() { return -1; }
2117 void SetMovementThreshold(int threshold
) {}
2119 bool IsOk(void) { return false; }
2120 int GetNumberJoysticks() { return -1; }
2121 int GetManufacturerId() { return -1; }
2122 int GetProductId() { return -1; }
2123 wxString
GetProductName() { return wxEmptyString
; }
2124 int GetXMin() { return -1; }
2125 int GetYMin() { return -1; }
2126 int GetZMin() { return -1; }
2127 int GetXMax() { return -1; }
2128 int GetYMax() { return -1; }
2129 int GetZMax() { return -1; }
2130 int GetNumberButtons() { return -1; }
2131 int GetNumberAxes() { return -1; }
2132 int GetMaxButtons() { return -1; }
2133 int GetMaxAxes() { return -1; }
2134 int GetPollingMin() { return -1; }
2135 int GetPollingMax() { return -1; }
2136 int GetRudderMin() { return -1; }
2137 int GetRudderMax() { return -1; }
2138 int GetUMin() { return -1; }
2139 int GetUMax() { return -1; }
2140 int GetVMin() { return -1; }
2141 int GetVMax() { return -1; }
2143 bool HasRudder() { return false; }
2144 bool HasZ() { return false; }
2145 bool HasU() { return false; }
2146 bool HasV() { return false; }
2147 bool HasPOV() { return false; }
2148 bool HasPOV4Dir() { return false; }
2149 bool HasPOVCTS() { return false; }
2151 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2152 bool ReleaseCapture() { return false; }
2157 #include <wx/sound.h>
2161 // A C++ stub class for wxWave for platforms that don't have it.
2162 class wxSound
: public wxObject
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2171 wxSound(const wxString
&/*, bool*/) {
2172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2173 PyErr_SetString(PyExc_NotImplementedError
,
2174 "wxSound is not available on this platform.");
2175 wxPyEndBlockThreads(blocked
);
2177 wxSound(int, const wxByte
*) {
2178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2179 PyErr_SetString(PyExc_NotImplementedError
,
2180 "wxSound is not available on this platform.");
2181 wxPyEndBlockThreads(blocked
);
2186 bool Create(const wxString
&/*, bool*/) { return false; }
2187 bool Create(int, const wxByte
*) { return false; };
2188 bool IsOk() { return false; };
2189 bool Play(unsigned) const { return false; }
2190 static bool Play(const wxString
&, unsigned) { return false; }
2191 static void Stop() {}
2196 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2197 if (fileName
.Length() == 0)
2200 return new wxSound(fileName
);
2202 static wxSound
*new_wxSound(PyObject
*data
){
2203 unsigned char* buffer
; int size
;
2204 wxSound
*sound
= NULL
;
2206 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2207 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2209 sound
= new wxSound(size
, buffer
);
2211 wxPyEndBlockThreads(blocked
);
2214 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2216 unsigned char* buffer
;
2220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2221 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2223 rv
= self
->Create(size
, buffer
);
2225 wxPyEndBlockThreads(blocked
);
2228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2229 PyErr_SetString(PyExc_NotImplementedError
,
2230 "Create from data is not available on this platform.");
2231 wxPyEndBlockThreads(blocked
);
2236 #include <wx/mimetype.h>
2238 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2240 if (self
->GetMimeType(&str
))
2241 return wx2PyString(str
);
2245 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2247 if (self
->GetMimeTypes(arr
))
2248 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2254 if (self
->GetExtensions(arr
))
2255 return wxArrayString2PyList_helper(arr
);
2259 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2261 if (self
->GetIcon(&loc
))
2262 return new wxIcon(loc
);
2266 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2268 if (self
->GetIcon(&loc
)) {
2269 wxString iconFile
= loc
.GetFileName();
2272 iconIndex
= loc
.GetIndex();
2274 // Make a tuple and put the values in it
2275 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2276 PyObject
* tuple
= PyTuple_New(3);
2277 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2278 wxT("wxIcon"), true));
2279 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2280 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2281 wxPyEndBlockThreads(blocked
);
2287 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2289 if (self
->GetDescription(&str
))
2290 return wx2PyString(str
);
2294 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2296 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2297 return wx2PyString(str
);
2301 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2304 return wx2PyString(str
);
2308 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2309 wxArrayString verbs
;
2310 wxArrayString commands
;
2311 if (self
->GetAllCommands(&verbs
, &commands
,
2312 wxFileType::MessageParameters(filename
, mimetype
))) {
2313 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2314 PyObject
* tuple
= PyTuple_New(2);
2315 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2316 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2317 wxPyEndBlockThreads(blocked
);
2323 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2324 return wxFileType::ExpandCommand(command
,
2325 wxFileType::MessageParameters(filename
, mimetype
));
2327 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2329 self
->EnumAllFileTypes(arr
);
2330 return wxArrayString2PyList_helper(arr
);
2333 #include <wx/artprov.h>
2335 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2336 static const wxString
wxPyART_MENU(wxART_MENU
);
2337 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2338 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2339 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2340 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2341 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2342 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2343 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2344 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2345 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2346 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2347 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2348 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2349 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2350 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2351 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2352 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2353 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2354 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2355 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2356 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2357 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2358 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2359 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2360 static const wxString
wxPyART_HELP(wxART_HELP
);
2361 static const wxString
wxPyART_TIP(wxART_TIP
);
2362 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2363 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2364 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2365 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2366 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2367 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2368 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2369 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2370 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2371 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2372 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2373 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2374 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2375 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2376 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2377 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2378 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2379 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2380 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2381 static const wxString
wxPyART_COPY(wxART_COPY
);
2382 static const wxString
wxPyART_CUT(wxART_CUT
);
2383 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2384 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2385 static const wxString
wxPyART_NEW(wxART_NEW
);
2386 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2387 static const wxString
wxPyART_REDO(wxART_REDO
);
2388 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2389 static const wxString
wxPyART_FIND(wxART_FIND
);
2390 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2391 // Python aware wxArtProvider
2392 class wxPyArtProvider
: public wxArtProvider
{
2395 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2396 const wxArtClient
& client
,
2397 const wxSize
& size
) {
2398 wxBitmap rval
= wxNullBitmap
;
2399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2400 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2401 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2405 s1
= wx2PyString(id
);
2406 s2
= wx2PyString(client
);
2407 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2412 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2417 wxPyEndBlockThreads(blocked
);
2424 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2428 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2429 PyObject
* ret
= PyTuple_New(3);
2431 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2432 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2433 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2438 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2443 cont
= self
->GetFirstGroup(value
, index
);
2444 return __EnumerationHelper(cont
, value
, index
);
2446 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2450 cont
= self
->GetNextGroup(value
, index
);
2451 return __EnumerationHelper(cont
, value
, index
);
2453 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2458 cont
= self
->GetFirstEntry(value
, index
);
2459 return __EnumerationHelper(cont
, value
, index
);
2461 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2465 cont
= self
->GetNextEntry(value
, index
);
2466 return __EnumerationHelper(cont
, value
, index
);
2468 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2470 self
->Read(key
, &rv
, defaultVal
);
2475 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2477 if (PyNumber_Check(obj
)) {
2478 if (val
) *val
= PyFloat_AsDouble(obj
);
2482 SWIG_type_error("number", obj
);
2488 SWIGINTERNSHORT
double
2489 SWIG_As_double(PyObject
* obj
)
2492 if (!SWIG_AsVal_double(obj
, &v
)) {
2494 this is needed to make valgrind/purify happier.
2496 memset((void*)&v
, 0, sizeof(double));
2503 SWIG_Check_double(PyObject
* obj
)
2505 return SWIG_AsVal_double(obj
, (double*)0);
2508 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2510 self
->Read(key
, &rv
, defaultVal
);
2514 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2515 #define SWIG_From_double PyFloat_FromDouble
2518 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2520 self
->Read(key
, &rv
, defaultVal
);
2524 #include <wx/datetime.h>
2526 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2527 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2529 #define LOCAL_TZ wxDateTime::Local
2531 static PyObject
*DateTime_GetAmPmStrings(){
2534 wxDateTime::GetAmPmStrings(&am
, &pm
);
2535 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2536 PyObject
* tup
= PyTuple_New(2);
2537 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2538 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2539 wxPyEndBlockThreads(blocked
);
2543 #if UINT_MAX < LONG_MAX
2544 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2545 #define SWIG_From_unsigned_SS_int SWIG_From_long
2548 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2549 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2553 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2554 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2555 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2556 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2557 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2558 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2559 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2560 return (*self
< *other
);
2562 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2563 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2564 return (*self
<= *other
);
2566 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2567 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2568 return (*self
> *other
);
2570 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2571 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2572 return (*self
>= *other
);
2574 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2575 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2576 return (*self
== *other
);
2578 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2579 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2580 return (*self
!= *other
);
2582 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2584 const wxChar
* _date
= date
;
2585 rv
= self
->ParseRfc822Date(_date
);
2586 if (rv
== NULL
) return -1;
2589 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2591 const wxChar
* _date
= date
;
2592 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2593 if (rv
== NULL
) return -1;
2596 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2598 const wxChar
* _datetime
= datetime
;
2599 rv
= self
->ParseDateTime(_datetime
);
2600 if (rv
== NULL
) return -1;
2601 return rv
- _datetime
;
2603 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2605 const wxChar
* _date
= date
;
2606 rv
= self
->ParseDate(_date
);
2607 if (rv
== NULL
) return -1;
2610 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2612 const wxChar
* _time
= time
;
2613 rv
= self
->ParseTime(_time
);
2614 if (rv
== NULL
) return -1;
2617 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2618 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2619 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2620 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2621 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2622 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2623 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2624 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2625 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2626 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2627 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2628 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2629 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2630 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2631 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2632 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2634 #include <wx/dataobj.h>
2636 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2637 size_t count
= self
->GetFormatCount(dir
);
2638 wxDataFormat
* formats
= new wxDataFormat
[count
];
2639 self
->GetAllFormats(formats
, dir
);
2641 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2642 PyObject
* list
= PyList_New(count
);
2643 for (size_t i
=0; i
<count
; i
++) {
2644 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2645 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2646 PyList_Append(list
, obj
);
2649 wxPyEndBlockThreads(blocked
);
2653 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2654 PyObject
* rval
= NULL
;
2655 size_t size
= self
->GetDataSize(format
);
2656 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2658 char* buf
= new char[size
];
2659 if (self
->GetDataHere(format
, buf
))
2660 rval
= PyString_FromStringAndSize(buf
, size
);
2667 wxPyEndBlockThreads(blocked
);
2670 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2672 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2673 if (PyString_Check(data
)) {
2674 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2677 // raise a TypeError if not a string
2678 PyErr_SetString(PyExc_TypeError
, "String expected.");
2681 wxPyEndBlockThreads(blocked
);
2684 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2685 PyObject
* rval
= NULL
;
2686 size_t size
= self
->GetDataSize();
2687 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2689 char* buf
= new char[size
];
2690 if (self
->GetDataHere(buf
))
2691 rval
= PyString_FromStringAndSize(buf
, size
);
2698 wxPyEndBlockThreads(blocked
);
2701 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2703 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2704 if (PyString_Check(data
)) {
2705 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2708 // raise a TypeError if not a string
2709 PyErr_SetString(PyExc_TypeError
, "String expected.");
2712 wxPyEndBlockThreads(blocked
);
2715 // Create a new class for wxPython to use
2716 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2718 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2719 : wxDataObjectSimple(format
) {}
2721 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2722 bool GetDataHere(void *buf
) const;
2723 bool SetData(size_t len
, const void *buf
) const;
2727 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2729 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2730 // We need to get the data for this object and write it to buf. I think
2731 // the best way to do this for wxPython is to have the Python method
2732 // return either a string or None and then act appropriately with the
2736 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2737 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2739 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2741 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2743 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2747 wxPyEndBlockThreads(blocked
);
2751 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2752 // For this one we simply need to make a string from buf and len
2753 // and send it to the Python method.
2755 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2756 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2757 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2758 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2761 wxPyEndBlockThreads(blocked
);
2765 // Create a new class for wxPython to use
2766 class wxPyTextDataObject
: public wxTextDataObject
{
2768 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2769 : wxTextDataObject(text
) {}
2771 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2772 DEC_PYCALLBACK_STRING__const(GetText
);
2773 DEC_PYCALLBACK__STRING(SetText
);
2777 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2778 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2779 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2782 // Create a new class for wxPython to use
2783 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2785 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2786 : wxBitmapDataObject(bitmap
) {}
2788 wxBitmap
GetBitmap() const;
2789 void SetBitmap(const wxBitmap
& bitmap
);
2793 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2794 wxBitmap
* rval
= &wxNullBitmap
;
2795 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2796 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2799 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2801 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2806 wxPyEndBlockThreads(blocked
);
2810 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2811 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2812 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2813 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2814 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2817 wxPyEndBlockThreads(blocked
);
2820 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2821 return new wxCustomDataObject(wxDataFormat(formatName
));
2823 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2826 if (PyString_Check(data
)) {
2827 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2830 // raise a TypeError if not a string
2831 PyErr_SetString(PyExc_TypeError
, "String expected.");
2834 wxPyEndBlockThreads(blocked
);
2837 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2839 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2840 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2841 wxPyEndBlockThreads(blocked
);
2845 #include <wx/metafile.h>
2848 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2851 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2852 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2853 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2854 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2855 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2858 class wxPyTextDropTarget
: public wxTextDropTarget
{
2860 wxPyTextDropTarget() {}
2862 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2864 DEC_PYCALLBACK__(OnLeave
);
2865 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2866 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2867 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2868 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2873 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2874 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2875 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2876 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2877 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2878 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2882 class wxPyFileDropTarget
: public wxFileDropTarget
{
2884 wxPyFileDropTarget() {}
2886 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2888 DEC_PYCALLBACK__(OnLeave
);
2889 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2890 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2891 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2892 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2897 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2898 const wxArrayString
& filenames
) {
2900 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2901 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2902 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2903 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2906 wxPyEndBlockThreads(blocked
);
2912 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2913 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2914 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2915 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2916 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2921 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2923 #include <wx/display.h>
2925 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2926 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2928 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2930 #include <wx/dynarray.h>
2931 #include <wx/vidmode.h>
2933 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2934 #include "wx/arrimpl.cpp"
2935 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2936 const wxVideoMode wxDefaultVideoMode
;
2941 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2944 static size_t GetCount()
2945 { wxPyRaiseNotImplemented(); return 0; }
2947 static int GetFromPoint(const wxPoint
& pt
)
2948 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2949 static int GetFromWindow(wxWindow
*window
)
2950 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2952 virtual bool IsOk() const { return false; }
2953 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2954 virtual wxString
GetName() const { return wxEmptyString
; }
2955 bool IsPrimary() const { return false; }
2957 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2958 { wxArrayVideoModes a
; return a
; }
2960 virtual wxVideoMode
GetCurrentMode() const
2961 { return wxDefaultVideoMode
; }
2963 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2970 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2971 PyObject
* pyList
= NULL
;
2972 wxArrayVideoModes arr
= self
->GetModes(mode
);
2973 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2974 pyList
= PyList_New(0);
2975 for (int i
=0; i
< arr
.GetCount(); i
++) {
2976 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2977 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2978 PyList_Append(pyList
, pyObj
);
2981 wxPyEndBlockThreads(blocked
);
2985 #include <wx/stdpaths.h>
2987 static wxStandardPaths
*StandardPaths_Get(){
2988 return (wxStandardPaths
*) &wxStandardPaths::Get();
2990 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2991 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2995 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxSystemColour arg1
;
2999 PyObject
* obj0
= 0 ;
3001 (char *) "index", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3006 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3007 if (SWIG_arg_fail(1)) SWIG_fail
;
3010 if (!wxPyCheckForApp()) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3018 wxColour
* resultptr
;
3019 resultptr
= new wxColour((wxColour
&)(result
));
3020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3028 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3032 PyObject
* obj0
= 0 ;
3034 (char *) "index", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3039 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3040 if (SWIG_arg_fail(1)) SWIG_fail
;
3043 if (!wxPyCheckForApp()) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3052 resultptr
= new wxFont((wxFont
&)(result
));
3053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3061 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxSystemMetric arg1
;
3064 wxWindow
*arg2
= (wxWindow
*) NULL
;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3069 (char *) "index",(char *) "win", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3074 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3075 if (SWIG_arg_fail(1)) SWIG_fail
;
3078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(2)) SWIG_fail
;
3082 if (!wxPyCheckForApp()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= SWIG_From_int((int)(result
));
3098 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxSystemFeature arg1
;
3102 PyObject
* obj0
= 0 ;
3104 (char *) "index", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3109 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3110 if (SWIG_arg_fail(1)) SWIG_fail
;
3113 if (!wxPyCheckForApp()) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3129 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxSystemScreenType result
;
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3138 if (!wxPyCheckForApp()) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= SWIG_From_int((result
));
3152 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxSystemScreenType arg1
;
3155 PyObject
* obj0
= 0 ;
3157 (char *) "screen", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3162 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3163 if (SWIG_arg_fail(1)) SWIG_fail
;
3166 if (!wxPyCheckForApp()) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 Py_INCREF(Py_None
); resultobj
= Py_None
;
3180 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3183 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3185 return Py_BuildValue((char *)"");
3187 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3188 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3193 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3198 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3200 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3207 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxSystemOptions
*result
;
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= (wxSystemOptions
*)new wxSystemOptions();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3229 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxString
*arg1
= 0 ;
3232 wxString
*arg2
= 0 ;
3233 bool temp1
= false ;
3234 bool temp2
= false ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "name",(char *) "value", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3243 arg1
= wxString_in_helper(obj0
);
3244 if (arg1
== NULL
) SWIG_fail
;
3248 arg2
= wxString_in_helper(obj1
);
3249 if (arg2
== NULL
) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxString
*arg1
= 0 ;
3286 bool temp1
= false ;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3290 (char *) "name",(char *) "value", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 arg1
= wxString_in_helper(obj0
);
3296 if (arg1
== NULL
) SWIG_fail
;
3300 arg2
= (int)(SWIG_As_int(obj1
));
3301 if (SWIG_arg_fail(2)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxString
*arg1
= 0 ;
3329 bool temp1
= false ;
3330 PyObject
* obj0
= 0 ;
3332 (char *) "name", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3337 arg1
= wxString_in_helper(obj0
);
3338 if (arg1
== NULL
) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3369 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxString
*arg1
= 0 ;
3373 bool temp1
= false ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "name", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3381 arg1
= wxString_in_helper(obj0
);
3382 if (arg1
== NULL
) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= SWIG_From_int((int)(result
));
3409 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxString
*arg1
= 0 ;
3413 bool temp1
= false ;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "name", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3421 arg1
= wxString_in_helper(obj0
);
3422 if (arg1
== NULL
) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3449 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxString
*arg1
= 0 ;
3453 bool temp1
= false ;
3454 PyObject
* obj0
= 0 ;
3456 (char *) "name", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3461 arg1
= wxString_in_helper(obj0
);
3462 if (arg1
== NULL
) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3489 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3492 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3494 return Py_BuildValue((char *)"");
3496 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3497 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3502 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3507 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3509 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3516 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3517 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3522 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3527 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3529 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3536 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3537 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3542 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3547 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3549 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3556 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 result
= (long)wxNewId();
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= SWIG_From_long((long)(result
));
3580 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3583 PyObject
* obj0
= 0 ;
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3590 arg1
= (long)(SWIG_As_long(obj0
));
3591 if (SWIG_arg_fail(1)) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 Py_INCREF(Py_None
); resultobj
= Py_None
;
3607 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (long)wxGetCurrentId();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_From_long((long)(result
));
3631 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3635 PyObject
* obj0
= 0 ;
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3642 arg1
= (int)(SWIG_As_int(obj0
));
3643 if (SWIG_arg_fail(1)) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (bool)wxIsStockID(arg1
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3661 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3664 wxString
*arg2
= 0 ;
3666 bool temp2
= false ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3670 (char *) "id",(char *) "label", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3675 arg1
= (int)(SWIG_As_int(obj0
));
3676 if (SWIG_arg_fail(1)) SWIG_fail
;
3679 arg2
= wxString_in_helper(obj1
);
3680 if (arg2
== NULL
) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3707 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3710 bool arg2
= (bool) true ;
3711 wxString arg3
= (wxString
) wxPyEmptyString
;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3715 PyObject
* obj2
= 0 ;
3717 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3722 arg1
= (int)(SWIG_As_int(obj0
));
3723 if (SWIG_arg_fail(1)) SWIG_fail
;
3727 arg2
= (bool)(SWIG_As_bool(obj1
));
3728 if (SWIG_arg_fail(2)) SWIG_fail
;
3733 wxString
* sptr
= wxString_in_helper(obj2
);
3734 if (sptr
== NULL
) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3759 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3767 if (!wxPyCheckForApp()) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 Py_INCREF(Py_None
); resultobj
= Py_None
;
3781 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3789 if (!wxPyCheckForApp()) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 bool arg1
= (bool) true ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "resetTimer", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3815 arg1
= (bool)(SWIG_As_bool(obj0
));
3816 if (SWIG_arg_fail(1)) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (long)wxGetElapsedTime(arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_From_long((long)(result
));
3835 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 int *arg1
= (int *) 0 ;
3838 int *arg2
= (int *) 0 ;
3847 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3848 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3851 if (!wxPyCheckForApp()) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 wxGetMousePosition(arg1
,arg2
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3860 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3861 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3862 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3869 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (bool)wxIsBusy();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3893 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3921 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3924 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3926 bool temp1
= false ;
3927 PyObject
* obj0
= 0 ;
3929 (char *) "command", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3935 arg1
= wxString_in_helper(obj0
);
3936 if (arg1
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)wxShell((wxString
const &)*arg1
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 int *arg1
= (int *) 0 ;
3988 int *arg2
= (int *) 0 ;
3998 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3999 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (int)wxGetOsVersion(arg1
,arg2
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4009 resultobj
= SWIG_From_int((int)(result
));
4011 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4012 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4013 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4014 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4021 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= wxGetOsDescription();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4049 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (long)wxGetFreeMemory();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_From_long((long)(result
));
4073 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxShutdownFlags arg1
;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "wFlags", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4084 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4085 if (SWIG_arg_fail(1)) SWIG_fail
;
4088 if (!wxPyCheckForApp()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4104 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4107 PyObject
* obj0
= 0 ;
4109 (char *) "secs", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4114 arg1
= (int)(SWIG_As_int(obj0
));
4115 if (SWIG_arg_fail(1)) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 unsigned long arg1
;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "milliseconds", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4141 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4142 if (SWIG_arg_fail(1)) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4158 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 unsigned long arg1
;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "microseconds", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4168 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4169 if (SWIG_arg_fail(1)) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 Py_INCREF(Py_None
); resultobj
= Py_None
;
4185 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "enable", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4195 arg1
= (bool)(SWIG_As_bool(obj0
));
4196 if (SWIG_arg_fail(1)) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxEnableTopLevelWindows(arg1
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxString
*arg1
= 0 ;
4216 bool temp1
= false ;
4217 PyObject
* obj0
= 0 ;
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4224 arg1
= wxString_in_helper(obj0
);
4225 if (arg1
== NULL
) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4256 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= wxGetEmailAddress();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4284 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 result
= wxGetHostName();
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4312 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= wxGetFullHostName();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4340 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= wxGetUserId();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4368 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= wxGetUserName();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4396 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= wxGetHomeDir();
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4424 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4427 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4429 bool temp1
= false ;
4430 PyObject
* obj0
= 0 ;
4432 (char *) "user", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4438 arg1
= wxString_in_helper(obj0
);
4439 if (arg1
== NULL
) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= wxGetUserHome((wxString
const &)*arg1
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4471 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 unsigned long result
;
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (unsigned long)wxGetProcessId();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4495 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 Py_INCREF(Py_None
); resultobj
= Py_None
;
4516 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4519 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4520 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4521 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4522 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4523 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4526 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4527 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4528 int arg6
= (int) 0 ;
4529 wxWindow
*arg7
= (wxWindow
*) NULL
;
4530 int arg8
= (int) -1 ;
4531 int arg9
= (int) -1 ;
4533 bool temp1
= false ;
4534 bool temp2
= false ;
4535 bool temp3
= false ;
4536 bool temp4
= false ;
4537 bool temp5
= false ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4542 PyObject
* obj4
= 0 ;
4543 PyObject
* obj5
= 0 ;
4544 PyObject
* obj6
= 0 ;
4545 PyObject
* obj7
= 0 ;
4546 PyObject
* obj8
= 0 ;
4548 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4554 arg1
= wxString_in_helper(obj0
);
4555 if (arg1
== NULL
) SWIG_fail
;
4561 arg2
= wxString_in_helper(obj1
);
4562 if (arg2
== NULL
) SWIG_fail
;
4568 arg3
= wxString_in_helper(obj2
);
4569 if (arg3
== NULL
) SWIG_fail
;
4575 arg4
= wxString_in_helper(obj3
);
4576 if (arg4
== NULL
) SWIG_fail
;
4582 arg5
= wxString_in_helper(obj4
);
4583 if (arg5
== NULL
) SWIG_fail
;
4589 arg6
= (int)(SWIG_As_int(obj5
));
4590 if (SWIG_arg_fail(6)) SWIG_fail
;
4594 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4595 if (SWIG_arg_fail(7)) SWIG_fail
;
4599 arg8
= (int)(SWIG_As_int(obj7
));
4600 if (SWIG_arg_fail(8)) SWIG_fail
;
4605 arg9
= (int)(SWIG_As_int(obj8
));
4606 if (SWIG_arg_fail(9)) SWIG_fail
;
4610 if (!wxPyCheckForApp()) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4670 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxString
*arg1
= 0 ;
4673 wxString
*arg2
= 0 ;
4674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4676 wxWindow
*arg4
= (wxWindow
*) NULL
;
4678 bool temp1
= false ;
4679 bool temp2
= false ;
4680 bool temp3
= false ;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4683 PyObject
* obj2
= 0 ;
4684 PyObject
* obj3
= 0 ;
4686 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4691 arg1
= wxString_in_helper(obj0
);
4692 if (arg1
== NULL
) SWIG_fail
;
4696 arg2
= wxString_in_helper(obj1
);
4697 if (arg2
== NULL
) SWIG_fail
;
4702 arg3
= wxString_in_helper(obj2
);
4703 if (arg3
== NULL
) SWIG_fail
;
4708 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4709 if (SWIG_arg_fail(4)) SWIG_fail
;
4712 if (!wxPyCheckForApp()) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4756 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxString
*arg1
= 0 ;
4759 wxString
*arg2
= 0 ;
4760 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4761 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4762 wxWindow
*arg4
= (wxWindow
*) NULL
;
4764 bool temp1
= false ;
4765 bool temp2
= false ;
4766 bool temp3
= false ;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4769 PyObject
* obj2
= 0 ;
4770 PyObject
* obj3
= 0 ;
4772 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4777 arg1
= wxString_in_helper(obj0
);
4778 if (arg1
== NULL
) SWIG_fail
;
4782 arg2
= wxString_in_helper(obj1
);
4783 if (arg2
== NULL
) SWIG_fail
;
4788 arg3
= wxString_in_helper(obj2
);
4789 if (arg3
== NULL
) SWIG_fail
;
4794 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4795 if (SWIG_arg_fail(4)) SWIG_fail
;
4798 if (!wxPyCheckForApp()) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4842 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4845 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4846 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4847 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4848 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4851 wxWindow
*arg5
= (wxWindow
*) NULL
;
4853 bool temp1
= false ;
4854 bool temp2
= false ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 PyObject
* obj2
= 0 ;
4859 PyObject
* obj3
= 0 ;
4860 PyObject
* obj4
= 0 ;
4862 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4868 arg1
= wxString_in_helper(obj0
);
4869 if (arg1
== NULL
) SWIG_fail
;
4875 arg2
= wxString_in_helper(obj1
);
4876 if (arg2
== NULL
) SWIG_fail
;
4882 arg3
= (long)(SWIG_As_long(obj2
));
4883 if (SWIG_arg_fail(3)) SWIG_fail
;
4889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4893 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4894 if (SWIG_arg_fail(5)) SWIG_fail
;
4897 if (!wxPyCheckForApp()) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4933 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxString
*arg1
= 0 ;
4936 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4937 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4940 wxWindow
*arg4
= (wxWindow
*) NULL
;
4941 int arg5
= (int) -1 ;
4942 int arg6
= (int) -1 ;
4943 bool arg7
= (bool) true ;
4945 bool temp1
= false ;
4946 bool temp2
= false ;
4947 bool temp3
= false ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4950 PyObject
* obj2
= 0 ;
4951 PyObject
* obj3
= 0 ;
4952 PyObject
* obj4
= 0 ;
4953 PyObject
* obj5
= 0 ;
4954 PyObject
* obj6
= 0 ;
4956 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4961 arg1
= wxString_in_helper(obj0
);
4962 if (arg1
== NULL
) SWIG_fail
;
4967 arg2
= wxString_in_helper(obj1
);
4968 if (arg2
== NULL
) SWIG_fail
;
4974 arg3
= wxString_in_helper(obj2
);
4975 if (arg3
== NULL
) SWIG_fail
;
4980 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4981 if (SWIG_arg_fail(4)) SWIG_fail
;
4985 arg5
= (int)(SWIG_As_int(obj4
));
4986 if (SWIG_arg_fail(5)) SWIG_fail
;
4991 arg6
= (int)(SWIG_As_int(obj5
));
4992 if (SWIG_arg_fail(6)) SWIG_fail
;
4997 arg7
= (bool)(SWIG_As_bool(obj6
));
4998 if (SWIG_arg_fail(7)) SWIG_fail
;
5002 if (!wxPyCheckForApp()) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5046 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxString
*arg1
= 0 ;
5049 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5050 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5053 wxWindow
*arg4
= (wxWindow
*) NULL
;
5055 bool temp1
= false ;
5056 bool temp2
= false ;
5057 bool temp3
= false ;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5060 PyObject
* obj2
= 0 ;
5061 PyObject
* obj3
= 0 ;
5063 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5068 arg1
= wxString_in_helper(obj0
);
5069 if (arg1
== NULL
) SWIG_fail
;
5074 arg2
= wxString_in_helper(obj1
);
5075 if (arg2
== NULL
) SWIG_fail
;
5081 arg3
= wxString_in_helper(obj2
);
5082 if (arg3
== NULL
) SWIG_fail
;
5087 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5088 if (SWIG_arg_fail(4)) SWIG_fail
;
5091 if (!wxPyCheckForApp()) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5135 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxString
*arg1
= 0 ;
5138 wxString
*arg2
= 0 ;
5140 wxString
*arg4
= (wxString
*) 0 ;
5141 wxWindow
*arg5
= (wxWindow
*) NULL
;
5142 int arg6
= (int) -1 ;
5143 int arg7
= (int) -1 ;
5144 bool arg8
= (bool) true ;
5145 int arg9
= (int) 150 ;
5146 int arg10
= (int) 200 ;
5148 bool temp1
= false ;
5149 bool temp2
= false ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5152 PyObject
* obj2
= 0 ;
5153 PyObject
* obj3
= 0 ;
5154 PyObject
* obj4
= 0 ;
5155 PyObject
* obj5
= 0 ;
5156 PyObject
* obj6
= 0 ;
5157 PyObject
* obj7
= 0 ;
5158 PyObject
* obj8
= 0 ;
5160 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5165 arg1
= wxString_in_helper(obj0
);
5166 if (arg1
== NULL
) SWIG_fail
;
5170 arg2
= wxString_in_helper(obj1
);
5171 if (arg2
== NULL
) SWIG_fail
;
5175 arg3
= PyList_Size(obj2
);
5176 arg4
= wxString_LIST_helper(obj2
);
5177 if (arg4
== NULL
) SWIG_fail
;
5180 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(5)) SWIG_fail
;
5185 arg6
= (int)(SWIG_As_int(obj4
));
5186 if (SWIG_arg_fail(6)) SWIG_fail
;
5191 arg7
= (int)(SWIG_As_int(obj5
));
5192 if (SWIG_arg_fail(7)) SWIG_fail
;
5197 arg8
= (bool)(SWIG_As_bool(obj6
));
5198 if (SWIG_arg_fail(8)) SWIG_fail
;
5203 arg9
= (int)(SWIG_As_int(obj7
));
5204 if (SWIG_arg_fail(9)) SWIG_fail
;
5209 arg10
= (int)(SWIG_As_int(obj8
));
5210 if (SWIG_arg_fail(10)) SWIG_fail
;
5214 if (!wxPyCheckForApp()) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5237 if (arg4
) delete [] arg4
;
5250 if (arg4
) delete [] arg4
;
5256 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxString
*arg1
= 0 ;
5259 wxString
*arg2
= 0 ;
5261 wxString
*arg4
= (wxString
*) 0 ;
5262 wxWindow
*arg5
= (wxWindow
*) NULL
;
5263 int arg6
= (int) -1 ;
5264 int arg7
= (int) -1 ;
5265 bool arg8
= (bool) true ;
5266 int arg9
= (int) 150 ;
5267 int arg10
= (int) 200 ;
5269 bool temp1
= false ;
5270 bool temp2
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5275 PyObject
* obj4
= 0 ;
5276 PyObject
* obj5
= 0 ;
5277 PyObject
* obj6
= 0 ;
5278 PyObject
* obj7
= 0 ;
5279 PyObject
* obj8
= 0 ;
5281 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5286 arg1
= wxString_in_helper(obj0
);
5287 if (arg1
== NULL
) SWIG_fail
;
5291 arg2
= wxString_in_helper(obj1
);
5292 if (arg2
== NULL
) SWIG_fail
;
5296 arg3
= PyList_Size(obj2
);
5297 arg4
= wxString_LIST_helper(obj2
);
5298 if (arg4
== NULL
) SWIG_fail
;
5301 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5302 if (SWIG_arg_fail(5)) SWIG_fail
;
5306 arg6
= (int)(SWIG_As_int(obj4
));
5307 if (SWIG_arg_fail(6)) SWIG_fail
;
5312 arg7
= (int)(SWIG_As_int(obj5
));
5313 if (SWIG_arg_fail(7)) SWIG_fail
;
5318 arg8
= (bool)(SWIG_As_bool(obj6
));
5319 if (SWIG_arg_fail(8)) SWIG_fail
;
5324 arg9
= (int)(SWIG_As_int(obj7
));
5325 if (SWIG_arg_fail(9)) SWIG_fail
;
5330 arg10
= (int)(SWIG_As_int(obj8
));
5331 if (SWIG_arg_fail(10)) SWIG_fail
;
5335 if (!wxPyCheckForApp()) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5343 resultobj
= SWIG_From_int((int)(result
));
5354 if (arg4
) delete [] arg4
;
5367 if (arg4
) delete [] arg4
;
5373 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxString
*arg1
= 0 ;
5376 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5377 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5378 int arg3
= (int) wxOK
|wxCENTRE
;
5379 wxWindow
*arg4
= (wxWindow
*) NULL
;
5380 int arg5
= (int) -1 ;
5381 int arg6
= (int) -1 ;
5383 bool temp1
= false ;
5384 bool temp2
= false ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 PyObject
* obj2
= 0 ;
5388 PyObject
* obj3
= 0 ;
5389 PyObject
* obj4
= 0 ;
5390 PyObject
* obj5
= 0 ;
5392 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5397 arg1
= wxString_in_helper(obj0
);
5398 if (arg1
== NULL
) SWIG_fail
;
5403 arg2
= wxString_in_helper(obj1
);
5404 if (arg2
== NULL
) SWIG_fail
;
5410 arg3
= (int)(SWIG_As_int(obj2
));
5411 if (SWIG_arg_fail(3)) SWIG_fail
;
5415 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5416 if (SWIG_arg_fail(4)) SWIG_fail
;
5420 arg5
= (int)(SWIG_As_int(obj4
));
5421 if (SWIG_arg_fail(5)) SWIG_fail
;
5426 arg6
= (int)(SWIG_As_int(obj5
));
5427 if (SWIG_arg_fail(6)) SWIG_fail
;
5431 if (!wxPyCheckForApp()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= SWIG_From_int((int)(result
));
5463 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxString
*arg1
= 0 ;
5466 wxString
*arg2
= 0 ;
5467 wxString
*arg3
= 0 ;
5469 long arg5
= (long) 0 ;
5470 long arg6
= (long) 100 ;
5471 wxWindow
*arg7
= (wxWindow
*) NULL
;
5472 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5473 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5475 bool temp1
= false ;
5476 bool temp2
= false ;
5477 bool temp3
= false ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5481 PyObject
* obj2
= 0 ;
5482 PyObject
* obj3
= 0 ;
5483 PyObject
* obj4
= 0 ;
5484 PyObject
* obj5
= 0 ;
5485 PyObject
* obj6
= 0 ;
5486 PyObject
* obj7
= 0 ;
5488 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5493 arg1
= wxString_in_helper(obj0
);
5494 if (arg1
== NULL
) SWIG_fail
;
5498 arg2
= wxString_in_helper(obj1
);
5499 if (arg2
== NULL
) SWIG_fail
;
5503 arg3
= wxString_in_helper(obj2
);
5504 if (arg3
== NULL
) SWIG_fail
;
5508 arg4
= (long)(SWIG_As_long(obj3
));
5509 if (SWIG_arg_fail(4)) SWIG_fail
;
5513 arg5
= (long)(SWIG_As_long(obj4
));
5514 if (SWIG_arg_fail(5)) SWIG_fail
;
5519 arg6
= (long)(SWIG_As_long(obj5
));
5520 if (SWIG_arg_fail(6)) SWIG_fail
;
5524 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5525 if (SWIG_arg_fail(7)) SWIG_fail
;
5530 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5534 if (!wxPyCheckForApp()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_long((long)(result
));
5574 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5583 if (!wxPyCheckForApp()) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (bool)wxColourDisplay();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5599 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5608 if (!wxPyCheckForApp()) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (int)wxDisplayDepth();
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_From_int((int)(result
));
5624 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5633 if (!wxPyCheckForApp()) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (int)wxGetDisplayDepth();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_From_int((int)(result
));
5649 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 int *arg1
= (int *) 0 ;
5652 int *arg2
= (int *) 0 ;
5661 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5662 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5665 if (!wxPyCheckForApp()) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 wxDisplaySize(arg1
,arg2
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5674 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5675 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5676 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5683 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5692 if (!wxPyCheckForApp()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= wxGetDisplaySize();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 resultptr
= new wxSize((wxSize
&)(result
));
5702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5710 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 int *arg1
= (int *) 0 ;
5713 int *arg2
= (int *) 0 ;
5722 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5723 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5726 if (!wxPyCheckForApp()) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 wxDisplaySizeMM(arg1
,arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5735 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5736 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5737 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5744 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5753 if (!wxPyCheckForApp()) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= wxGetDisplaySizeMM();
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5762 resultptr
= new wxSize((wxSize
&)(result
));
5763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5771 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 int *arg1
= (int *) 0 ;
5774 int *arg2
= (int *) 0 ;
5775 int *arg3
= (int *) 0 ;
5776 int *arg4
= (int *) 0 ;
5789 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5790 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5791 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5792 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5795 if (!wxPyCheckForApp()) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 Py_INCREF(Py_None
); resultobj
= Py_None
;
5803 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5804 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5805 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5806 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5807 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5808 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5809 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5810 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5817 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5826 if (!wxPyCheckForApp()) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= wxGetClientDisplayRect();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5835 resultptr
= new wxRect((wxRect
&)(result
));
5836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5844 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxCursor
*arg1
= 0 ;
5847 PyObject
* obj0
= 0 ;
5849 (char *) "cursor", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5855 if (SWIG_arg_fail(1)) SWIG_fail
;
5857 SWIG_null_ref("wxCursor");
5859 if (SWIG_arg_fail(1)) SWIG_fail
;
5862 if (!wxPyCheckForApp()) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 Py_INCREF(Py_None
); resultobj
= Py_None
;
5876 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5885 if (!wxPyCheckForApp()) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (void *)wxGetXDisplay();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5899 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "cursor", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5910 if (SWIG_arg_fail(1)) SWIG_fail
;
5913 if (!wxPyCheckForApp()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 wxBeginBusyCursor(arg1
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 Py_INCREF(Py_None
); resultobj
= Py_None
;
5927 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5936 if (!wxPyCheckForApp()) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (wxWindow
*)wxGetActiveWindow();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= wxPyMake_wxObject(result
, 0);
5952 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5957 PyObject
* obj0
= 0 ;
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5965 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5968 if (!wxPyCheckForApp()) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= wxPyMake_wxObject(result
, 0);
5984 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5989 PyObject
* obj0
= 0 ;
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5997 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6000 if (!wxPyCheckForApp()) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= wxPyMake_wxObject(result
, 0);
6016 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxWindow
*arg1
= (wxWindow
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "win", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6027 if (SWIG_arg_fail(1)) SWIG_fail
;
6029 if (!wxPyCheckForApp()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= wxPyMake_wxObject(result
, 0);
6045 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxString
*arg1
= 0 ;
6049 bool temp1
= false ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "url", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6057 arg1
= wxString_in_helper(obj0
);
6058 if (arg1
== NULL
) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "key", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6096 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6097 if (SWIG_arg_fail(1)) SWIG_fail
;
6100 if (!wxPyCheckForApp()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6116 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6124 if (!wxPyCheckForApp()) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 wxWakeUpMainThread();
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6138 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6146 if (!wxPyCheckForApp()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6168 if (!wxPyCheckForApp()) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 Py_INCREF(Py_None
); resultobj
= Py_None
;
6182 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxMutexGuiLocker
*result
;
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6191 if (!wxPyCheckForApp()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6205 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6210 (char *) "self", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6233 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6235 return Py_BuildValue((char *)"");
6237 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (bool)wxThread_IsMain();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxString
*arg1
= 0 ;
6265 bool temp1
= false ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "tip", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6273 arg1
= wxString_in_helper(obj0
);
6274 if (arg1
== NULL
) SWIG_fail
;
6278 if (!wxPyCheckForApp()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= wxPyMake_wxObject(result
, 1);
6302 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6305 wxString
*arg2
= 0 ;
6306 bool temp2
= false ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6310 (char *) "self",(char *) "tip", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6317 arg2
= wxString_in_helper(obj1
);
6318 if (arg2
== NULL
) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SetTip((wxString
const &)*arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6343 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (arg1
)->GetTip();
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6375 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6386 if (SWIG_arg_fail(1)) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (wxWindow
*)(arg1
)->GetWindow();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= wxPyMake_wxObject(result
, 0);
6403 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "flag", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6413 arg1
= (bool)(SWIG_As_bool(obj0
));
6414 if (SWIG_arg_fail(1)) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 wxToolTip::Enable(arg1
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 Py_INCREF(Py_None
); resultobj
= Py_None
;
6430 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "milliseconds", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6440 arg1
= (long)(SWIG_As_long(obj0
));
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 wxToolTip::SetDelay(arg1
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6460 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6462 return Py_BuildValue((char *)"");
6464 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxWindow
*arg1
= (wxWindow
*) 0 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6473 (char *) "window",(char *) "size", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6478 if (SWIG_arg_fail(1)) SWIG_fail
;
6481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6484 if (!wxPyCheckForApp()) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6498 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxCaret
*arg1
= (wxCaret
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",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 wxCaret_Destroy(arg1
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 Py_INCREF(Py_None
); resultobj
= Py_None
;
6523 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxCaret
*arg1
= (wxCaret
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6534 if (SWIG_arg_fail(1)) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (bool)(arg1
)->IsOk();
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6551 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxCaret
*arg1
= (wxCaret
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (bool)(arg1
)->IsVisible();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxCaret
*arg1
= (wxCaret
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (arg1
)->GetPosition();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 wxPoint
* resultptr
;
6600 resultptr
= new wxPoint((wxPoint
&)(result
));
6601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6609 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxCaret
*arg1
= (wxCaret
*) 0 ;
6612 int *arg2
= (int *) 0 ;
6613 int *arg3
= (int *) 0 ;
6618 PyObject
* obj0
= 0 ;
6620 (char *) "self", NULL
6623 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6624 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6627 if (SWIG_arg_fail(1)) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->GetPosition(arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6637 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6638 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6639 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6646 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxCaret
*arg1
= (wxCaret
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6652 (char *) "self", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (arg1
)->GetSize();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6667 resultptr
= new wxSize((wxSize
&)(result
));
6668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6676 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxCaret
*arg1
= (wxCaret
*) 0 ;
6679 int *arg2
= (int *) 0 ;
6680 int *arg3
= (int *) 0 ;
6685 PyObject
* obj0
= 0 ;
6687 (char *) "self", NULL
6690 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6691 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6694 if (SWIG_arg_fail(1)) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 (arg1
)->GetSize(arg2
,arg3
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6704 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6705 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6706 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6713 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxCaret
*arg1
= (wxCaret
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6719 (char *) "self", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6724 if (SWIG_arg_fail(1)) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (wxWindow
*)(arg1
)->GetWindow();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= wxPyMake_wxObject(result
, 0);
6741 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxCaret
*arg1
= (wxCaret
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6748 PyObject
* obj2
= 0 ;
6750 (char *) "self",(char *) "x",(char *) "y", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6755 if (SWIG_arg_fail(1)) SWIG_fail
;
6757 arg2
= (int)(SWIG_As_int(obj1
));
6758 if (SWIG_arg_fail(2)) SWIG_fail
;
6761 arg3
= (int)(SWIG_As_int(obj2
));
6762 if (SWIG_arg_fail(3)) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->Move(arg2
,arg3
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxCaret
*arg1
= (wxCaret
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6786 (char *) "self",(char *) "pt", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6791 if (SWIG_arg_fail(1)) SWIG_fail
;
6794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 (arg1
)->Move((wxPoint
const &)*arg2
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 Py_INCREF(Py_None
); resultobj
= Py_None
;
6810 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxCaret
*arg1
= (wxCaret
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6817 PyObject
* obj2
= 0 ;
6819 (char *) "self",(char *) "width",(char *) "height", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail
;
6826 arg2
= (int)(SWIG_As_int(obj1
));
6827 if (SWIG_arg_fail(2)) SWIG_fail
;
6830 arg3
= (int)(SWIG_As_int(obj2
));
6831 if (SWIG_arg_fail(3)) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 (arg1
)->SetSize(arg2
,arg3
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxCaret
*arg1
= (wxCaret
*) 0 ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6855 (char *) "self",(char *) "size", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6860 if (SWIG_arg_fail(1)) SWIG_fail
;
6863 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetSize((wxSize
const &)*arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxCaret
*arg1
= (wxCaret
*) 0 ;
6882 int arg2
= (int) true ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "show", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 arg2
= (int)(SWIG_As_int(obj1
));
6895 if (SWIG_arg_fail(2)) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 Py_INCREF(Py_None
); resultobj
= Py_None
;
6912 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxCaret
*arg1
= (wxCaret
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6922 if (SWIG_arg_fail(1)) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (int)wxCaret::GetBlinkTime();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_From_int((int)(result
));
6961 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "milliseconds", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6971 arg1
= (int)(SWIG_As_int(obj0
));
6972 if (SWIG_arg_fail(1)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 wxCaret::SetBlinkTime(arg1
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6991 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6993 return Py_BuildValue((char *)"");
6995 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6998 wxBusyCursor
*result
;
6999 PyObject
* obj0
= 0 ;
7001 (char *) "cursor", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7007 if (SWIG_arg_fail(1)) SWIG_fail
;
7010 if (!wxPyCheckForApp()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7024 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7052 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7054 return Py_BuildValue((char *)"");
7056 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxWindow
*arg1
= (wxWindow
*) NULL
;
7059 wxWindowDisabler
*result
;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "winToSkip", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7068 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 if (!wxPyCheckForApp()) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7085 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "self", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7095 if (SWIG_arg_fail(1)) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7113 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7115 return Py_BuildValue((char *)"");
7117 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxString
*arg1
= 0 ;
7121 bool temp1
= false ;
7122 PyObject
* obj0
= 0 ;
7124 (char *) "message", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7129 arg1
= wxString_in_helper(obj0
);
7130 if (arg1
== NULL
) SWIG_fail
;
7134 if (!wxPyCheckForApp()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7156 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7184 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7186 return Py_BuildValue((char *)"");
7188 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxStopWatch
*result
;
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (wxStopWatch
*)new wxStopWatch();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7210 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7213 long arg2
= (long) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7217 (char *) "self",(char *) "t0", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7222 if (SWIG_arg_fail(1)) SWIG_fail
;
7225 arg2
= (long)(SWIG_As_long(obj1
));
7226 if (SWIG_arg_fail(2)) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->Start(arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7248 (char *) "self", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7253 if (SWIG_arg_fail(1)) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 Py_INCREF(Py_None
); resultobj
= Py_None
;
7268 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "self", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",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();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7304 if (SWIG_arg_fail(1)) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= SWIG_From_long((long)(result
));
7321 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7324 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7326 return Py_BuildValue((char *)"");
7328 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 int arg1
= (int) 9 ;
7331 int arg2
= (int) wxID_FILE1
;
7332 wxFileHistory
*result
;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "maxFiles",(char *) "idBase", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 arg1
= (int)(SWIG_As_int(obj0
));
7343 if (SWIG_arg_fail(1)) SWIG_fail
;
7348 arg2
= (int)(SWIG_As_int(obj1
));
7349 if (SWIG_arg_fail(2)) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7366 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "self", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7391 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7394 wxString
*arg2
= 0 ;
7395 bool temp2
= false ;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7399 (char *) "self",(char *) "file", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 arg2
= wxString_in_helper(obj1
);
7407 if (arg2
== NULL
) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7439 (char *) "self",(char *) "i", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7444 if (SWIG_arg_fail(1)) SWIG_fail
;
7446 arg2
= (int)(SWIG_As_int(obj1
));
7447 if (SWIG_arg_fail(2)) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 (arg1
)->RemoveFileFromHistory(arg2
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7469 (char *) "self", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_From_int((int)(result
));
7491 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7494 wxMenu
*arg2
= (wxMenu
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "self",(char *) "menu", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7503 if (SWIG_arg_fail(1)) SWIG_fail
;
7504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7505 if (SWIG_arg_fail(2)) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 (arg1
)->UseMenu(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 Py_INCREF(Py_None
); resultobj
= Py_None
;
7520 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7523 wxMenu
*arg2
= (wxMenu
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7527 (char *) "self",(char *) "menu", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail
;
7533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(2)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 (arg1
)->RemoveMenu(arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7552 wxConfigBase
*arg2
= 0 ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7556 (char *) "self",(char *) "config", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7561 if (SWIG_arg_fail(1)) SWIG_fail
;
7563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7564 if (SWIG_arg_fail(2)) SWIG_fail
;
7566 SWIG_null_ref("wxConfigBase");
7568 if (SWIG_arg_fail(2)) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 (arg1
)->Load(*arg2
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 Py_INCREF(Py_None
); resultobj
= Py_None
;
7584 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7587 wxConfigBase
*arg2
= 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7591 (char *) "self",(char *) "config", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7596 if (SWIG_arg_fail(1)) SWIG_fail
;
7598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7599 if (SWIG_arg_fail(2)) SWIG_fail
;
7601 SWIG_null_ref("wxConfigBase");
7603 if (SWIG_arg_fail(2)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 (arg1
)->Save(*arg2
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7629 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 (arg1
)->AddFilesToMenu();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7647 wxMenu
*arg2
= (wxMenu
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "menu", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail
;
7657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7658 if (SWIG_arg_fail(2)) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->AddFilesToMenu(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7679 PyObject
* obj1
= 0 ;
7681 (char *) "self",(char *) "i", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail
;
7688 arg2
= (int)(SWIG_As_int(obj1
));
7689 if (SWIG_arg_fail(2)) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7711 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "self", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_From_int((int)(result
));
7739 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7742 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7744 return Py_BuildValue((char *)"");
7746 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxString
*arg1
= 0 ;
7749 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7750 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7751 wxSingleInstanceChecker
*result
;
7752 bool temp1
= false ;
7753 bool temp2
= false ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7757 (char *) "name",(char *) "path", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 arg1
= wxString_in_helper(obj0
);
7763 if (arg1
== NULL
) SWIG_fail
;
7768 arg2
= wxString_in_helper(obj1
);
7769 if (arg2
== NULL
) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7803 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxSingleInstanceChecker
*result
;
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7825 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7830 (char *) "self", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 Py_INCREF(Py_None
); resultobj
= Py_None
;
7850 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7853 wxString
*arg2
= 0 ;
7854 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7855 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7857 bool temp2
= false ;
7858 bool temp3
= false ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 PyObject
* obj2
= 0 ;
7863 (char *) "self",(char *) "name",(char *) "path", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 arg2
= wxString_in_helper(obj1
);
7871 if (arg2
== NULL
) SWIG_fail
;
7876 arg3
= wxString_in_helper(obj2
);
7877 if (arg3
== NULL
) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7913 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 (char *) "self", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7941 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7944 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7946 return Py_BuildValue((char *)"");
7948 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxWindow
*arg1
= (wxWindow
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7956 (char *) "window",(char *) "dc", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail
;
7963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7964 if (SWIG_arg_fail(2)) SWIG_fail
;
7966 SWIG_null_ref("wxDC");
7968 if (SWIG_arg_fail(2)) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7986 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",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();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (arg1
)->GetTip();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8043 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (size_t)(arg1
)->GetCurrentTip();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8071 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8074 wxString
*arg2
= 0 ;
8076 bool temp2
= false ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8080 (char *) "self",(char *) "tip", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 arg2
= wxString_in_helper(obj1
);
8088 if (arg2
== NULL
) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8119 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8122 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8124 return Py_BuildValue((char *)"");
8126 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8129 wxPyTipProvider
*result
;
8130 PyObject
* obj0
= 0 ;
8132 (char *) "currentTip", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8137 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8138 if (SWIG_arg_fail(1)) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8154 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8157 PyObject
*arg2
= (PyObject
*) 0 ;
8158 PyObject
*arg3
= (PyObject
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8161 PyObject
* obj2
= 0 ;
8163 (char *) "self",(char *) "self",(char *) "_class", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8168 if (SWIG_arg_fail(1)) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8188 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8190 return Py_BuildValue((char *)"");
8192 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxWindow
*arg1
= (wxWindow
*) 0 ;
8195 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8196 bool arg3
= (bool) true ;
8198 PyObject
* obj0
= 0 ;
8199 PyObject
* obj1
= 0 ;
8200 PyObject
* obj2
= 0 ;
8202 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8207 if (SWIG_arg_fail(1)) SWIG_fail
;
8208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8209 if (SWIG_arg_fail(2)) SWIG_fail
;
8212 arg3
= (bool)(SWIG_As_bool(obj2
));
8213 if (SWIG_arg_fail(3)) SWIG_fail
;
8217 if (!wxPyCheckForApp()) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8233 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxString
*arg1
= 0 ;
8237 wxTipProvider
*result
;
8238 bool temp1
= false ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8242 (char *) "filename",(char *) "currentTip", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8247 arg1
= wxString_in_helper(obj0
);
8248 if (arg1
== NULL
) SWIG_fail
;
8252 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8253 if (SWIG_arg_fail(2)) SWIG_fail
;
8256 if (!wxPyCheckForApp()) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8278 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8281 int arg2
= (int) -1 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "owner",(char *) "id", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8292 if (SWIG_arg_fail(1)) SWIG_fail
;
8296 arg2
= (int)(SWIG_As_int(obj1
));
8297 if (SWIG_arg_fail(2)) SWIG_fail
;
8301 if (!wxPyCheckForApp()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8315 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8343 PyObject
*arg2
= (PyObject
*) 0 ;
8344 PyObject
*arg3
= (PyObject
*) 0 ;
8345 int arg4
= (int) 1 ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8348 PyObject
* obj2
= 0 ;
8349 PyObject
* obj3
= 0 ;
8351 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8356 if (SWIG_arg_fail(1)) SWIG_fail
;
8361 arg4
= (int)(SWIG_As_int(obj3
));
8362 if (SWIG_arg_fail(4)) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 Py_INCREF(Py_None
); resultobj
= Py_None
;
8379 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8382 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8383 int arg3
= (int) -1 ;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8386 PyObject
* obj2
= 0 ;
8388 (char *) "self",(char *) "owner",(char *) "id", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail
;
8394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8395 if (SWIG_arg_fail(2)) SWIG_fail
;
8398 arg3
= (int)(SWIG_As_int(obj2
));
8399 if (SWIG_arg_fail(3)) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->SetOwner(arg2
,arg3
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8419 wxEvtHandler
*result
;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8427 if (SWIG_arg_fail(1)) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= wxPyMake_wxObject(result
, 0);
8444 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8447 int arg2
= (int) -1 ;
8448 bool arg3
= (bool) false ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8452 PyObject
* obj2
= 0 ;
8454 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 arg2
= (int)(SWIG_As_int(obj1
));
8463 if (SWIG_arg_fail(2)) SWIG_fail
;
8468 arg3
= (bool)(SWIG_As_bool(obj2
));
8469 if (SWIG_arg_fail(3)) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8488 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",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();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 Py_INCREF(Py_None
); resultobj
= Py_None
;
8513 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
;
8515 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8517 PyObject
* obj0
= 0 ;
8519 (char *) "self", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8541 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8547 (char *) "self", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= SWIG_From_int((int)(result
));
8569 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8597 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8608 if (SWIG_arg_fail(1)) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_From_int((int)(result
));
8625 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8628 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8630 return Py_BuildValue((char *)"");
8632 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 int arg1
= (int) 0 ;
8635 int arg2
= (int) 0 ;
8636 wxTimerEvent
*result
;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "timerid",(char *) "interval", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8646 arg1
= (int)(SWIG_As_int(obj0
));
8647 if (SWIG_arg_fail(1)) SWIG_fail
;
8652 arg2
= (int)(SWIG_As_int(obj1
));
8653 if (SWIG_arg_fail(2)) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8670 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_From_int((int)(result
));
8698 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8701 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8703 return Py_BuildValue((char *)"");
8705 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8706 PyObject
*resultobj
;
8708 wxTimerRunner
*result
;
8709 PyObject
* obj0
= 0 ;
8711 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8714 if (SWIG_arg_fail(1)) SWIG_fail
;
8716 SWIG_null_ref("wxTimer");
8718 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 if (!wxPyCheckForApp()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8735 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8736 PyObject
*resultobj
;
8739 bool arg3
= (bool) false ;
8740 wxTimerRunner
*result
;
8741 PyObject
* obj0
= 0 ;
8742 PyObject
* obj1
= 0 ;
8743 PyObject
* obj2
= 0 ;
8745 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail
;
8750 SWIG_null_ref("wxTimer");
8752 if (SWIG_arg_fail(1)) SWIG_fail
;
8755 arg2
= (int)(SWIG_As_int(obj1
));
8756 if (SWIG_arg_fail(2)) SWIG_fail
;
8760 arg3
= (bool)(SWIG_As_bool(obj2
));
8761 if (SWIG_arg_fail(3)) SWIG_fail
;
8765 if (!wxPyCheckForApp()) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8779 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8784 argc
= PyObject_Length(args
);
8785 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8786 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8792 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8800 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8803 if ((argc
>= 2) && (argc
<= 3)) {
8807 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8815 _v
= SWIG_Check_int(argv
[1]);
8818 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8820 _v
= SWIG_Check_bool(argv
[2]);
8822 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8828 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8833 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 Py_INCREF(Py_None
); resultobj
= Py_None
;
8858 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8862 bool arg3
= (bool) false ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8867 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= (int)(SWIG_As_int(obj1
));
8875 if (SWIG_arg_fail(2)) SWIG_fail
;
8879 arg3
= (bool)(SWIG_As_bool(obj2
));
8880 if (SWIG_arg_fail(3)) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 (arg1
)->Start(arg2
,arg3
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 Py_INCREF(Py_None
); resultobj
= Py_None
;
8897 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8900 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8902 return Py_BuildValue((char *)"");
8904 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxLog
*)new wxLog();
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8926 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
;
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (bool)wxLog::IsEnabled();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8950 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 bool arg1
= (bool) true ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "doIt", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8962 arg1
= (bool)(SWIG_As_bool(obj0
));
8963 if (SWIG_arg_fail(1)) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (bool)wxLog::EnableLogging(arg1
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8982 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8985 wxChar
*arg2
= (wxChar
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8989 PyObject
* obj2
= 0 ;
8991 (char *) "level",(char *) "szString",(char *) "t", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8996 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8997 if (SWIG_arg_fail(1)) SWIG_fail
;
8999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9000 if (SWIG_arg_fail(2)) SWIG_fail
;
9002 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
9003 if (SWIG_arg_fail(3)) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxLog
*arg1
= (wxLog
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9024 (char *) "self", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 wxLog::FlushActive();
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 Py_INCREF(Py_None
); resultobj
= Py_None
;
9065 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (wxLog
*)wxLog::GetActiveTarget();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9087 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxLog
*arg1
= (wxLog
*) 0 ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "pLogger", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9098 if (SWIG_arg_fail(1)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9113 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9134 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 Py_INCREF(Py_None
); resultobj
= Py_None
;
9155 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 bool arg1
= (bool) true ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "bVerbose", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9166 arg1
= (bool)(SWIG_As_bool(obj0
));
9167 if (SWIG_arg_fail(1)) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxLog::SetVerbose(arg1
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "logLevel", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9194 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9195 if (SWIG_arg_fail(1)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 wxLog::SetLogLevel(arg1
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxLog::DontCreateOnDemand();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 Py_INCREF(Py_None
); resultobj
= Py_None
;
9232 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9235 PyObject
* obj0
= 0 ;
9237 (char *) "ulMask", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9242 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9243 if (SWIG_arg_fail(1)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 wxLog::SetTraceMask(arg1
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxString
*arg1
= 0 ;
9262 bool temp1
= false ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "str", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9270 arg1
= wxString_in_helper(obj0
);
9271 if (arg1
== NULL
) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 wxLog::AddTraceMask((wxString
const &)*arg1
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxString
*arg1
= 0 ;
9299 bool temp1
= false ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "str", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9307 arg1
= wxString_in_helper(obj0
);
9308 if (arg1
== NULL
) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 wxLog::ClearTraceMasks();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxArrayString
*result
;
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9366 result
= (wxArrayString
*) &_result_ref
;
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= wxArrayString2PyList_helper(*result
);
9381 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxChar
*arg1
= (wxChar
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 wxLog::SetTimestamp((wxChar
const *)arg1
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 Py_INCREF(Py_None
); resultobj
= Py_None
;
9406 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (bool)wxLog::GetVerbose();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9430 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxTraceMask
)wxLog::GetTraceMask();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9454 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxChar
*arg1
= (wxChar
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "mask", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9465 if (SWIG_arg_fail(1)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9482 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (wxLogLevel
)wxLog::GetLogLevel();
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9506 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (wxChar
*)wxLog::GetTimestamp();
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9528 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= Log_TimeStamp();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9556 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxLog
*arg1
= (wxLog
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 wxLog_Destroy(arg1
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 Py_INCREF(Py_None
); resultobj
= Py_None
;
9581 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9584 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9586 return Py_BuildValue((char *)"");
9588 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxLogStderr
*result
;
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (wxLogStderr
*)new wxLogStderr();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9610 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9613 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9615 return Py_BuildValue((char *)"");
9617 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9620 wxLogTextCtrl
*result
;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "pTextCtrl", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9643 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9646 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9648 return Py_BuildValue((char *)"");
9650 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (wxLogGui
*)new wxLogGui();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9672 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9675 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9677 return Py_BuildValue((char *)"");
9679 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxFrame
*arg1
= (wxFrame
*) 0 ;
9682 wxString
*arg2
= 0 ;
9683 bool arg3
= (bool) true ;
9684 bool arg4
= (bool) true ;
9685 wxLogWindow
*result
;
9686 bool temp2
= false ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 PyObject
* obj2
= 0 ;
9690 PyObject
* obj3
= 0 ;
9692 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(1)) SWIG_fail
;
9699 arg2
= wxString_in_helper(obj1
);
9700 if (arg2
== NULL
) SWIG_fail
;
9705 arg3
= (bool)(SWIG_As_bool(obj2
));
9706 if (SWIG_arg_fail(3)) SWIG_fail
;
9711 arg4
= (bool)(SWIG_As_bool(obj3
));
9712 if (SWIG_arg_fail(4)) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9737 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9740 bool arg2
= (bool) true ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9744 (char *) "self",(char *) "bShow", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail
;
9752 arg2
= (bool)(SWIG_As_bool(obj1
));
9753 if (SWIG_arg_fail(2)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 Py_INCREF(Py_None
); resultobj
= Py_None
;
9770 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= wxPyMake_wxObject(result
, 0);
9798 static PyObject
*_wrap_LogWindow_GetOldLog(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_GetOldLog",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
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9824 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9852 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9859 (char *) "self",(char *) "bDoPass", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 arg2
= (bool)(SWIG_As_bool(obj1
));
9867 if (SWIG_arg_fail(2)) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 (arg1
)->PassMessages(arg2
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 Py_INCREF(Py_None
); resultobj
= Py_None
;
9883 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9886 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9888 return Py_BuildValue((char *)"");
9890 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxLog
*arg1
= (wxLog
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "logger", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (wxLogChain
*)new wxLogChain(arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9916 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9919 wxLog
*arg2
= (wxLog
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9923 (char *) "self",(char *) "logger", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(2)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 (arg1
)->SetLog(arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9945 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9952 (char *) "self",(char *) "bDoPass", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 arg2
= (bool)(SWIG_As_bool(obj1
));
9960 if (SWIG_arg_fail(2)) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 (arg1
)->PassMessages(arg2
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 Py_INCREF(Py_None
); resultobj
= Py_None
;
9976 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9987 if (SWIG_arg_fail(1)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (bool)(arg1
)->IsPassingMessages();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10015 if (SWIG_arg_fail(1)) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (wxLog
*)(arg1
)->GetOldLog();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10030 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10033 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10035 return Py_BuildValue((char *)"");
10037 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 unsigned long result
;
10040 char *kwnames
[] = {
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= (unsigned long)wxSysErrorCode();
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10061 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 unsigned long arg1
= (unsigned long) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "nErrCode", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10073 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= wxSysErrorMsg(arg1
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10097 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxString
*arg1
= 0 ;
10100 bool temp1
= false ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "msg", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10108 arg1
= wxString_in_helper(obj0
);
10109 if (arg1
== NULL
) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 wxPyLogFatalError((wxString
const &)*arg1
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 Py_INCREF(Py_None
); resultobj
= Py_None
;
10134 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxString
*arg1
= 0 ;
10137 bool temp1
= false ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "msg", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10145 arg1
= wxString_in_helper(obj0
);
10146 if (arg1
== NULL
) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 wxPyLogError((wxString
const &)*arg1
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10171 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxString
*arg1
= 0 ;
10174 bool temp1
= false ;
10175 PyObject
* obj0
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "msg", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10182 arg1
= wxString_in_helper(obj0
);
10183 if (arg1
== NULL
) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 wxPyLogWarning((wxString
const &)*arg1
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxString
*arg1
= 0 ;
10211 bool temp1
= false ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "msg", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10219 arg1
= wxString_in_helper(obj0
);
10220 if (arg1
== NULL
) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 wxPyLogMessage((wxString
const &)*arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10245 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxString
*arg1
= 0 ;
10248 bool temp1
= false ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "msg", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10256 arg1
= wxString_in_helper(obj0
);
10257 if (arg1
== NULL
) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 wxPyLogInfo((wxString
const &)*arg1
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxString
*arg1
= 0 ;
10285 bool temp1
= false ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "msg", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10293 arg1
= wxString_in_helper(obj0
);
10294 if (arg1
== NULL
) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 wxPyLogDebug((wxString
const &)*arg1
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxString
*arg1
= 0 ;
10322 bool temp1
= false ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "msg", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10330 arg1
= wxString_in_helper(obj0
);
10331 if (arg1
== NULL
) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 wxPyLogVerbose((wxString
const &)*arg1
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10356 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxString
*arg1
= 0 ;
10359 bool temp1
= false ;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "msg", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10367 arg1
= wxString_in_helper(obj0
);
10368 if (arg1
== NULL
) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 wxPyLogStatus((wxString
const &)*arg1
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxFrame
*arg1
= (wxFrame
*) 0 ;
10396 wxString
*arg2
= 0 ;
10397 bool temp2
= false ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "pFrame",(char *) "msg", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10406 if (SWIG_arg_fail(1)) SWIG_fail
;
10408 arg2
= wxString_in_helper(obj1
);
10409 if (arg2
== NULL
) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 Py_INCREF(Py_None
); resultobj
= Py_None
;
10434 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxString
*arg1
= 0 ;
10437 bool temp1
= false ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "msg", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10445 arg1
= wxString_in_helper(obj0
);
10446 if (arg1
== NULL
) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 wxPyLogSysError((wxString
const &)*arg1
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 Py_INCREF(Py_None
); resultobj
= Py_None
;
10471 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 unsigned long arg1
;
10474 wxString
*arg2
= 0 ;
10475 bool temp2
= false ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "level",(char *) "msg", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10484 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10485 if (SWIG_arg_fail(1)) SWIG_fail
;
10488 arg2
= wxString_in_helper(obj1
);
10489 if (arg2
== NULL
) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 Py_INCREF(Py_None
); resultobj
= Py_None
;
10514 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10515 PyObject
*resultobj
;
10516 unsigned long arg1
;
10517 wxString
*arg2
= 0 ;
10518 bool temp2
= false ;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10522 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10524 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10525 if (SWIG_arg_fail(1)) SWIG_fail
;
10528 arg2
= wxString_in_helper(obj1
);
10529 if (arg2
== NULL
) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10554 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10555 PyObject
*resultobj
;
10556 wxString
*arg1
= 0 ;
10557 wxString
*arg2
= 0 ;
10558 bool temp1
= false ;
10559 bool temp2
= false ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10563 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10565 arg1
= wxString_in_helper(obj0
);
10566 if (arg1
== NULL
) SWIG_fail
;
10570 arg2
= wxString_in_helper(obj1
);
10571 if (arg2
== NULL
) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 Py_INCREF(Py_None
); resultobj
= Py_None
;
10604 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10609 argc
= PyObject_Length(args
);
10610 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10611 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10616 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10620 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10623 return _wrap_LogTrace__SWIG_1(self
,args
);
10629 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10632 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10635 return _wrap_LogTrace__SWIG_0(self
,args
);
10640 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10645 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxString
*arg1
= 0 ;
10648 wxString
*arg2
= 0 ;
10649 bool temp1
= false ;
10650 bool temp2
= false ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "title",(char *) "text", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10659 arg1
= wxString_in_helper(obj0
);
10660 if (arg1
== NULL
) SWIG_fail
;
10664 arg2
= wxString_in_helper(obj1
);
10665 if (arg2
== NULL
) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10701 char *kwnames
[] = {
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxLogNull
*)new wxLogNull();
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10720 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10730 if (SWIG_arg_fail(1)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 Py_INCREF(Py_None
); resultobj
= Py_None
;
10745 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10748 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10750 return Py_BuildValue((char *)"");
10752 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10755 char *kwnames
[] = {
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (wxPyLog
*)new wxPyLog();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10774 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10777 PyObject
*arg2
= (PyObject
*) 0 ;
10778 PyObject
*arg3
= (PyObject
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 PyObject
* obj2
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "self",(char *) "_class", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10808 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10810 return Py_BuildValue((char *)"");
10812 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10815 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10816 int arg3
= (int) wxKILL_NOCHILDREN
;
10817 wxKillError result
;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10827 arg1
= (int)(SWIG_As_int(obj0
));
10828 if (SWIG_arg_fail(1)) SWIG_fail
;
10832 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10833 if (SWIG_arg_fail(2)) SWIG_fail
;
10838 arg3
= (int)(SWIG_As_int(obj2
));
10839 if (SWIG_arg_fail(3)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_From_int((result
));
10856 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "pid", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10867 arg1
= (int)(SWIG_As_int(obj0
));
10868 if (SWIG_arg_fail(1)) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (bool)wxPyProcess::Exists(arg1
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10886 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxString
*arg1
= 0 ;
10889 int arg2
= (int) wxEXEC_ASYNC
;
10890 wxPyProcess
*result
;
10891 bool temp1
= false ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "cmd",(char *) "flags", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10900 arg1
= wxString_in_helper(obj0
);
10901 if (arg1
== NULL
) SWIG_fail
;
10906 arg2
= (int)(SWIG_As_int(obj1
));
10907 if (SWIG_arg_fail(2)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10932 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10935 int arg2
= (int) -1 ;
10936 wxPyProcess
*result
;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "parent",(char *) "id", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail
;
10950 arg2
= (int)(SWIG_As_int(obj1
));
10951 if (SWIG_arg_fail(2)) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10968 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10971 PyObject
*arg2
= (PyObject
*) 0 ;
10972 PyObject
*arg3
= (PyObject
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "self",(char *) "_class", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "pid",(char *) "status", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 arg2
= (int)(SWIG_As_int(obj1
));
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11019 arg3
= (int)(SWIG_As_int(obj2
));
11020 if (SWIG_arg_fail(3)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 (arg1
)->base_OnTerminate(arg2
,arg3
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 Py_INCREF(Py_None
); resultobj
= Py_None
;
11036 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",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 (arg1
)->Redirect();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)(arg1
)->IsRedirected();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11089 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",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();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11117 wxInputStream
*result
;
11118 PyObject
* obj0
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 wxPyInputStream
* _ptr
= NULL
;
11137 _ptr
= new wxPyInputStream(result
);
11139 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11147 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11150 wxInputStream
*result
;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11158 if (SWIG_arg_fail(1)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 wxPyInputStream
* _ptr
= NULL
;
11170 _ptr
= new wxPyInputStream(result
);
11172 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11180 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11183 wxOutputStream
*result
;
11184 PyObject
* obj0
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11191 if (SWIG_arg_fail(1)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11206 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11209 PyObject
* obj0
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",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 (arg1
)->CloseOutput();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11287 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11298 if (SWIG_arg_fail(1)) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11315 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11318 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11320 return Py_BuildValue((char *)"");
11322 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 int arg1
= (int) 0 ;
11325 int arg2
= (int) 0 ;
11326 int arg3
= (int) 0 ;
11327 wxProcessEvent
*result
;
11328 PyObject
* obj0
= 0 ;
11329 PyObject
* obj1
= 0 ;
11330 PyObject
* obj2
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11338 arg1
= (int)(SWIG_As_int(obj0
));
11339 if (SWIG_arg_fail(1)) SWIG_fail
;
11344 arg2
= (int)(SWIG_As_int(obj1
));
11345 if (SWIG_arg_fail(2)) SWIG_fail
;
11350 arg3
= (int)(SWIG_As_int(obj2
));
11351 if (SWIG_arg_fail(3)) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11368 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11379 if (SWIG_arg_fail(1)) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (int)(arg1
)->GetPid();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= SWIG_From_int((int)(result
));
11396 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11407 if (SWIG_arg_fail(1)) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (int)(arg1
)->GetExitCode();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= SWIG_From_int((int)(result
));
11424 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self",(char *) "m_pid", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11436 if (SWIG_arg_fail(1)) SWIG_fail
;
11438 arg2
= (int)(SWIG_As_int(obj1
));
11439 if (SWIG_arg_fail(2)) SWIG_fail
;
11441 if (arg1
) (arg1
)->m_pid
= arg2
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail
;
11462 result
= (int) ((arg1
)->m_pid
);
11465 resultobj
= SWIG_From_int((int)(result
));
11473 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self",(char *) "m_exitcode", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail
;
11487 arg2
= (int)(SWIG_As_int(obj1
));
11488 if (SWIG_arg_fail(2)) SWIG_fail
;
11490 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11511 result
= (int) ((arg1
)->m_exitcode
);
11514 resultobj
= SWIG_From_int((int)(result
));
11522 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11525 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11527 return Py_BuildValue((char *)"");
11529 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxString
*arg1
= 0 ;
11532 int arg2
= (int) wxEXEC_ASYNC
;
11533 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11535 bool temp1
= false ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 PyObject
* obj2
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "command",(char *) "flags",(char *) "process", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11545 arg1
= wxString_in_helper(obj0
);
11546 if (arg1
== NULL
) SWIG_fail
;
11551 arg2
= (int)(SWIG_As_int(obj1
));
11552 if (SWIG_arg_fail(2)) SWIG_fail
;
11556 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11557 if (SWIG_arg_fail(3)) SWIG_fail
;
11560 if (!wxPyCheckForApp()) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_long((long)(result
));
11584 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11587 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11588 wxKillError
*arg3
= (wxKillError
*) 0 ;
11589 int arg4
= (int) wxKILL_NOCHILDREN
;
11591 wxKillError temp3
;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 PyObject
* obj2
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11604 arg1
= (long)(SWIG_As_long(obj0
));
11605 if (SWIG_arg_fail(1)) SWIG_fail
;
11609 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11610 if (SWIG_arg_fail(2)) SWIG_fail
;
11615 arg4
= (int)(SWIG_As_int(obj2
));
11616 if (SWIG_arg_fail(4)) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_From_int((int)(result
));
11631 o
= PyInt_FromLong((long) (*arg3
));
11632 resultobj
= t_output_helper(resultobj
, o
);
11640 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 int arg1
= (int) wxJOYSTICK1
;
11643 wxJoystick
*result
;
11644 PyObject
* obj0
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "joystick", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11652 arg1
= (int)(SWIG_As_int(obj0
));
11653 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxJoystick
*)new wxJoystick(arg1
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11671 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",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();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 Py_INCREF(Py_None
); resultobj
= Py_None
;
11696 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11700 PyObject
* obj0
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11707 if (SWIG_arg_fail(1)) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (arg1
)->GetPosition();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 wxPoint
* resultptr
;
11717 resultptr
= new wxPoint((wxPoint
&)(result
));
11718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11726 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11737 if (SWIG_arg_fail(1)) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->GetZPosition();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_From_int((int)(result
));
11754 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)(arg1
)->GetButtonState();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_From_int((int)(result
));
11782 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)(arg1
)->GetPOVPosition();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_From_int((int)(result
));
11810 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11821 if (SWIG_arg_fail(1)) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (int)(arg1
)->GetPOVCTSPosition();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= SWIG_From_int((int)(result
));
11838 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "self", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11849 if (SWIG_arg_fail(1)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)(arg1
)->GetRudderPosition();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int((int)(result
));
11866 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (int)(arg1
)->GetUPosition();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_From_int((int)(result
));
11894 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (int)(arg1
)->GetVPosition();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_From_int((int)(result
));
11922 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 char *kwnames
[] = {
11928 (char *) "self", NULL
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (int)(arg1
)->GetMovementThreshold();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_From_int((int)(result
));
11950 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "threshold", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 arg2
= (int)(SWIG_As_int(obj1
));
11965 if (SWIG_arg_fail(2)) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->SetMovementThreshold(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11992 if (SWIG_arg_fail(1)) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (bool)(arg1
)->IsOk();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12009 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)(arg1
)->GetNumberJoysticks();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_From_int((int)(result
));
12037 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)(arg1
)->GetManufacturerId();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_From_int((int)(result
));
12065 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (int)(arg1
)->GetProductId();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_From_int((int)(result
));
12093 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (arg1
)->GetProductName();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12125 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (int)(arg1
)->GetXMin();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_From_int((int)(result
));
12153 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (int)(arg1
)->GetYMin();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_From_int((int)(result
));
12181 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (int)(arg1
)->GetZMin();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_From_int((int)(result
));
12209 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12220 if (SWIG_arg_fail(1)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (int)(arg1
)->GetXMax();
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_From_int((int)(result
));
12237 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (int)(arg1
)->GetYMax();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_From_int((int)(result
));
12265 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12276 if (SWIG_arg_fail(1)) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (int)(arg1
)->GetZMax();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_From_int((int)(result
));
12293 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (int)(arg1
)->GetNumberButtons();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_From_int((int)(result
));
12321 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12332 if (SWIG_arg_fail(1)) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (int)(arg1
)->GetNumberAxes();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_From_int((int)(result
));
12349 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12360 if (SWIG_arg_fail(1)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (int)(arg1
)->GetMaxButtons();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_From_int((int)(result
));
12377 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12388 if (SWIG_arg_fail(1)) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (int)(arg1
)->GetMaxAxes();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_From_int((int)(result
));
12405 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12416 if (SWIG_arg_fail(1)) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (int)(arg1
)->GetPollingMin();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_From_int((int)(result
));
12433 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12444 if (SWIG_arg_fail(1)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (int)(arg1
)->GetPollingMax();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_From_int((int)(result
));
12461 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12472 if (SWIG_arg_fail(1)) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (int)(arg1
)->GetRudderMin();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_From_int((int)(result
));
12489 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12500 if (SWIG_arg_fail(1)) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (int)(arg1
)->GetRudderMax();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= SWIG_From_int((int)(result
));
12517 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (int)(arg1
)->GetUMin();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_From_int((int)(result
));
12545 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12556 if (SWIG_arg_fail(1)) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (int)(arg1
)->GetUMax();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int((int)(result
));
12573 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (int)(arg1
)->GetVMin();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= SWIG_From_int((int)(result
));
12601 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (int)(arg1
)->GetVMax();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_From_int((int)(result
));
12629 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12640 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (bool)(arg1
)->HasRudder();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12657 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12668 if (SWIG_arg_fail(1)) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (bool)(arg1
)->HasZ();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12685 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12696 if (SWIG_arg_fail(1)) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (bool)(arg1
)->HasU();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12713 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (bool)(arg1
)->HasV();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12741 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12752 if (SWIG_arg_fail(1)) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (bool)(arg1
)->HasPOV();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12769 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (bool)(arg1
)->HasPOV4Dir();
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12797 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12801 PyObject
* obj0
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12808 if (SWIG_arg_fail(1)) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (bool)(arg1
)->HasPOVCTS();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12825 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12828 wxWindow
*arg2
= (wxWindow
*) 0 ;
12829 int arg3
= (int) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 PyObject
* obj2
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12842 if (SWIG_arg_fail(2)) SWIG_fail
;
12845 arg3
= (int)(SWIG_As_int(obj2
));
12846 if (SWIG_arg_fail(3)) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12876 if (SWIG_arg_fail(1)) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (bool)(arg1
)->ReleaseCapture();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12893 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12896 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12898 return Py_BuildValue((char *)"");
12900 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12903 int arg2
= (int) 0 ;
12904 int arg3
= (int) wxJOYSTICK1
;
12905 int arg4
= (int) 0 ;
12906 wxJoystickEvent
*result
;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 PyObject
* obj2
= 0 ;
12910 PyObject
* obj3
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12918 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12919 if (SWIG_arg_fail(1)) SWIG_fail
;
12924 arg2
= (int)(SWIG_As_int(obj1
));
12925 if (SWIG_arg_fail(2)) SWIG_fail
;
12930 arg3
= (int)(SWIG_As_int(obj2
));
12931 if (SWIG_arg_fail(3)) SWIG_fail
;
12936 arg4
= (int)(SWIG_As_int(obj3
));
12937 if (SWIG_arg_fail(4)) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12954 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12965 if (SWIG_arg_fail(1)) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 wxPoint
* resultptr
;
12975 resultptr
= new wxPoint((wxPoint
&)(result
));
12976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12984 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12995 if (SWIG_arg_fail(1)) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= SWIG_From_int((int)(result
));
13012 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_From_int((int)(result
));
13040 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_From_int((int)(result
));
13068 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13079 if (SWIG_arg_fail(1)) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_From_int((int)(result
));
13096 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "stick", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13108 if (SWIG_arg_fail(1)) SWIG_fail
;
13110 arg2
= (int)(SWIG_As_int(obj1
));
13111 if (SWIG_arg_fail(2)) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 (arg1
)->SetJoystick(arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 Py_INCREF(Py_None
); resultobj
= Py_None
;
13127 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self",(char *) "state", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13139 if (SWIG_arg_fail(1)) SWIG_fail
;
13141 arg2
= (int)(SWIG_As_int(obj1
));
13142 if (SWIG_arg_fail(2)) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 (arg1
)->SetButtonState(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "change", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail
;
13172 arg2
= (int)(SWIG_As_int(obj1
));
13173 if (SWIG_arg_fail(2)) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 (arg1
)->SetButtonChange(arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 Py_INCREF(Py_None
); resultobj
= Py_None
;
13189 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13192 wxPoint
*arg2
= 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "pos", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13202 if (SWIG_arg_fail(1)) SWIG_fail
;
13205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "zPos", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail
;
13235 arg2
= (int)(SWIG_As_int(obj1
));
13236 if (SWIG_arg_fail(2)) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 (arg1
)->SetZPosition(arg2
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13252 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13280 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13308 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13312 PyObject
* obj0
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13319 if (SWIG_arg_fail(1)) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13336 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13339 int arg2
= (int) wxJOY_BUTTON_ANY
;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "but", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13349 if (SWIG_arg_fail(1)) SWIG_fail
;
13352 arg2
= (int)(SWIG_As_int(obj1
));
13353 if (SWIG_arg_fail(2)) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13372 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13375 int arg2
= (int) wxJOY_BUTTON_ANY
;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "but", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13385 if (SWIG_arg_fail(1)) SWIG_fail
;
13388 arg2
= (int)(SWIG_As_int(obj1
));
13389 if (SWIG_arg_fail(2)) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13408 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13411 int arg2
= (int) wxJOY_BUTTON_ANY
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "but", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13421 if (SWIG_arg_fail(1)) SWIG_fail
;
13424 arg2
= (int)(SWIG_As_int(obj1
));
13425 if (SWIG_arg_fail(2)) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13444 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13447 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13449 return Py_BuildValue((char *)"");
13451 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13454 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13456 bool temp1
= false ;
13457 PyObject
* obj0
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "fileName", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13465 arg1
= wxString_in_helper(obj0
);
13466 if (arg1
== NULL
) SWIG_fail
;
13471 if (!wxPyCheckForApp()) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13493 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 PyObject
*arg1
= (PyObject
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "data", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13505 if (!wxPyCheckForApp()) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (wxSound
*)new_wxSound(arg1
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13519 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxSound
*arg1
= (wxSound
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13529 if (SWIG_arg_fail(1)) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxSound
*arg1
= (wxSound
*) 0 ;
13547 wxString
*arg2
= 0 ;
13549 bool temp2
= false ;
13550 PyObject
* obj0
= 0 ;
13551 PyObject
* obj1
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self",(char *) "fileName", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13558 if (SWIG_arg_fail(1)) SWIG_fail
;
13560 arg2
= wxString_in_helper(obj1
);
13561 if (arg2
== NULL
) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13588 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxSound
*arg1
= (wxSound
*) 0 ;
13591 PyObject
*arg2
= (PyObject
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "data", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13619 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxSound
*arg1
= (wxSound
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13630 if (SWIG_arg_fail(1)) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (bool)(arg1
)->IsOk();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13647 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxSound
*arg1
= (wxSound
*) 0 ;
13650 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self",(char *) "flags", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13660 if (SWIG_arg_fail(1)) SWIG_fail
;
13663 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13664 if (SWIG_arg_fail(2)) SWIG_fail
;
13668 if (!wxPyCheckForApp()) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13684 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxString
*arg1
= 0 ;
13687 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13689 bool temp1
= false ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "filename",(char *) "flags", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13698 arg1
= wxString_in_helper(obj0
);
13699 if (arg1
== NULL
) SWIG_fail
;
13704 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13705 if (SWIG_arg_fail(2)) SWIG_fail
;
13709 if (!wxPyCheckForApp()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13733 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 char *kwnames
[] = {
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13741 if (!wxPyCheckForApp()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13755 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13758 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13760 return Py_BuildValue((char *)"");
13762 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxString
*arg1
= 0 ;
13765 wxString
*arg2
= 0 ;
13766 wxString
*arg3
= 0 ;
13767 wxString
*arg4
= 0 ;
13768 wxFileTypeInfo
*result
;
13769 bool temp1
= false ;
13770 bool temp2
= false ;
13771 bool temp3
= false ;
13772 bool temp4
= false ;
13773 PyObject
* obj0
= 0 ;
13774 PyObject
* obj1
= 0 ;
13775 PyObject
* obj2
= 0 ;
13776 PyObject
* obj3
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13783 arg1
= wxString_in_helper(obj0
);
13784 if (arg1
== NULL
) SWIG_fail
;
13788 arg2
= wxString_in_helper(obj1
);
13789 if (arg2
== NULL
) SWIG_fail
;
13793 arg3
= wxString_in_helper(obj2
);
13794 if (arg3
== NULL
) SWIG_fail
;
13798 arg4
= wxString_in_helper(obj3
);
13799 if (arg4
== NULL
) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13848 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxArrayString
*arg1
= 0 ;
13851 wxFileTypeInfo
*result
;
13852 bool temp1
= false ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "sArray", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13860 if (! PySequence_Check(obj0
)) {
13861 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13864 arg1
= new wxArrayString
;
13866 int i
, len
=PySequence_Length(obj0
);
13867 for (i
=0; i
<len
; i
++) {
13868 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13869 wxString
* s
= wxString_in_helper(item
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13885 if (temp1
) delete arg1
;
13890 if (temp1
) delete arg1
;
13896 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxFileTypeInfo
*result
;
13899 char *kwnames
[] = {
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13918 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13929 if (SWIG_arg_fail(1)) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13946 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13949 wxString
*arg2
= 0 ;
13950 int arg3
= (int) 0 ;
13951 bool temp2
= false ;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 PyObject
* obj2
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail
;
13963 arg2
= wxString_in_helper(obj1
);
13964 if (arg2
== NULL
) SWIG_fail
;
13969 arg3
= (int)(SWIG_As_int(obj2
));
13970 if (SWIG_arg_fail(3)) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 Py_INCREF(Py_None
); resultobj
= Py_None
;
13995 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13998 wxString
*arg2
= 0 ;
13999 bool temp2
= false ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self",(char *) "shortDesc", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14008 if (SWIG_arg_fail(1)) SWIG_fail
;
14010 arg2
= wxString_in_helper(obj1
);
14011 if (arg2
== NULL
) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 Py_INCREF(Py_None
); resultobj
= Py_None
;
14036 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14040 PyObject
* obj0
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14052 result
= (wxString
*) &_result_ref
;
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14071 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14082 if (SWIG_arg_fail(1)) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14087 result
= (wxString
*) &_result_ref
;
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14106 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14122 result
= (wxString
*) &_result_ref
;
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14141 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14145 PyObject
* obj0
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14152 if (SWIG_arg_fail(1)) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14157 result
= (wxString
*) &_result_ref
;
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14167 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14176 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14192 result
= (wxString
*) &_result_ref
;
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14202 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14211 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14214 wxArrayString
*result
;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14227 result
= (wxArrayString
*) &_result_ref
;
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= wxArrayString2PyList_helper(*result
);
14242 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_From_int((int)(result
));
14270 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14286 result
= (wxString
*) &_result_ref
;
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14305 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14316 if (SWIG_arg_fail(1)) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_From_int((int)(result
));
14333 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14336 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14338 return Py_BuildValue((char *)"");
14340 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxFileTypeInfo
*arg1
= 0 ;
14343 wxFileType
*result
;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "ftInfo", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail
;
14353 if (arg1
== NULL
) {
14354 SWIG_null_ref("wxFileTypeInfo");
14356 if (SWIG_arg_fail(1)) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14372 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxFileType
*arg1
= (wxFileType
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14382 if (SWIG_arg_fail(1)) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 Py_INCREF(Py_None
); resultobj
= Py_None
;
14397 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxFileType
*arg1
= (wxFileType
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14408 if (SWIG_arg_fail(1)) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
;
14423 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxFileType
*arg1
= (wxFileType
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14434 if (SWIG_arg_fail(1)) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
;
14449 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxFileType
*arg1
= (wxFileType
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
;
14475 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxFileType
*arg1
= (wxFileType
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14486 if (SWIG_arg_fail(1)) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14501 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxFileType
*arg1
= (wxFileType
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14512 if (SWIG_arg_fail(1)) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
;
14527 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxFileType
*arg1
= (wxFileType
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14538 if (SWIG_arg_fail(1)) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
;
14553 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxFileType
*arg1
= (wxFileType
*) 0 ;
14556 wxString
*arg2
= 0 ;
14557 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14558 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14560 bool temp2
= false ;
14561 bool temp3
= false ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 PyObject
* obj2
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14571 if (SWIG_arg_fail(1)) SWIG_fail
;
14573 arg2
= wxString_in_helper(obj1
);
14574 if (arg2
== NULL
) SWIG_fail
;
14579 arg3
= wxString_in_helper(obj2
);
14580 if (arg3
== NULL
) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
;
14614 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxFileType
*arg1
= (wxFileType
*) 0 ;
14617 wxString
*arg2
= 0 ;
14618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14621 bool temp2
= false ;
14622 bool temp3
= false ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 PyObject
* obj2
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14632 if (SWIG_arg_fail(1)) SWIG_fail
;
14634 arg2
= wxString_in_helper(obj1
);
14635 if (arg2
== NULL
) SWIG_fail
;
14640 arg3
= wxString_in_helper(obj2
);
14641 if (arg3
== NULL
) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
;
14675 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxFileType
*arg1
= (wxFileType
*) 0 ;
14678 wxString
*arg2
= 0 ;
14679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14682 bool temp2
= false ;
14683 bool temp3
= false ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 PyObject
* obj2
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14693 if (SWIG_arg_fail(1)) SWIG_fail
;
14695 arg2
= wxString_in_helper(obj1
);
14696 if (arg2
== NULL
) SWIG_fail
;
14701 arg3
= wxString_in_helper(obj2
);
14702 if (arg3
== NULL
) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= result
;
14736 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxFileType
*arg1
= (wxFileType
*) 0 ;
14739 wxString
*arg2
= 0 ;
14740 wxString
*arg3
= 0 ;
14741 bool arg4
= (bool) true ;
14743 bool temp2
= false ;
14744 bool temp3
= false ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 PyObject
* obj2
= 0 ;
14748 PyObject
* obj3
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail
;
14757 arg2
= wxString_in_helper(obj1
);
14758 if (arg2
== NULL
) SWIG_fail
;
14762 arg3
= wxString_in_helper(obj2
);
14763 if (arg3
== NULL
) SWIG_fail
;
14768 arg4
= (bool)(SWIG_As_bool(obj3
));
14769 if (SWIG_arg_fail(4)) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14804 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxFileType
*arg1
= (wxFileType
*) 0 ;
14807 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14808 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14809 int arg3
= (int) 0 ;
14811 bool temp2
= false ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "cmd",(char *) "index", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14821 if (SWIG_arg_fail(1)) SWIG_fail
;
14824 arg2
= wxString_in_helper(obj1
);
14825 if (arg2
== NULL
) SWIG_fail
;
14831 arg3
= (int)(SWIG_As_int(obj2
));
14832 if (SWIG_arg_fail(3)) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14859 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxFileType
*arg1
= (wxFileType
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14870 if (SWIG_arg_fail(1)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (bool)(arg1
)->Unassociate();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14887 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxString
*arg1
= 0 ;
14890 wxString
*arg2
= 0 ;
14891 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14894 bool temp1
= false ;
14895 bool temp2
= false ;
14896 bool temp3
= false ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 PyObject
* obj2
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14906 arg1
= wxString_in_helper(obj0
);
14907 if (arg1
== NULL
) SWIG_fail
;
14911 arg2
= wxString_in_helper(obj1
);
14912 if (arg2
== NULL
) SWIG_fail
;
14917 arg3
= wxString_in_helper(obj2
);
14918 if (arg3
== NULL
) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14966 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14971 return Py_BuildValue((char *)"");
14973 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14974 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14979 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14982 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14987 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxString
*arg1
= 0 ;
14990 wxString
*arg2
= 0 ;
14992 bool temp1
= false ;
14993 bool temp2
= false ;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "mimeType",(char *) "wildcard", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15002 arg1
= wxString_in_helper(obj0
);
15003 if (arg1
== NULL
) SWIG_fail
;
15007 arg2
= wxString_in_helper(obj1
);
15008 if (arg2
== NULL
) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15043 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxMimeTypesManager
*result
;
15046 char *kwnames
[] = {
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15065 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15068 int arg2
= (int) wxMAILCAP_ALL
;
15069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15071 bool temp3
= false ;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 PyObject
* obj2
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15081 if (SWIG_arg_fail(1)) SWIG_fail
;
15084 arg2
= (int)(SWIG_As_int(obj1
));
15085 if (SWIG_arg_fail(2)) SWIG_fail
;
15090 arg3
= wxString_in_helper(obj2
);
15091 if (arg3
== NULL
) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15117 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15120 PyObject
* obj0
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15127 if (SWIG_arg_fail(1)) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 (arg1
)->ClearData();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15145 wxString
*arg2
= 0 ;
15146 wxFileType
*result
;
15147 bool temp2
= false ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "ext", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail
;
15158 arg2
= wxString_in_helper(obj1
);
15159 if (arg2
== NULL
) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15184 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15187 wxString
*arg2
= 0 ;
15188 wxFileType
*result
;
15189 bool temp2
= false ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self",(char *) "mimeType", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15198 if (SWIG_arg_fail(1)) SWIG_fail
;
15200 arg2
= wxString_in_helper(obj1
);
15201 if (arg2
== NULL
) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15226 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15229 wxString
*arg2
= 0 ;
15230 bool arg3
= (bool) false ;
15232 bool temp2
= false ;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 PyObject
* obj2
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15242 if (SWIG_arg_fail(1)) SWIG_fail
;
15244 arg2
= wxString_in_helper(obj1
);
15245 if (arg2
== NULL
) SWIG_fail
;
15250 arg3
= (bool)(SWIG_As_bool(obj2
));
15251 if (SWIG_arg_fail(3)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15281 wxString
*arg2
= 0 ;
15283 bool temp2
= false ;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self",(char *) "filename", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 arg2
= wxString_in_helper(obj1
);
15295 if (arg2
== NULL
) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15322 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= result
;
15348 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15351 wxFileTypeInfo
*arg2
= 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self",(char *) "ft", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15360 if (SWIG_arg_fail(1)) SWIG_fail
;
15362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15363 if (SWIG_arg_fail(2)) SWIG_fail
;
15364 if (arg2
== NULL
) {
15365 SWIG_null_ref("wxFileTypeInfo");
15367 if (SWIG_arg_fail(2)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15383 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15386 wxFileTypeInfo
*arg2
= 0 ;
15387 wxFileType
*result
;
15388 PyObject
* obj0
= 0 ;
15389 PyObject
* obj1
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self",(char *) "ftInfo", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15399 if (SWIG_arg_fail(2)) SWIG_fail
;
15400 if (arg2
== NULL
) {
15401 SWIG_null_ref("wxFileTypeInfo");
15403 if (SWIG_arg_fail(2)) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15419 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15422 wxFileType
*arg2
= (wxFileType
*) 0 ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self",(char *) "ft", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15434 if (SWIG_arg_fail(2)) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (bool)(arg1
)->Unassociate(arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 Py_INCREF(Py_None
); resultobj
= Py_None
;
15476 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15479 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15481 return Py_BuildValue((char *)"");
15483 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15484 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15489 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15494 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15496 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15503 static int _wrap_ART_MENU_set(PyObject
*) {
15504 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15509 static PyObject
*_wrap_ART_MENU_get(void) {
15514 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15516 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15523 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15524 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15529 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15534 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15536 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15543 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15544 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15549 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15554 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15556 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15563 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15564 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15569 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15574 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15576 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15583 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15584 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15589 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15594 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15596 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15603 static int _wrap_ART_BUTTON_set(PyObject
*) {
15604 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15609 static PyObject
*_wrap_ART_BUTTON_get(void) {
15614 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15616 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15623 static int _wrap_ART_OTHER_set(PyObject
*) {
15624 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15629 static PyObject
*_wrap_ART_OTHER_get(void) {
15634 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15636 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15643 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15644 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15649 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15654 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15656 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15663 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15664 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15669 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15674 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15676 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15683 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15684 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15689 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15694 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15696 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15703 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15704 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15709 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15714 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15716 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15723 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15724 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15729 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15734 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15736 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15743 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15744 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15749 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15754 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15756 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15763 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15764 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15769 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15774 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15776 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15783 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15784 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15789 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15794 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15796 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15803 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15804 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15809 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15814 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15816 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15823 static int _wrap_ART_GO_UP_set(PyObject
*) {
15824 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15829 static PyObject
*_wrap_ART_GO_UP_get(void) {
15834 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15836 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15843 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15844 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15849 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15854 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15856 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15863 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15864 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15869 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15874 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15876 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15883 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15884 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15889 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15894 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15896 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15903 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15904 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15909 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15914 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15916 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15923 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15924 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15929 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15934 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15936 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15943 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15944 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15949 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15954 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15956 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15963 static int _wrap_ART_PRINT_set(PyObject
*) {
15964 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15969 static PyObject
*_wrap_ART_PRINT_get(void) {
15974 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15976 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15983 static int _wrap_ART_HELP_set(PyObject
*) {
15984 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15989 static PyObject
*_wrap_ART_HELP_get(void) {
15994 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15996 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16003 static int _wrap_ART_TIP_set(PyObject
*) {
16004 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16009 static PyObject
*_wrap_ART_TIP_get(void) {
16014 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16016 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16023 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16024 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16029 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16034 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16036 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16043 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16044 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16049 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16054 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16056 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16063 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16064 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16069 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16074 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16076 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16083 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16084 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16089 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16094 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16096 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16103 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16104 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16109 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16114 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16116 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16123 static int _wrap_ART_CDROM_set(PyObject
*) {
16124 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16129 static PyObject
*_wrap_ART_CDROM_get(void) {
16134 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16136 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16143 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16144 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16149 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16154 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16156 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16163 static int _wrap_ART_FOLDER_set(PyObject
*) {
16164 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16169 static PyObject
*_wrap_ART_FOLDER_get(void) {
16174 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16176 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16183 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16184 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16189 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16194 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16196 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16203 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16204 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16209 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16214 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16216 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16223 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16224 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16229 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16234 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16236 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16243 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16244 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16249 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16254 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16256 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16263 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16264 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16269 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16274 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16276 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16283 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16284 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16289 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16294 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16296 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16303 static int _wrap_ART_ERROR_set(PyObject
*) {
16304 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16309 static PyObject
*_wrap_ART_ERROR_get(void) {
16314 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16316 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16323 static int _wrap_ART_QUESTION_set(PyObject
*) {
16324 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16329 static PyObject
*_wrap_ART_QUESTION_get(void) {
16334 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16336 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16343 static int _wrap_ART_WARNING_set(PyObject
*) {
16344 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16349 static PyObject
*_wrap_ART_WARNING_get(void) {
16354 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16356 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16363 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16364 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16369 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16374 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16376 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16383 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16384 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16389 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16394 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16396 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16403 static int _wrap_ART_COPY_set(PyObject
*) {
16404 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16409 static PyObject
*_wrap_ART_COPY_get(void) {
16414 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16416 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16423 static int _wrap_ART_CUT_set(PyObject
*) {
16424 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16429 static PyObject
*_wrap_ART_CUT_get(void) {
16434 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16436 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16443 static int _wrap_ART_PASTE_set(PyObject
*) {
16444 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16449 static PyObject
*_wrap_ART_PASTE_get(void) {
16454 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16456 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16463 static int _wrap_ART_DELETE_set(PyObject
*) {
16464 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16469 static PyObject
*_wrap_ART_DELETE_get(void) {
16474 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16476 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16483 static int _wrap_ART_NEW_set(PyObject
*) {
16484 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
16489 static PyObject
*_wrap_ART_NEW_get(void) {
16494 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16496 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16503 static int _wrap_ART_UNDO_set(PyObject
*) {
16504 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16509 static PyObject
*_wrap_ART_UNDO_get(void) {
16514 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16516 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16523 static int _wrap_ART_REDO_set(PyObject
*) {
16524 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16529 static PyObject
*_wrap_ART_REDO_get(void) {
16534 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16536 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16543 static int _wrap_ART_QUIT_set(PyObject
*) {
16544 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16549 static PyObject
*_wrap_ART_QUIT_get(void) {
16554 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16556 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16563 static int _wrap_ART_FIND_set(PyObject
*) {
16564 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16569 static PyObject
*_wrap_ART_FIND_get(void) {
16574 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16576 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16583 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16584 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16589 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16594 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16596 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16603 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPyArtProvider
*result
;
16606 char *kwnames
[] = {
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16612 if (!wxPyCheckForApp()) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16626 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16629 PyObject
*arg2
= (PyObject
*) 0 ;
16630 PyObject
*arg3
= (PyObject
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 PyObject
* obj2
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self",(char *) "self",(char *) "_class", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16640 if (SWIG_arg_fail(1)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "provider", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16667 if (SWIG_arg_fail(1)) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 wxPyArtProvider::PushProvider(arg1
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 Py_INCREF(Py_None
); resultobj
= Py_None
;
16682 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16685 char *kwnames
[] = {
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)wxPyArtProvider::PopProvider();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "provider", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16734 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxString
*arg1
= 0 ;
16737 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16738 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16739 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16740 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16742 bool temp1
= false ;
16743 bool temp2
= false ;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 PyObject
* obj2
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "id",(char *) "client",(char *) "size", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16754 arg1
= wxString_in_helper(obj0
);
16755 if (arg1
== NULL
) SWIG_fail
;
16760 arg2
= wxString_in_helper(obj1
);
16761 if (arg2
== NULL
) SWIG_fail
;
16768 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16772 if (!wxPyCheckForApp()) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16780 wxBitmap
* resultptr
;
16781 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16806 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxString
*arg1
= 0 ;
16809 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16810 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16811 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16812 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16814 bool temp1
= false ;
16815 bool temp2
= false ;
16817 PyObject
* obj0
= 0 ;
16818 PyObject
* obj1
= 0 ;
16819 PyObject
* obj2
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "id",(char *) "client",(char *) "size", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16826 arg1
= wxString_in_helper(obj0
);
16827 if (arg1
== NULL
) SWIG_fail
;
16832 arg2
= wxString_in_helper(obj1
);
16833 if (arg2
== NULL
) SWIG_fail
;
16840 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16844 if (!wxPyCheckForApp()) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 wxIcon
* resultptr
;
16853 resultptr
= new wxIcon((wxIcon
&)(result
));
16854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16878 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxString
*arg1
= 0 ;
16881 bool arg2
= (bool) false ;
16883 bool temp1
= false ;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "client",(char *) "platform_dependent", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 arg1
= wxString_in_helper(obj0
);
16893 if (arg1
== NULL
) SWIG_fail
;
16898 arg2
= (bool)(SWIG_As_bool(obj1
));
16899 if (SWIG_arg_fail(2)) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 wxSize
* resultptr
;
16911 resultptr
= new wxSize((wxSize
&)(result
));
16912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16928 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16938 if (SWIG_arg_fail(1)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 wxPyArtProvider_Destroy(arg1
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16956 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16958 return Py_BuildValue((char *)"");
16960 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16970 if (SWIG_arg_fail(1)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16988 wxConfigBase
*result
;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "config", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16996 if (SWIG_arg_fail(1)) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17011 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 bool arg1
= (bool) true ;
17014 wxConfigBase
*result
;
17015 PyObject
* obj0
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "createOnDemand", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17023 arg1
= (bool)(SWIG_As_bool(obj0
));
17024 if (SWIG_arg_fail(1)) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17041 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxConfigBase
*result
;
17044 char *kwnames
[] = {
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (wxConfigBase
*)wxConfigBase::Create();
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17063 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 char *kwnames
[] = {
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 wxConfigBase::DontCreateOnDemand();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17087 wxString
*arg2
= 0 ;
17088 bool temp2
= false ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "path", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 arg2
= wxString_in_helper(obj1
);
17100 if (arg2
== NULL
) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 (arg1
)->SetPath((wxString
const &)*arg2
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 Py_INCREF(Py_None
); resultobj
= Py_None
;
17125 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17136 if (SWIG_arg_fail(1)) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17141 result
= (wxString
*) &_result_ref
;
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17160 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17164 PyObject
* obj0
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17171 if (SWIG_arg_fail(1)) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= result
;
17186 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "index", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 arg2
= (long)(SWIG_As_long(obj1
));
17202 if (SWIG_arg_fail(2)) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= result
;
17218 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
;
17244 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "index", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 arg2
= (long)(SWIG_As_long(obj1
));
17260 if (SWIG_arg_fail(2)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= result
;
17276 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17279 bool arg2
= (bool) false ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "recursive", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 arg2
= (bool)(SWIG_As_bool(obj1
));
17293 if (SWIG_arg_fail(2)) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17312 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17315 bool arg2
= (bool) false ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "recursive", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17325 if (SWIG_arg_fail(1)) SWIG_fail
;
17328 arg2
= (bool)(SWIG_As_bool(obj1
));
17329 if (SWIG_arg_fail(2)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17348 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17351 wxString
*arg2
= 0 ;
17353 bool temp2
= false ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "name", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 arg2
= wxString_in_helper(obj1
);
17365 if (arg2
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17392 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17395 wxString
*arg2
= 0 ;
17397 bool temp2
= false ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self",(char *) "name", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 arg2
= wxString_in_helper(obj1
);
17409 if (arg2
== NULL
) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17436 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17439 wxString
*arg2
= 0 ;
17441 bool temp2
= false ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self",(char *) "name", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17450 if (SWIG_arg_fail(1)) SWIG_fail
;
17452 arg2
= wxString_in_helper(obj1
);
17453 if (arg2
== NULL
) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17480 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17483 wxString
*arg2
= 0 ;
17484 wxConfigBase::EntryType result
;
17485 bool temp2
= false ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "name", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 arg2
= wxString_in_helper(obj1
);
17497 if (arg2
== NULL
) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_From_int((result
));
17522 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17525 wxString
*arg2
= 0 ;
17526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17529 bool temp2
= false ;
17530 bool temp3
= false ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 PyObject
* obj2
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 arg2
= wxString_in_helper(obj1
);
17543 if (arg2
== NULL
) SWIG_fail
;
17548 arg3
= wxString_in_helper(obj2
);
17549 if (arg3
== NULL
) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17589 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17592 wxString
*arg2
= 0 ;
17593 long arg3
= (long) 0 ;
17595 bool temp2
= false ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 PyObject
* obj2
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail
;
17607 arg2
= wxString_in_helper(obj1
);
17608 if (arg2
== NULL
) SWIG_fail
;
17613 arg3
= (long)(SWIG_As_long(obj2
));
17614 if (SWIG_arg_fail(3)) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_From_long((long)(result
));
17641 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17644 wxString
*arg2
= 0 ;
17645 double arg3
= (double) 0.0 ;
17647 bool temp2
= false ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail
;
17659 arg2
= wxString_in_helper(obj1
);
17660 if (arg2
== NULL
) SWIG_fail
;
17665 arg3
= (double)(SWIG_As_double(obj2
));
17666 if (SWIG_arg_fail(3)) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_From_double((double)(result
));
17693 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17696 wxString
*arg2
= 0 ;
17697 bool arg3
= (bool) false ;
17699 bool temp2
= false ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 PyObject
* obj2
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17709 if (SWIG_arg_fail(1)) SWIG_fail
;
17711 arg2
= wxString_in_helper(obj1
);
17712 if (arg2
== NULL
) SWIG_fail
;
17717 arg3
= (bool)(SWIG_As_bool(obj2
));
17718 if (SWIG_arg_fail(3)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17745 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17748 wxString
*arg2
= 0 ;
17749 wxString
*arg3
= 0 ;
17751 bool temp2
= false ;
17752 bool temp3
= false ;
17753 PyObject
* obj0
= 0 ;
17754 PyObject
* obj1
= 0 ;
17755 PyObject
* obj2
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self",(char *) "key",(char *) "value", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17764 arg2
= wxString_in_helper(obj1
);
17765 if (arg2
== NULL
) SWIG_fail
;
17769 arg3
= wxString_in_helper(obj2
);
17770 if (arg3
== NULL
) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17805 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17808 wxString
*arg2
= 0 ;
17811 bool temp2
= false ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 PyObject
* obj2
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self",(char *) "key",(char *) "value", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17821 if (SWIG_arg_fail(1)) SWIG_fail
;
17823 arg2
= wxString_in_helper(obj1
);
17824 if (arg2
== NULL
) SWIG_fail
;
17828 arg3
= (long)(SWIG_As_long(obj2
));
17829 if (SWIG_arg_fail(3)) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17855 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17858 wxString
*arg2
= 0 ;
17861 bool temp2
= false ;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 PyObject
* obj2
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self",(char *) "key",(char *) "value", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17871 if (SWIG_arg_fail(1)) SWIG_fail
;
17873 arg2
= wxString_in_helper(obj1
);
17874 if (arg2
== NULL
) SWIG_fail
;
17878 arg3
= (double)(SWIG_As_double(obj2
));
17879 if (SWIG_arg_fail(3)) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17905 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17908 wxString
*arg2
= 0 ;
17911 bool temp2
= false ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 PyObject
* obj2
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "key",(char *) "value", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17921 if (SWIG_arg_fail(1)) SWIG_fail
;
17923 arg2
= wxString_in_helper(obj1
);
17924 if (arg2
== NULL
) SWIG_fail
;
17928 arg3
= (bool)(SWIG_As_bool(obj2
));
17929 if (SWIG_arg_fail(3)) SWIG_fail
;
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17955 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17958 bool arg2
= (bool) false ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self",(char *) "currentOnly", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17968 if (SWIG_arg_fail(1)) SWIG_fail
;
17971 arg2
= (bool)(SWIG_As_bool(obj1
));
17972 if (SWIG_arg_fail(2)) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)(arg1
)->Flush(arg2
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17991 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17994 wxString
*arg2
= 0 ;
17995 wxString
*arg3
= 0 ;
17997 bool temp2
= false ;
17998 bool temp3
= false ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 arg2
= wxString_in_helper(obj1
);
18011 if (arg2
== NULL
) SWIG_fail
;
18015 arg3
= wxString_in_helper(obj2
);
18016 if (arg3
== NULL
) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18051 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18054 wxString
*arg2
= 0 ;
18055 wxString
*arg3
= 0 ;
18057 bool temp2
= false ;
18058 bool temp3
= false ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18068 if (SWIG_arg_fail(1)) SWIG_fail
;
18070 arg2
= wxString_in_helper(obj1
);
18071 if (arg2
== NULL
) SWIG_fail
;
18075 arg3
= wxString_in_helper(obj2
);
18076 if (arg3
== NULL
) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18111 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18114 wxString
*arg2
= 0 ;
18115 bool arg3
= (bool) true ;
18117 bool temp2
= false ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 PyObject
* obj2
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 arg2
= wxString_in_helper(obj1
);
18130 if (arg2
== NULL
) SWIG_fail
;
18135 arg3
= (bool)(SWIG_As_bool(obj2
));
18136 if (SWIG_arg_fail(3)) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18163 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18166 wxString
*arg2
= 0 ;
18168 bool temp2
= false ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "key", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18177 if (SWIG_arg_fail(1)) SWIG_fail
;
18179 arg2
= wxString_in_helper(obj1
);
18180 if (arg2
== NULL
) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18207 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (bool)(arg1
)->DeleteAll();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18235 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18238 bool arg2
= (bool) true ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "doIt", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail
;
18250 arg2
= (bool)(SWIG_As_bool(obj1
));
18251 if (SWIG_arg_fail(2)) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->SetExpandEnvVars(arg2
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18296 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18299 bool arg2
= (bool) true ;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self",(char *) "doIt", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18311 arg2
= (bool)(SWIG_As_bool(obj1
));
18312 if (SWIG_arg_fail(2)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetRecordDefaults(arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18357 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18360 wxString
*arg2
= 0 ;
18362 bool temp2
= false ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "str", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18371 if (SWIG_arg_fail(1)) SWIG_fail
;
18373 arg2
= wxString_in_helper(obj1
);
18374 if (arg2
== NULL
) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18405 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18416 if (SWIG_arg_fail(1)) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18437 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18441 PyObject
* obj0
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18448 if (SWIG_arg_fail(1)) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18469 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18472 wxString
*arg2
= 0 ;
18473 bool temp2
= false ;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self",(char *) "appName", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18482 if (SWIG_arg_fail(1)) SWIG_fail
;
18484 arg2
= wxString_in_helper(obj1
);
18485 if (arg2
== NULL
) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 (arg1
)->SetAppName((wxString
const &)*arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18513 wxString
*arg2
= 0 ;
18514 bool temp2
= false ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "vendorName", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18525 arg2
= wxString_in_helper(obj1
);
18526 if (arg2
== NULL
) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "style", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail
;
18565 arg2
= (long)(SWIG_As_long(obj1
));
18566 if (SWIG_arg_fail(2)) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetStyle(arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18582 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18593 if (SWIG_arg_fail(1)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_From_long((long)(result
));
18610 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18613 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18615 return Py_BuildValue((char *)"");
18617 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18620 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18621 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18622 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18627 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18629 bool temp1
= false ;
18630 bool temp2
= false ;
18631 bool temp3
= false ;
18632 bool temp4
= false ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 PyObject
* obj2
= 0 ;
18636 PyObject
* obj3
= 0 ;
18637 PyObject
* obj4
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18645 arg1
= wxString_in_helper(obj0
);
18646 if (arg1
== NULL
) SWIG_fail
;
18652 arg2
= wxString_in_helper(obj1
);
18653 if (arg2
== NULL
) SWIG_fail
;
18659 arg3
= wxString_in_helper(obj2
);
18660 if (arg3
== NULL
) SWIG_fail
;
18666 arg4
= wxString_in_helper(obj3
);
18667 if (arg4
== NULL
) SWIG_fail
;
18673 arg5
= (long)(SWIG_As_long(obj4
));
18674 if (SWIG_arg_fail(5)) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18723 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxConfig
*arg1
= (wxConfig
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 Py_INCREF(Py_None
); resultobj
= Py_None
;
18748 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18751 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18753 return Py_BuildValue((char *)"");
18755 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18758 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18759 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18760 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18765 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18766 wxFileConfig
*result
;
18767 bool temp1
= false ;
18768 bool temp2
= false ;
18769 bool temp3
= false ;
18770 bool temp4
= false ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 PyObject
* obj2
= 0 ;
18774 PyObject
* obj3
= 0 ;
18775 PyObject
* obj4
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18783 arg1
= wxString_in_helper(obj0
);
18784 if (arg1
== NULL
) SWIG_fail
;
18790 arg2
= wxString_in_helper(obj1
);
18791 if (arg2
== NULL
) SWIG_fail
;
18797 arg3
= wxString_in_helper(obj2
);
18798 if (arg3
== NULL
) SWIG_fail
;
18804 arg4
= wxString_in_helper(obj3
);
18805 if (arg4
== NULL
) SWIG_fail
;
18811 arg5
= (long)(SWIG_As_long(obj4
));
18812 if (SWIG_arg_fail(5)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18861 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 Py_INCREF(Py_None
); resultobj
= Py_None
;
18886 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18889 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18891 return Py_BuildValue((char *)"");
18893 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18896 wxString
*arg2
= 0 ;
18897 wxConfigPathChanger
*result
;
18898 bool temp2
= false ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "config",(char *) "entry", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 arg2
= wxString_in_helper(obj1
);
18910 if (arg2
== NULL
) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18935 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 Py_INCREF(Py_None
); resultobj
= Py_None
;
18960 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18971 if (SWIG_arg_fail(1)) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18976 result
= (wxString
*) &_result_ref
;
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18995 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18998 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19000 return Py_BuildValue((char *)"");
19002 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxString
*arg1
= 0 ;
19006 bool temp1
= false ;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "sz", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19014 arg1
= wxString_in_helper(obj0
);
19015 if (arg1
== NULL
) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19046 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19047 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19052 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19057 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19059 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19066 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19067 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19072 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19077 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19079 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19086 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxDateTime::Country arg1
;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "country", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19096 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19097 if (SWIG_arg_fail(1)) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 Py_INCREF(Py_None
); resultobj
= Py_None
;
19113 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxDateTime::Country result
;
19116 char *kwnames
[] = {
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_From_int((result
));
19135 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19139 PyObject
* obj0
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "country", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19147 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19148 if (SWIG_arg_fail(1)) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19167 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "cal", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19179 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19180 if (SWIG_arg_fail(1)) SWIG_fail
;
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= SWIG_From_int((int)(result
));
19199 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19203 PyObject
* obj0
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "year", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19210 arg1
= (int)(SWIG_As_int(obj0
));
19211 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_From_int((int)(result
));
19229 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19232 wxDateTime::Month result
;
19233 PyObject
* obj0
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "cal", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19241 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19242 if (SWIG_arg_fail(1)) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_From_int((result
));
19259 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 int arg1
= (int) wxDateTime::Inv_Year
;
19262 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "year",(char *) "cal", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19273 arg1
= (int)(SWIG_As_int(obj0
));
19274 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19280 if (SWIG_arg_fail(2)) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19299 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 int arg1
= (int) wxDateTime::Inv_Year
;
19303 PyObject
* obj0
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "year", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19311 arg1
= (int)(SWIG_As_int(obj0
));
19312 if (SWIG_arg_fail(1)) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (int)wxDateTime::GetCentury(arg1
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= SWIG_From_int((int)(result
));
19331 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19334 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "year",(char *) "cal", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 arg1
= (int)(SWIG_As_int(obj0
));
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19349 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19350 if (SWIG_arg_fail(2)) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_From_int((int)(result
));
19369 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxDateTime::Month arg1
;
19372 int arg2
= (int) wxDateTime::Inv_Year
;
19373 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 PyObject
* obj2
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "month",(char *) "year",(char *) "cal", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19384 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19385 if (SWIG_arg_fail(1)) SWIG_fail
;
19389 arg2
= (int)(SWIG_As_int(obj1
));
19390 if (SWIG_arg_fail(2)) SWIG_fail
;
19395 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19396 if (SWIG_arg_fail(3)) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_From_int((int)(result
));
19415 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxDateTime::Month arg1
;
19418 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "month",(char *) "flags", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 arg1
= (wxDateTime::Month
)(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::GetMonthName((wxDateTime::Month
)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_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxDateTime::WeekDay arg1
;
19460 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "weekday",(char *) "flags", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19471 if (SWIG_arg_fail(1)) SWIG_fail
;
19475 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19476 if (SWIG_arg_fail(2)) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19499 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19502 char *kwnames
[] = {
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (PyObject
*)DateTime_GetAmPmStrings();
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= result
;
19521 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 int arg1
= (int) wxDateTime::Inv_Year
;
19524 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19526 PyObject
* obj0
= 0 ;
19527 PyObject
* obj1
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "year",(char *) "country", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19535 arg1
= (int)(SWIG_As_int(obj0
));
19536 if (SWIG_arg_fail(1)) SWIG_fail
;
19541 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19542 if (SWIG_arg_fail(2)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19561 static PyObject
*_wrap_DateTime_GetBeginDST(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_GetBeginDST",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::GetBeginDST(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_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 int arg1
= (int) wxDateTime::Inv_Year
;
19606 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "year",(char *) "country", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19617 arg1
= (int)(SWIG_As_int(obj0
));
19618 if (SWIG_arg_fail(1)) SWIG_fail
;
19623 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19624 if (SWIG_arg_fail(2)) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 wxDateTime
* resultptr
;
19636 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19645 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19648 char *kwnames
[] = {
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= wxDateTime::Now();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19661 wxDateTime
* resultptr
;
19662 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19671 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19674 char *kwnames
[] = {
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= wxDateTime::UNow();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 wxDateTime
* resultptr
;
19688 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19697 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19700 char *kwnames
[] = {
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= wxDateTime::Today();
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19713 wxDateTime
* resultptr
;
19714 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19723 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxDateTime
*result
;
19726 char *kwnames
[] = {
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19733 result
= (wxDateTime
*)new wxDateTime();
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19745 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19748 wxDateTime
*result
;
19749 PyObject
* obj0
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "timet", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19756 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19757 if (SWIG_arg_fail(1)) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (wxDateTime
*)new wxDateTime(arg1
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19773 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19776 wxDateTime
*result
;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "jdn", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19784 arg1
= (double)(SWIG_As_double(obj0
));
19785 if (SWIG_arg_fail(1)) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (wxDateTime
*)new wxDateTime(arg1
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19801 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19804 int arg2
= (int) 0 ;
19805 int arg3
= (int) 0 ;
19806 int arg4
= (int) 0 ;
19807 wxDateTime
*result
;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 PyObject
* obj2
= 0 ;
19811 PyObject
* obj3
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19818 arg1
= (int)(SWIG_As_int(obj0
));
19819 if (SWIG_arg_fail(1)) SWIG_fail
;
19823 arg2
= (int)(SWIG_As_int(obj1
));
19824 if (SWIG_arg_fail(2)) SWIG_fail
;
19829 arg3
= (int)(SWIG_As_int(obj2
));
19830 if (SWIG_arg_fail(3)) SWIG_fail
;
19835 arg4
= (int)(SWIG_As_int(obj3
));
19836 if (SWIG_arg_fail(4)) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19853 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19856 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19857 int arg3
= (int) wxDateTime::Inv_Year
;
19858 int arg4
= (int) 0 ;
19859 int arg5
= (int) 0 ;
19860 int arg6
= (int) 0 ;
19861 int arg7
= (int) 0 ;
19862 wxDateTime
*result
;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 PyObject
* obj2
= 0 ;
19866 PyObject
* obj3
= 0 ;
19867 PyObject
* obj4
= 0 ;
19868 PyObject
* obj5
= 0 ;
19869 PyObject
* obj6
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19876 arg1
= (int)(SWIG_As_int(obj0
));
19877 if (SWIG_arg_fail(1)) SWIG_fail
;
19881 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19882 if (SWIG_arg_fail(2)) SWIG_fail
;
19887 arg3
= (int)(SWIG_As_int(obj2
));
19888 if (SWIG_arg_fail(3)) SWIG_fail
;
19893 arg4
= (int)(SWIG_As_int(obj3
));
19894 if (SWIG_arg_fail(4)) SWIG_fail
;
19899 arg5
= (int)(SWIG_As_int(obj4
));
19900 if (SWIG_arg_fail(5)) SWIG_fail
;
19905 arg6
= (int)(SWIG_As_int(obj5
));
19906 if (SWIG_arg_fail(6)) SWIG_fail
;
19911 arg7
= (int)(SWIG_As_int(obj6
));
19912 if (SWIG_arg_fail(7)) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19929 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19939 if (SWIG_arg_fail(1)) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 Py_INCREF(Py_None
); resultobj
= Py_None
;
19954 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19957 wxDateTime
*result
;
19958 PyObject
* obj0
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19965 if (SWIG_arg_fail(1)) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19970 result
= (wxDateTime
*) &_result_ref
;
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19983 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19987 wxDateTime
*result
;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self",(char *) "timet", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19996 if (SWIG_arg_fail(1)) SWIG_fail
;
19998 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19999 if (SWIG_arg_fail(2)) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20005 result
= (wxDateTime
*) &_result_ref
;
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20018 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20022 wxDateTime
*result
;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "jdn", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20033 arg2
= (double)(SWIG_As_double(obj1
));
20034 if (SWIG_arg_fail(2)) SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20040 result
= (wxDateTime
*) &_result_ref
;
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20053 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20057 int arg3
= (int) 0 ;
20058 int arg4
= (int) 0 ;
20059 int arg5
= (int) 0 ;
20060 wxDateTime
*result
;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 PyObject
* obj2
= 0 ;
20064 PyObject
* obj3
= 0 ;
20065 PyObject
* obj4
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail
;
20074 arg2
= (int)(SWIG_As_int(obj1
));
20075 if (SWIG_arg_fail(2)) SWIG_fail
;
20079 arg3
= (int)(SWIG_As_int(obj2
));
20080 if (SWIG_arg_fail(3)) SWIG_fail
;
20085 arg4
= (int)(SWIG_As_int(obj3
));
20086 if (SWIG_arg_fail(4)) SWIG_fail
;
20091 arg5
= (int)(SWIG_As_int(obj4
));
20092 if (SWIG_arg_fail(5)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20099 result
= (wxDateTime
*) &_result_ref
;
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20112 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20116 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20117 int arg4
= (int) wxDateTime::Inv_Year
;
20118 int arg5
= (int) 0 ;
20119 int arg6
= (int) 0 ;
20120 int arg7
= (int) 0 ;
20121 int arg8
= (int) 0 ;
20122 wxDateTime
*result
;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 PyObject
* obj3
= 0 ;
20127 PyObject
* obj4
= 0 ;
20128 PyObject
* obj5
= 0 ;
20129 PyObject
* obj6
= 0 ;
20130 PyObject
* obj7
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20137 if (SWIG_arg_fail(1)) SWIG_fail
;
20139 arg2
= (int)(SWIG_As_int(obj1
));
20140 if (SWIG_arg_fail(2)) SWIG_fail
;
20144 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20145 if (SWIG_arg_fail(3)) SWIG_fail
;
20150 arg4
= (int)(SWIG_As_int(obj3
));
20151 if (SWIG_arg_fail(4)) SWIG_fail
;
20156 arg5
= (int)(SWIG_As_int(obj4
));
20157 if (SWIG_arg_fail(5)) SWIG_fail
;
20162 arg6
= (int)(SWIG_As_int(obj5
));
20163 if (SWIG_arg_fail(6)) SWIG_fail
;
20168 arg7
= (int)(SWIG_As_int(obj6
));
20169 if (SWIG_arg_fail(7)) SWIG_fail
;
20174 arg8
= (int)(SWIG_As_int(obj7
));
20175 if (SWIG_arg_fail(8)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20182 result
= (wxDateTime
*) &_result_ref
;
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20195 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20198 wxDateTime
*result
;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20211 result
= (wxDateTime
*) &_result_ref
;
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20224 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20228 wxDateTime
*result
;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "year", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail
;
20239 arg2
= (int)(SWIG_As_int(obj1
));
20240 if (SWIG_arg_fail(2)) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20246 result
= (wxDateTime
*) &_result_ref
;
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20259 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20262 wxDateTime::Month arg2
;
20263 wxDateTime
*result
;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "month", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20275 if (SWIG_arg_fail(2)) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20281 result
= (wxDateTime
*) &_result_ref
;
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20294 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20298 wxDateTime
*result
;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self",(char *) "day", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20309 arg2
= (int)(SWIG_As_int(obj1
));
20310 if (SWIG_arg_fail(2)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20316 result
= (wxDateTime
*) &_result_ref
;
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20329 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20333 wxDateTime
*result
;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "hour", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail
;
20344 arg2
= (int)(SWIG_As_int(obj1
));
20345 if (SWIG_arg_fail(2)) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20351 result
= (wxDateTime
*) &_result_ref
;
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20364 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20368 wxDateTime
*result
;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "minute", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20377 if (SWIG_arg_fail(1)) SWIG_fail
;
20379 arg2
= (int)(SWIG_As_int(obj1
));
20380 if (SWIG_arg_fail(2)) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20386 result
= (wxDateTime
*) &_result_ref
;
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20399 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20403 wxDateTime
*result
;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "second", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20412 if (SWIG_arg_fail(1)) SWIG_fail
;
20414 arg2
= (int)(SWIG_As_int(obj1
));
20415 if (SWIG_arg_fail(2)) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20421 result
= (wxDateTime
*) &_result_ref
;
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20434 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20438 wxDateTime
*result
;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "millisecond", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail
;
20449 arg2
= (int)(SWIG_As_int(obj1
));
20450 if (SWIG_arg_fail(2)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20456 result
= (wxDateTime
*) &_result_ref
;
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20469 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20472 wxDateTime::WeekDay arg2
;
20473 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20474 wxDateTime
*result
;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 PyObject
* obj2
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail
;
20486 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20487 if (SWIG_arg_fail(2)) SWIG_fail
;
20491 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20492 if (SWIG_arg_fail(3)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20499 result
= (wxDateTime
*) &_result_ref
;
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20512 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20515 wxDateTime::WeekDay arg2
;
20516 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
20534 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20535 if (SWIG_arg_fail(3)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 wxDateTime
* resultptr
;
20547 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20556 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20559 wxDateTime::WeekDay arg2
;
20560 wxDateTime
*result
;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self",(char *) "weekday", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail
;
20571 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20572 if (SWIG_arg_fail(2)) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20578 result
= (wxDateTime
*) &_result_ref
;
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20591 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20594 wxDateTime::WeekDay arg2
;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "self",(char *) "weekday", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20604 if (SWIG_arg_fail(1)) SWIG_fail
;
20606 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20607 if (SWIG_arg_fail(2)) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 wxDateTime
* resultptr
;
20618 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20627 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
;
20629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20630 wxDateTime::WeekDay arg2
;
20631 wxDateTime
*result
;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "weekday", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail
;
20642 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20643 if (SWIG_arg_fail(2)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20649 result
= (wxDateTime
*) &_result_ref
;
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20662 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20665 wxDateTime::WeekDay arg2
;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "weekday", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) 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
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 wxDateTime
* resultptr
;
20689 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20698 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20701 wxDateTime::WeekDay arg2
;
20702 int arg3
= (int) 1 ;
20703 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20704 int arg5
= (int) wxDateTime::Inv_Year
;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 PyObject
* obj3
= 0 ;
20710 PyObject
* obj4
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20717 if (SWIG_arg_fail(1)) SWIG_fail
;
20719 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20720 if (SWIG_arg_fail(2)) SWIG_fail
;
20724 arg3
= (int)(SWIG_As_int(obj2
));
20725 if (SWIG_arg_fail(3)) SWIG_fail
;
20730 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20731 if (SWIG_arg_fail(4)) SWIG_fail
;
20736 arg5
= (int)(SWIG_As_int(obj4
));
20737 if (SWIG_arg_fail(5)) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20756 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20759 wxDateTime::WeekDay arg2
;
20760 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20761 int arg4
= (int) wxDateTime::Inv_Year
;
20763 PyObject
* obj0
= 0 ;
20764 PyObject
* obj1
= 0 ;
20765 PyObject
* obj2
= 0 ;
20766 PyObject
* obj3
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail
;
20775 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20776 if (SWIG_arg_fail(2)) SWIG_fail
;
20780 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20781 if (SWIG_arg_fail(3)) SWIG_fail
;
20786 arg4
= (int)(SWIG_As_int(obj3
));
20787 if (SWIG_arg_fail(4)) SWIG_fail
;
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20806 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20809 wxDateTime::WeekDay arg2
;
20810 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20811 int arg4
= (int) wxDateTime::Inv_Year
;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 PyObject
* obj2
= 0 ;
20816 PyObject
* obj3
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail
;
20825 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20826 if (SWIG_arg_fail(2)) SWIG_fail
;
20830 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20831 if (SWIG_arg_fail(3)) SWIG_fail
;
20836 arg4
= (int)(SWIG_As_int(obj3
));
20837 if (SWIG_arg_fail(4)) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 wxDateTime
* resultptr
;
20849 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20858 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20862 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20863 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 PyObject
* obj2
= 0 ;
20868 PyObject
* obj3
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail
;
20877 arg2
= (int)(SWIG_As_int(obj1
));
20878 if (SWIG_arg_fail(2)) SWIG_fail
;
20882 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20883 if (SWIG_arg_fail(3)) SWIG_fail
;
20888 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20889 if (SWIG_arg_fail(4)) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20908 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20912 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20913 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 PyObject
* obj2
= 0 ;
20918 PyObject
* obj3
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 arg2
= (int)(SWIG_As_int(obj1
));
20928 if (SWIG_arg_fail(2)) SWIG_fail
;
20932 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20933 if (SWIG_arg_fail(3)) SWIG_fail
;
20938 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20939 if (SWIG_arg_fail(4)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20950 wxDateTime
* resultptr
;
20951 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20960 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20964 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 PyObject
* obj2
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20975 arg1
= (int)(SWIG_As_int(obj0
));
20976 if (SWIG_arg_fail(1)) SWIG_fail
;
20979 arg2
= (int)(SWIG_As_int(obj1
));
20980 if (SWIG_arg_fail(2)) SWIG_fail
;
20984 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20985 if (SWIG_arg_fail(3)) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 wxDateTime
* resultptr
;
20997 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21006 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21009 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21010 int arg3
= (int) wxDateTime::Inv_Year
;
21011 wxDateTime
*result
;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 PyObject
* obj2
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "month",(char *) "year", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21021 if (SWIG_arg_fail(1)) SWIG_fail
;
21024 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21025 if (SWIG_arg_fail(2)) SWIG_fail
;
21030 arg3
= (int)(SWIG_As_int(obj2
));
21031 if (SWIG_arg_fail(3)) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21038 result
= (wxDateTime
*) &_result_ref
;
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21051 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21054 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21055 int arg3
= (int) wxDateTime::Inv_Year
;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 PyObject
* obj2
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self",(char *) "month",(char *) "year", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21066 if (SWIG_arg_fail(1)) SWIG_fail
;
21069 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21070 if (SWIG_arg_fail(2)) SWIG_fail
;
21075 arg3
= (int)(SWIG_As_int(obj2
));
21076 if (SWIG_arg_fail(3)) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21087 wxDateTime
* resultptr
;
21088 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21097 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21101 wxDateTime
*result
;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self",(char *) "yday", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail
;
21112 arg2
= (int)(SWIG_As_int(obj1
));
21113 if (SWIG_arg_fail(2)) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21119 result
= (wxDateTime
*) &_result_ref
;
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21132 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 PyObject
* obj1
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "yday", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 arg2
= (int)(SWIG_As_int(obj1
));
21148 if (SWIG_arg_fail(2)) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (arg1
)->GetYearDay(arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 wxDateTime
* resultptr
;
21159 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21168 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21179 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (double)(arg1
)->GetJulianDayNumber();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_From_double((double)(result
));
21196 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21207 if (SWIG_arg_fail(1)) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (double)(arg1
)->GetJDN();
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= SWIG_From_double((double)(result
));
21224 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_From_double((double)(result
));
21252 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (double)(arg1
)->GetMJD();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_From_double((double)(result
));
21280 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (double)(arg1
)->GetRataDie();
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_From_double((double)(result
));
21308 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21311 wxDateTime::TimeZone
*arg2
= 0 ;
21312 bool arg3
= (bool) false ;
21314 bool temp2
= false ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 PyObject
* obj2
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21326 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21331 arg3
= (bool)(SWIG_As_bool(obj2
));
21332 if (SWIG_arg_fail(3)) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 wxDateTime
* resultptr
;
21344 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21348 if (temp2
) delete arg2
;
21353 if (temp2
) delete arg2
;
21359 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21362 wxDateTime::TimeZone
*arg2
= 0 ;
21363 bool arg3
= (bool) false ;
21364 wxDateTime
*result
;
21365 bool temp2
= false ;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 PyObject
* obj2
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail
;
21377 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21382 arg3
= (bool)(SWIG_As_bool(obj2
));
21383 if (SWIG_arg_fail(3)) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21390 result
= (wxDateTime
*) &_result_ref
;
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21398 if (temp2
) delete arg2
;
21403 if (temp2
) delete arg2
;
21409 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21412 bool arg2
= (bool) false ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self",(char *) "noDST", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 arg2
= (bool)(SWIG_As_bool(obj1
));
21426 if (SWIG_arg_fail(2)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (arg1
)->ToGMT(arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 wxDateTime
* resultptr
;
21438 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21447 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21450 bool arg2
= (bool) false ;
21451 wxDateTime
*result
;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "noDST", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21460 if (SWIG_arg_fail(1)) SWIG_fail
;
21463 arg2
= (bool)(SWIG_As_bool(obj1
));
21464 if (SWIG_arg_fail(2)) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21471 result
= (wxDateTime
*) &_result_ref
;
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21484 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21487 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "country", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail
;
21500 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21501 if (SWIG_arg_fail(2)) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= SWIG_From_int((int)(result
));
21520 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21548 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21552 PyObject
* obj0
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21559 if (SWIG_arg_fail(1)) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21576 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21579 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21580 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21582 bool temp2
= false ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "tz", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21594 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= SWIG_From_int((int)(result
));
21609 if (temp2
) delete arg2
;
21614 if (temp2
) delete arg2
;
21620 static PyObject
*_wrap_DateTime_GetMonth(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
;
21625 wxDateTime::Month result
;
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_GetMonth",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
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_From_int((result
));
21651 if (temp2
) delete arg2
;
21656 if (temp2
) delete arg2
;
21662 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21665 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21666 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21668 bool temp2
= false ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self",(char *) "tz", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21677 if (SWIG_arg_fail(1)) SWIG_fail
;
21680 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_From_int((int)(result
));
21695 if (temp2
) delete arg2
;
21700 if (temp2
) delete arg2
;
21706 static PyObject
*_wrap_DateTime_GetWeekDay(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
;
21711 wxDateTime::WeekDay result
;
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_GetWeekDay",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
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_From_int((result
));
21737 if (temp2
) delete arg2
;
21742 if (temp2
) delete arg2
;
21748 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21751 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21752 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21754 bool temp2
= false ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "tz", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21763 if (SWIG_arg_fail(1)) SWIG_fail
;
21766 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_From_int((int)(result
));
21781 if (temp2
) delete arg2
;
21786 if (temp2
) delete arg2
;
21792 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21795 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21796 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21798 bool temp2
= false ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "tz", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21807 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_From_int((int)(result
));
21825 if (temp2
) delete arg2
;
21830 if (temp2
) delete arg2
;
21836 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21839 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21840 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21842 bool temp2
= false ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "tz", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21851 if (SWIG_arg_fail(1)) SWIG_fail
;
21854 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_From_int((int)(result
));
21869 if (temp2
) delete arg2
;
21874 if (temp2
) delete arg2
;
21880 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21883 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21884 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21886 bool temp2
= false ;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "tz", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21895 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= SWIG_From_int((int)(result
));
21913 if (temp2
) delete arg2
;
21918 if (temp2
) delete arg2
;
21924 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21927 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21928 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21930 bool temp2
= false ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self",(char *) "tz", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21939 if (SWIG_arg_fail(1)) SWIG_fail
;
21942 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_From_int((int)(result
));
21957 if (temp2
) delete arg2
;
21962 if (temp2
) delete arg2
;
21968 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21971 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21972 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21973 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21975 bool temp3
= false ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "flags",(char *) "tz", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21985 if (SWIG_arg_fail(1)) SWIG_fail
;
21988 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21989 if (SWIG_arg_fail(2)) SWIG_fail
;
21994 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_From_int((int)(result
));
22009 if (temp3
) delete arg3
;
22014 if (temp3
) delete arg3
;
22020 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22023 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22024 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22025 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22027 bool temp3
= false ;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 PyObject
* obj2
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "flags",(char *) "tz", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22041 if (SWIG_arg_fail(2)) SWIG_fail
;
22046 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_From_int((int)(result
));
22061 if (temp3
) delete arg3
;
22066 if (temp3
) delete arg3
;
22072 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22075 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self",(char *) "country", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22085 if (SWIG_arg_fail(1)) SWIG_fail
;
22088 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22089 if (SWIG_arg_fail(2)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22108 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22111 wxDateTime
*arg2
= 0 ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "datetime", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail
;
22123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22125 if (arg2
== NULL
) {
22126 SWIG_null_ref("wxDateTime");
22128 if (SWIG_arg_fail(2)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22146 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22149 wxDateTime
*arg2
= 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "datetime", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail
;
22161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(2)) SWIG_fail
;
22163 if (arg2
== NULL
) {
22164 SWIG_null_ref("wxDateTime");
22166 if (SWIG_arg_fail(2)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22184 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22187 wxDateTime
*arg2
= 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "datetime", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22197 if (SWIG_arg_fail(1)) SWIG_fail
;
22199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22200 if (SWIG_arg_fail(2)) SWIG_fail
;
22201 if (arg2
== NULL
) {
22202 SWIG_null_ref("wxDateTime");
22204 if (SWIG_arg_fail(2)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22222 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22225 wxDateTime
*arg2
= 0 ;
22226 wxDateTime
*arg3
= 0 ;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 PyObject
* obj2
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "t1",(char *) "t2", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail
;
22239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(2)) SWIG_fail
;
22241 if (arg2
== NULL
) {
22242 SWIG_null_ref("wxDateTime");
22244 if (SWIG_arg_fail(2)) SWIG_fail
;
22247 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22248 if (SWIG_arg_fail(3)) SWIG_fail
;
22249 if (arg3
== NULL
) {
22250 SWIG_null_ref("wxDateTime");
22252 if (SWIG_arg_fail(3)) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22273 wxDateTime
*arg2
= 0 ;
22274 wxDateTime
*arg3
= 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "t1",(char *) "t2", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22285 if (SWIG_arg_fail(1)) SWIG_fail
;
22287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(2)) SWIG_fail
;
22289 if (arg2
== NULL
) {
22290 SWIG_null_ref("wxDateTime");
22292 if (SWIG_arg_fail(2)) SWIG_fail
;
22295 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(3)) SWIG_fail
;
22297 if (arg3
== NULL
) {
22298 SWIG_null_ref("wxDateTime");
22300 if (SWIG_arg_fail(3)) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22318 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22321 wxDateTime
*arg2
= 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "dt", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22331 if (SWIG_arg_fail(1)) SWIG_fail
;
22333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22334 if (SWIG_arg_fail(2)) SWIG_fail
;
22335 if (arg2
== NULL
) {
22336 SWIG_null_ref("wxDateTime");
22338 if (SWIG_arg_fail(2)) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22356 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22359 wxDateTime
*arg2
= 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "dt", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22369 if (SWIG_arg_fail(1)) SWIG_fail
;
22371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22372 if (SWIG_arg_fail(2)) SWIG_fail
;
22373 if (arg2
== NULL
) {
22374 SWIG_null_ref("wxDateTime");
22376 if (SWIG_arg_fail(2)) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22394 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22397 wxDateTime
*arg2
= 0 ;
22398 wxTimeSpan
*arg3
= 0 ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 PyObject
* obj2
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "dt",(char *) "ts", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22409 if (SWIG_arg_fail(1)) SWIG_fail
;
22411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(2)) SWIG_fail
;
22413 if (arg2
== NULL
) {
22414 SWIG_null_ref("wxDateTime");
22416 if (SWIG_arg_fail(2)) SWIG_fail
;
22419 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22420 if (SWIG_arg_fail(3)) SWIG_fail
;
22421 if (arg3
== NULL
) {
22422 SWIG_null_ref("wxTimeSpan");
22424 if (SWIG_arg_fail(3)) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22442 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22445 wxTimeSpan
*arg2
= 0 ;
22446 wxDateTime
*result
;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self",(char *) "diff", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22455 if (SWIG_arg_fail(1)) SWIG_fail
;
22457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22458 if (SWIG_arg_fail(2)) SWIG_fail
;
22459 if (arg2
== NULL
) {
22460 SWIG_null_ref("wxTimeSpan");
22462 if (SWIG_arg_fail(2)) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22468 result
= (wxDateTime
*) &_result_ref
;
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22481 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22484 wxDateSpan
*arg2
= 0 ;
22485 wxDateTime
*result
;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "diff", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22494 if (SWIG_arg_fail(1)) SWIG_fail
;
22496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22497 if (SWIG_arg_fail(2)) SWIG_fail
;
22498 if (arg2
== NULL
) {
22499 SWIG_null_ref("wxDateSpan");
22501 if (SWIG_arg_fail(2)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22507 result
= (wxDateTime
*) &_result_ref
;
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22520 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22523 wxTimeSpan
*arg2
= 0 ;
22524 wxDateTime
*result
;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "diff", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail
;
22535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22536 if (SWIG_arg_fail(2)) SWIG_fail
;
22537 if (arg2
== NULL
) {
22538 SWIG_null_ref("wxTimeSpan");
22540 if (SWIG_arg_fail(2)) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22546 result
= (wxDateTime
*) &_result_ref
;
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22559 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22562 wxDateSpan
*arg2
= 0 ;
22563 wxDateTime
*result
;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "diff", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22575 if (SWIG_arg_fail(2)) SWIG_fail
;
22576 if (arg2
== NULL
) {
22577 SWIG_null_ref("wxDateSpan");
22579 if (SWIG_arg_fail(2)) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22585 result
= (wxDateTime
*) &_result_ref
;
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22598 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22601 wxDateTime
*arg2
= 0 ;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "dt", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22611 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22614 if (SWIG_arg_fail(2)) SWIG_fail
;
22615 if (arg2
== NULL
) {
22616 SWIG_null_ref("wxDateTime");
22618 if (SWIG_arg_fail(2)) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22628 wxTimeSpan
* resultptr
;
22629 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22638 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22639 PyObject
*resultobj
;
22640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22641 wxTimeSpan
*arg2
= 0 ;
22642 wxDateTime
*result
;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22646 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22648 if (SWIG_arg_fail(1)) SWIG_fail
;
22650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22651 if (SWIG_arg_fail(2)) SWIG_fail
;
22652 if (arg2
== NULL
) {
22653 SWIG_null_ref("wxTimeSpan");
22655 if (SWIG_arg_fail(2)) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22661 result
= (wxDateTime
*) &_result_ref
;
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22674 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22675 PyObject
*resultobj
;
22676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22677 wxDateSpan
*arg2
= 0 ;
22678 wxDateTime
*result
;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22682 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22684 if (SWIG_arg_fail(1)) SWIG_fail
;
22686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22687 if (SWIG_arg_fail(2)) SWIG_fail
;
22688 if (arg2
== NULL
) {
22689 SWIG_null_ref("wxDateSpan");
22691 if (SWIG_arg_fail(2)) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22697 result
= (wxDateTime
*) &_result_ref
;
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22710 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22715 argc
= PyObject_Length(args
);
22716 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22717 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22723 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22733 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22741 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22749 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22759 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22767 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22772 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22777 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22778 PyObject
*resultobj
;
22779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22780 wxTimeSpan
*arg2
= 0 ;
22781 wxDateTime
*result
;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22785 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22787 if (SWIG_arg_fail(1)) SWIG_fail
;
22789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22790 if (SWIG_arg_fail(2)) SWIG_fail
;
22791 if (arg2
== NULL
) {
22792 SWIG_null_ref("wxTimeSpan");
22794 if (SWIG_arg_fail(2)) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22800 result
= (wxDateTime
*) &_result_ref
;
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22813 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22814 PyObject
*resultobj
;
22815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22816 wxDateSpan
*arg2
= 0 ;
22817 wxDateTime
*result
;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22821 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22823 if (SWIG_arg_fail(1)) SWIG_fail
;
22825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22826 if (SWIG_arg_fail(2)) SWIG_fail
;
22827 if (arg2
== NULL
) {
22828 SWIG_null_ref("wxDateSpan");
22830 if (SWIG_arg_fail(2)) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22836 result
= (wxDateTime
*) &_result_ref
;
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22849 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22854 argc
= PyObject_Length(args
);
22855 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22856 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22862 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22872 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22880 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22888 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22898 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22906 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22911 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22916 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22917 PyObject
*resultobj
;
22918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22919 wxTimeSpan
*arg2
= 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22924 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22930 if (arg2
== NULL
) {
22931 SWIG_null_ref("wxTimeSpan");
22933 if (SWIG_arg_fail(2)) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22943 wxDateTime
* resultptr
;
22944 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22953 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22954 PyObject
*resultobj
;
22955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22956 wxDateSpan
*arg2
= 0 ;
22958 PyObject
* obj0
= 0 ;
22959 PyObject
* obj1
= 0 ;
22961 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22963 if (SWIG_arg_fail(1)) SWIG_fail
;
22965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22966 if (SWIG_arg_fail(2)) SWIG_fail
;
22967 if (arg2
== NULL
) {
22968 SWIG_null_ref("wxDateSpan");
22970 if (SWIG_arg_fail(2)) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 wxDateTime
* resultptr
;
22981 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22990 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22995 argc
= PyObject_Length(args
);
22996 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22997 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23013 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23021 return _wrap_DateTime___add____SWIG_0(self
,args
);
23029 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23039 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23047 return _wrap_DateTime___add____SWIG_1(self
,args
);
23052 Py_INCREF(Py_NotImplemented
);
23053 return Py_NotImplemented
;
23057 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23058 PyObject
*resultobj
;
23059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23060 wxDateTime
*arg2
= 0 ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23065 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail
;
23069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23070 if (SWIG_arg_fail(2)) SWIG_fail
;
23071 if (arg2
== NULL
) {
23072 SWIG_null_ref("wxDateTime");
23074 if (SWIG_arg_fail(2)) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23084 wxTimeSpan
* resultptr
;
23085 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23094 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23095 PyObject
*resultobj
;
23096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23097 wxTimeSpan
*arg2
= 0 ;
23099 PyObject
* obj0
= 0 ;
23100 PyObject
* obj1
= 0 ;
23102 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23107 if (SWIG_arg_fail(2)) SWIG_fail
;
23108 if (arg2
== NULL
) {
23109 SWIG_null_ref("wxTimeSpan");
23111 if (SWIG_arg_fail(2)) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 wxDateTime
* resultptr
;
23122 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23131 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23132 PyObject
*resultobj
;
23133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23134 wxDateSpan
*arg2
= 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23139 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23144 if (SWIG_arg_fail(2)) SWIG_fail
;
23145 if (arg2
== NULL
) {
23146 SWIG_null_ref("wxDateSpan");
23148 if (SWIG_arg_fail(2)) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 wxDateTime
* resultptr
;
23159 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23168 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23173 argc
= PyObject_Length(args
);
23174 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23175 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23181 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23191 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23199 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23207 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23217 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23225 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23233 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23243 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23251 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23256 Py_INCREF(Py_NotImplemented
);
23257 return Py_NotImplemented
;
23261 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23264 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "other", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail
;
23275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23276 if (SWIG_arg_fail(2)) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23293 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23296 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "other", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23306 if (SWIG_arg_fail(1)) SWIG_fail
;
23307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23308 if (SWIG_arg_fail(2)) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23325 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23328 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "other", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23338 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23340 if (SWIG_arg_fail(2)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23357 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23360 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "other", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23370 if (SWIG_arg_fail(1)) SWIG_fail
;
23371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(2)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23389 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23392 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self",(char *) "other", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23404 if (SWIG_arg_fail(2)) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23421 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23424 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "other", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail
;
23435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23436 if (SWIG_arg_fail(2)) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23453 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23456 wxString
*arg2
= 0 ;
23458 bool temp2
= false ;
23459 PyObject
* obj0
= 0 ;
23460 PyObject
* obj1
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self",(char *) "date", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23467 if (SWIG_arg_fail(1)) SWIG_fail
;
23469 arg2
= wxString_in_helper(obj1
);
23470 if (arg2
== NULL
) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= SWIG_From_int((int)(result
));
23497 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23500 wxString
*arg2
= 0 ;
23501 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23503 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23504 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23506 bool temp2
= false ;
23507 bool temp3
= false ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 PyObject
* obj2
= 0 ;
23511 PyObject
* obj3
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 arg2
= wxString_in_helper(obj1
);
23521 if (arg2
== NULL
) SWIG_fail
;
23526 arg3
= wxString_in_helper(obj2
);
23527 if (arg3
== NULL
) SWIG_fail
;
23533 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23534 if (SWIG_arg_fail(4)) SWIG_fail
;
23535 if (arg4
== NULL
) {
23536 SWIG_null_ref("wxDateTime");
23538 if (SWIG_arg_fail(4)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= SWIG_From_int((int)(result
));
23573 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23576 wxString
*arg2
= 0 ;
23578 bool temp2
= false ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "datetime", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23587 if (SWIG_arg_fail(1)) SWIG_fail
;
23589 arg2
= wxString_in_helper(obj1
);
23590 if (arg2
== NULL
) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_From_int((int)(result
));
23617 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23620 wxString
*arg2
= 0 ;
23622 bool temp2
= false ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "date", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 arg2
= wxString_in_helper(obj1
);
23634 if (arg2
== NULL
) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= SWIG_From_int((int)(result
));
23661 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23664 wxString
*arg2
= 0 ;
23666 bool temp2
= false ;
23667 PyObject
* obj0
= 0 ;
23668 PyObject
* obj1
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self",(char *) "time", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23675 if (SWIG_arg_fail(1)) SWIG_fail
;
23677 arg2
= wxString_in_helper(obj1
);
23678 if (arg2
== NULL
) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_From_int((int)(result
));
23705 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23708 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23709 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23710 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23711 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23713 bool temp2
= false ;
23714 bool temp3
= false ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 PyObject
* obj2
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self",(char *) "format",(char *) "tz", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23727 arg2
= wxString_in_helper(obj1
);
23728 if (arg2
== NULL
) SWIG_fail
;
23734 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23757 if (temp3
) delete arg3
;
23766 if (temp3
) delete arg3
;
23772 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23783 if (SWIG_arg_fail(1)) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23804 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23815 if (SWIG_arg_fail(1)) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23836 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23847 if (SWIG_arg_fail(1)) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23868 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "self", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23879 if (SWIG_arg_fail(1)) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23900 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23903 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23905 return Py_BuildValue((char *)"");
23907 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "sec", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23918 arg1
= (long)(SWIG_As_long(obj0
));
23919 if (SWIG_arg_fail(1)) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= wxTimeSpan::Seconds(arg1
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 wxTimeSpan
* resultptr
;
23930 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23939 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23942 char *kwnames
[] = {
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= wxTimeSpan::Second();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23955 wxTimeSpan
* resultptr
;
23956 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23965 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "min", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23976 arg1
= (long)(SWIG_As_long(obj0
));
23977 if (SWIG_arg_fail(1)) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= wxTimeSpan::Minutes(arg1
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 wxTimeSpan
* resultptr
;
23988 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23997 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
24000 char *kwnames
[] = {
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= wxTimeSpan::Minute();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 wxTimeSpan
* resultptr
;
24014 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24023 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24027 PyObject
* obj0
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "hours", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24034 arg1
= (long)(SWIG_As_long(obj0
));
24035 if (SWIG_arg_fail(1)) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= wxTimeSpan::Hours(arg1
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 wxTimeSpan
* resultptr
;
24046 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24055 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24058 char *kwnames
[] = {
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= wxTimeSpan::Hour();
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 wxTimeSpan
* resultptr
;
24072 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24081 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "days", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24092 arg1
= (long)(SWIG_As_long(obj0
));
24093 if (SWIG_arg_fail(1)) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= wxTimeSpan::Days(arg1
);
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24103 wxTimeSpan
* resultptr
;
24104 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24113 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24116 char *kwnames
[] = {
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= wxTimeSpan::Day();
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 wxTimeSpan
* resultptr
;
24130 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24139 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24143 PyObject
* obj0
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "days", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24150 arg1
= (long)(SWIG_As_long(obj0
));
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= wxTimeSpan::Weeks(arg1
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 wxTimeSpan
* resultptr
;
24162 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24171 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24174 char *kwnames
[] = {
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= wxTimeSpan::Week();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 wxTimeSpan
* resultptr
;
24188 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24197 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 long arg1
= (long) 0 ;
24200 long arg2
= (long) 0 ;
24201 long arg3
= (long) 0 ;
24202 long arg4
= (long) 0 ;
24203 wxTimeSpan
*result
;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 PyObject
* obj2
= 0 ;
24207 PyObject
* obj3
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24215 arg1
= (long)(SWIG_As_long(obj0
));
24216 if (SWIG_arg_fail(1)) SWIG_fail
;
24221 arg2
= (long)(SWIG_As_long(obj1
));
24222 if (SWIG_arg_fail(2)) SWIG_fail
;
24227 arg3
= (long)(SWIG_As_long(obj2
));
24228 if (SWIG_arg_fail(3)) SWIG_fail
;
24233 arg4
= (long)(SWIG_As_long(obj3
));
24234 if (SWIG_arg_fail(4)) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24251 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24261 if (SWIG_arg_fail(1)) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24279 wxTimeSpan
*arg2
= 0 ;
24280 wxTimeSpan
*result
;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "diff", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24289 if (SWIG_arg_fail(1)) SWIG_fail
;
24291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24292 if (SWIG_arg_fail(2)) SWIG_fail
;
24293 if (arg2
== NULL
) {
24294 SWIG_null_ref("wxTimeSpan");
24296 if (SWIG_arg_fail(2)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24302 result
= (wxTimeSpan
*) &_result_ref
;
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24315 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24318 wxTimeSpan
*arg2
= 0 ;
24319 wxTimeSpan
*result
;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char *kwnames
[] = {
24323 (char *) "self",(char *) "diff", NULL
24326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24328 if (SWIG_arg_fail(1)) SWIG_fail
;
24330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24331 if (SWIG_arg_fail(2)) SWIG_fail
;
24332 if (arg2
== NULL
) {
24333 SWIG_null_ref("wxTimeSpan");
24335 if (SWIG_arg_fail(2)) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24341 result
= (wxTimeSpan
*) &_result_ref
;
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24354 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24358 wxTimeSpan
*result
;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self",(char *) "n", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24367 if (SWIG_arg_fail(1)) SWIG_fail
;
24369 arg2
= (int)(SWIG_As_int(obj1
));
24370 if (SWIG_arg_fail(2)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24376 result
= (wxTimeSpan
*) &_result_ref
;
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24389 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24392 wxTimeSpan
*result
;
24393 PyObject
* obj0
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24400 if (SWIG_arg_fail(1)) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24405 result
= (wxTimeSpan
*) &_result_ref
;
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24418 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24429 if (SWIG_arg_fail(1)) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 wxTimeSpan
* resultptr
;
24439 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24448 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24451 wxTimeSpan
*arg2
= 0 ;
24452 wxTimeSpan
*result
;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "diff", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24461 if (SWIG_arg_fail(1)) SWIG_fail
;
24463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24464 if (SWIG_arg_fail(2)) SWIG_fail
;
24465 if (arg2
== NULL
) {
24466 SWIG_null_ref("wxTimeSpan");
24468 if (SWIG_arg_fail(2)) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24474 result
= (wxTimeSpan
*) &_result_ref
;
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24487 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24490 wxTimeSpan
*arg2
= 0 ;
24491 wxTimeSpan
*result
;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self",(char *) "diff", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24500 if (SWIG_arg_fail(1)) SWIG_fail
;
24502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24503 if (SWIG_arg_fail(2)) SWIG_fail
;
24504 if (arg2
== NULL
) {
24505 SWIG_null_ref("wxTimeSpan");
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24513 result
= (wxTimeSpan
*) &_result_ref
;
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24526 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
;
24528 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24530 wxTimeSpan
*result
;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self",(char *) "n", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24539 if (SWIG_arg_fail(1)) SWIG_fail
;
24541 arg2
= (int)(SWIG_As_int(obj1
));
24542 if (SWIG_arg_fail(2)) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24548 result
= (wxTimeSpan
*) &_result_ref
;
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24561 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24564 wxTimeSpan
*result
;
24565 PyObject
* obj0
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24577 result
= (wxTimeSpan
*) &_result_ref
;
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24590 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24593 wxTimeSpan
*arg2
= 0 ;
24595 PyObject
* obj0
= 0 ;
24596 PyObject
* obj1
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self",(char *) "other", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24603 if (SWIG_arg_fail(1)) SWIG_fail
;
24605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24606 if (SWIG_arg_fail(2)) SWIG_fail
;
24607 if (arg2
== NULL
) {
24608 SWIG_null_ref("wxTimeSpan");
24610 if (SWIG_arg_fail(2)) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 wxTimeSpan
* resultptr
;
24621 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24630 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24633 wxTimeSpan
*arg2
= 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "other", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24643 if (SWIG_arg_fail(1)) SWIG_fail
;
24645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24646 if (SWIG_arg_fail(2)) SWIG_fail
;
24647 if (arg2
== NULL
) {
24648 SWIG_null_ref("wxTimeSpan");
24650 if (SWIG_arg_fail(2)) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 wxTimeSpan
* resultptr
;
24661 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24670 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self",(char *) "n", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24683 if (SWIG_arg_fail(1)) SWIG_fail
;
24685 arg2
= (int)(SWIG_As_int(obj1
));
24686 if (SWIG_arg_fail(2)) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= wxTimeSpan___mul__(arg1
,arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 wxTimeSpan
* resultptr
;
24697 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24706 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "n", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail
;
24721 arg2
= (int)(SWIG_As_int(obj1
));
24722 if (SWIG_arg_fail(2)) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24732 wxTimeSpan
* resultptr
;
24733 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24742 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24745 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 PyObject
* obj1
= 0 ;
24749 char *kwnames
[] = {
24750 (char *) "self",(char *) "other", NULL
24753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24755 if (SWIG_arg_fail(1)) SWIG_fail
;
24756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(2)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24774 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24777 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "other", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24787 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24789 if (SWIG_arg_fail(2)) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24806 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24809 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "other", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24819 if (SWIG_arg_fail(1)) SWIG_fail
;
24820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24821 if (SWIG_arg_fail(2)) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24838 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24841 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "other", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24851 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24853 if (SWIG_arg_fail(2)) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24870 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24873 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "other", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail
;
24884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24885 if (SWIG_arg_fail(2)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24902 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24905 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self",(char *) "other", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail
;
24916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(2)) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24934 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24945 if (SWIG_arg_fail(1)) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24962 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24990 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
;
24992 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25018 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25021 wxTimeSpan
*arg2
= 0 ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self",(char *) "ts", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25031 if (SWIG_arg_fail(1)) SWIG_fail
;
25033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25034 if (SWIG_arg_fail(2)) SWIG_fail
;
25035 if (arg2
== NULL
) {
25036 SWIG_null_ref("wxTimeSpan");
25038 if (SWIG_arg_fail(2)) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25056 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
;
25058 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25059 wxTimeSpan
*arg2
= 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self",(char *) "ts", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25069 if (SWIG_arg_fail(1)) SWIG_fail
;
25071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25072 if (SWIG_arg_fail(2)) SWIG_fail
;
25073 if (arg2
== NULL
) {
25074 SWIG_null_ref("wxTimeSpan");
25076 if (SWIG_arg_fail(2)) SWIG_fail
;
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25094 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25097 wxTimeSpan
*arg2
= 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self",(char *) "t", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(2)) SWIG_fail
;
25111 if (arg2
== NULL
) {
25112 SWIG_null_ref("wxTimeSpan");
25114 if (SWIG_arg_fail(2)) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25132 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25143 if (SWIG_arg_fail(1)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_From_int((int)(result
));
25160 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25171 if (SWIG_arg_fail(1)) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_From_int((int)(result
));
25188 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25199 if (SWIG_arg_fail(1)) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25208 resultobj
= SWIG_From_int((int)(result
));
25216 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_From_int((int)(result
));
25244 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25264 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25265 hi
= PyLong_FromLong( (&result
)->GetHi() );
25266 lo
= PyLong_FromLong( (&result
)->GetLo() );
25267 shifter
= PyLong_FromLong(32);
25268 shifted
= PyNumber_Lshift(hi
, shifter
);
25269 resultobj
= PyNumber_Or(shifted
, lo
);
25272 Py_DECREF(shifter
);
25273 Py_DECREF(shifted
);
25281 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25292 if (SWIG_arg_fail(1)) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25301 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25302 hi
= PyLong_FromLong( (&result
)->GetHi() );
25303 lo
= PyLong_FromLong( (&result
)->GetLo() );
25304 shifter
= PyLong_FromLong(32);
25305 shifted
= PyNumber_Lshift(hi
, shifter
);
25306 resultobj
= PyNumber_Or(shifted
, lo
);
25309 Py_DECREF(shifter
);
25310 Py_DECREF(shifted
);
25318 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25321 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25322 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25324 bool temp2
= false ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self",(char *) "format", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25333 if (SWIG_arg_fail(1)) SWIG_fail
;
25336 arg2
= wxString_in_helper(obj1
);
25337 if (arg2
== NULL
) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25369 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25372 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25374 return Py_BuildValue((char *)"");
25376 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 int arg1
= (int) 0 ;
25379 int arg2
= (int) 0 ;
25380 int arg3
= (int) 0 ;
25381 int arg4
= (int) 0 ;
25382 wxDateSpan
*result
;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 PyObject
* obj3
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25394 arg1
= (int)(SWIG_As_int(obj0
));
25395 if (SWIG_arg_fail(1)) SWIG_fail
;
25400 arg2
= (int)(SWIG_As_int(obj1
));
25401 if (SWIG_arg_fail(2)) SWIG_fail
;
25406 arg3
= (int)(SWIG_As_int(obj2
));
25407 if (SWIG_arg_fail(3)) SWIG_fail
;
25412 arg4
= (int)(SWIG_As_int(obj3
));
25413 if (SWIG_arg_fail(4)) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25430 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25433 PyObject
* obj0
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25440 if (SWIG_arg_fail(1)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25459 PyObject
* obj0
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "days", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25466 arg1
= (int)(SWIG_As_int(obj0
));
25467 if (SWIG_arg_fail(1)) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= wxDateSpan::Days(arg1
);
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25477 wxDateSpan
* resultptr
;
25478 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25487 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25490 char *kwnames
[] = {
25494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= wxDateSpan::Day();
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25503 wxDateSpan
* resultptr
;
25504 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25513 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25517 PyObject
* obj0
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "weeks", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25524 arg1
= (int)(SWIG_As_int(obj0
));
25525 if (SWIG_arg_fail(1)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= wxDateSpan::Weeks(arg1
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25535 wxDateSpan
* resultptr
;
25536 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25545 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25548 char *kwnames
[] = {
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= wxDateSpan::Week();
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25561 wxDateSpan
* resultptr
;
25562 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25571 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25575 PyObject
* obj0
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "mon", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25582 arg1
= (int)(SWIG_As_int(obj0
));
25583 if (SWIG_arg_fail(1)) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= wxDateSpan::Months(arg1
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25593 wxDateSpan
* resultptr
;
25594 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25603 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25606 char *kwnames
[] = {
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= wxDateSpan::Month();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 wxDateSpan
* resultptr
;
25620 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25629 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25633 PyObject
* obj0
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "years", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25640 arg1
= (int)(SWIG_As_int(obj0
));
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= wxDateSpan::Years(arg1
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 wxDateSpan
* resultptr
;
25652 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25661 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25664 char *kwnames
[] = {
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= wxDateSpan::Year();
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 wxDateSpan
* resultptr
;
25678 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25687 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25691 wxDateSpan
*result
;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "n", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25702 arg2
= (int)(SWIG_As_int(obj1
));
25703 if (SWIG_arg_fail(2)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25709 result
= (wxDateSpan
*) &_result_ref
;
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25722 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25726 wxDateSpan
*result
;
25727 PyObject
* obj0
= 0 ;
25728 PyObject
* obj1
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self",(char *) "n", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25735 if (SWIG_arg_fail(1)) SWIG_fail
;
25737 arg2
= (int)(SWIG_As_int(obj1
));
25738 if (SWIG_arg_fail(2)) SWIG_fail
;
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25744 result
= (wxDateSpan
*) &_result_ref
;
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25757 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25761 wxDateSpan
*result
;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj1
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "n", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25770 if (SWIG_arg_fail(1)) SWIG_fail
;
25772 arg2
= (int)(SWIG_As_int(obj1
));
25773 if (SWIG_arg_fail(2)) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25779 result
= (wxDateSpan
*) &_result_ref
;
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25792 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25796 wxDateSpan
*result
;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self",(char *) "n", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25805 if (SWIG_arg_fail(1)) SWIG_fail
;
25807 arg2
= (int)(SWIG_As_int(obj1
));
25808 if (SWIG_arg_fail(2)) SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25814 result
= (wxDateSpan
*) &_result_ref
;
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25827 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25838 if (SWIG_arg_fail(1)) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_From_int((int)(result
));
25855 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25866 if (SWIG_arg_fail(1)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_From_int((int)(result
));
25883 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_From_int((int)(result
));
25911 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25915 PyObject
* obj0
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25922 if (SWIG_arg_fail(1)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_From_int((int)(result
));
25939 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25950 if (SWIG_arg_fail(1)) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_From_int((int)(result
));
25967 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25970 wxDateSpan
*arg2
= 0 ;
25971 wxDateSpan
*result
;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "other", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail
;
25982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(2)) SWIG_fail
;
25984 if (arg2
== NULL
) {
25985 SWIG_null_ref("wxDateSpan");
25987 if (SWIG_arg_fail(2)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25993 result
= (wxDateSpan
*) &_result_ref
;
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26006 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26009 wxDateSpan
*arg2
= 0 ;
26010 wxDateSpan
*result
;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 char *kwnames
[] = {
26014 (char *) "self",(char *) "other", NULL
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
26018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26019 if (SWIG_arg_fail(1)) SWIG_fail
;
26021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26022 if (SWIG_arg_fail(2)) SWIG_fail
;
26023 if (arg2
== NULL
) {
26024 SWIG_null_ref("wxDateSpan");
26026 if (SWIG_arg_fail(2)) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26032 result
= (wxDateSpan
*) &_result_ref
;
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26045 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26048 wxDateSpan
*result
;
26049 PyObject
* obj0
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26061 result
= (wxDateSpan
*) &_result_ref
;
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26074 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26078 wxDateSpan
*result
;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "factor", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26087 if (SWIG_arg_fail(1)) SWIG_fail
;
26089 arg2
= (int)(SWIG_As_int(obj1
));
26090 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26096 result
= (wxDateSpan
*) &_result_ref
;
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26109 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26112 wxDateSpan
*arg2
= 0 ;
26113 wxDateSpan
*result
;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self",(char *) "other", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26122 if (SWIG_arg_fail(1)) SWIG_fail
;
26124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26125 if (SWIG_arg_fail(2)) SWIG_fail
;
26126 if (arg2
== NULL
) {
26127 SWIG_null_ref("wxDateSpan");
26129 if (SWIG_arg_fail(2)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26135 result
= (wxDateSpan
*) &_result_ref
;
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26148 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26151 wxDateSpan
*arg2
= 0 ;
26152 wxDateSpan
*result
;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 char *kwnames
[] = {
26156 (char *) "self",(char *) "other", NULL
26159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26161 if (SWIG_arg_fail(1)) SWIG_fail
;
26163 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26164 if (SWIG_arg_fail(2)) SWIG_fail
;
26165 if (arg2
== NULL
) {
26166 SWIG_null_ref("wxDateSpan");
26168 if (SWIG_arg_fail(2)) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26174 result
= (wxDateSpan
*) &_result_ref
;
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26187 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26190 wxDateSpan
*result
;
26191 PyObject
* obj0
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26198 if (SWIG_arg_fail(1)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26203 result
= (wxDateSpan
*) &_result_ref
;
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26216 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26220 wxDateSpan
*result
;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self",(char *) "factor", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 arg2
= (int)(SWIG_As_int(obj1
));
26232 if (SWIG_arg_fail(2)) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26238 result
= (wxDateSpan
*) &_result_ref
;
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26251 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
;
26253 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26254 wxDateSpan
*arg2
= 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self",(char *) "other", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(2)) SWIG_fail
;
26268 if (arg2
== NULL
) {
26269 SWIG_null_ref("wxDateSpan");
26271 if (SWIG_arg_fail(2)) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 wxDateSpan
* resultptr
;
26282 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26291 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26294 wxDateSpan
*arg2
= 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "other", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26304 if (SWIG_arg_fail(1)) SWIG_fail
;
26306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26307 if (SWIG_arg_fail(2)) SWIG_fail
;
26308 if (arg2
== NULL
) {
26309 SWIG_null_ref("wxDateSpan");
26311 if (SWIG_arg_fail(2)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26321 wxDateSpan
* resultptr
;
26322 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26331 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
;
26333 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 char *kwnames
[] = {
26339 (char *) "self",(char *) "n", NULL
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26344 if (SWIG_arg_fail(1)) SWIG_fail
;
26346 arg2
= (int)(SWIG_As_int(obj1
));
26347 if (SWIG_arg_fail(2)) SWIG_fail
;
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= wxDateSpan___mul__(arg1
,arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26357 wxDateSpan
* resultptr
;
26358 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26367 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self",(char *) "n", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26380 if (SWIG_arg_fail(1)) SWIG_fail
;
26382 arg2
= (int)(SWIG_As_int(obj1
));
26383 if (SWIG_arg_fail(2)) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 result
= wxDateSpan___rmul__(arg1
,arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26393 wxDateSpan
* resultptr
;
26394 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26403 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26406 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26408 PyObject
* obj0
= 0 ;
26409 PyObject
* obj1
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self",(char *) "other", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26416 if (SWIG_arg_fail(1)) SWIG_fail
;
26417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26418 if (SWIG_arg_fail(2)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26435 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26438 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self",(char *) "other", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26448 if (SWIG_arg_fail(1)) SWIG_fail
;
26449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26450 if (SWIG_arg_fail(2)) SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26467 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26470 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26472 return Py_BuildValue((char *)"");
26474 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
;
26477 char *kwnames
[] = {
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (long)wxGetLocalTime();
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= SWIG_From_long((long)(result
));
26498 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26501 char *kwnames
[] = {
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (long)wxGetUTCTime();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_From_long((long)(result
));
26522 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26525 char *kwnames
[] = {
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (long)wxGetCurrentTime();
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_From_long((long)(result
));
26546 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
;
26549 char *kwnames
[] = {
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= wxGetLocalTimeMillis();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26562 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26563 hi
= PyLong_FromLong( (&result
)->GetHi() );
26564 lo
= PyLong_FromLong( (&result
)->GetLo() );
26565 shifter
= PyLong_FromLong(32);
26566 shifted
= PyNumber_Lshift(hi
, shifter
);
26567 resultobj
= PyNumber_Or(shifted
, lo
);
26570 Py_DECREF(shifter
);
26571 Py_DECREF(shifted
);
26579 static int _wrap_DefaultDateTime_set(PyObject
*) {
26580 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26585 static PyObject
*_wrap_DefaultDateTime_get(void) {
26588 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26593 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxDataFormatId arg1
;
26596 wxDataFormat
*result
;
26597 PyObject
* obj0
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "type", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26604 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26605 if (SWIG_arg_fail(1)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26621 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxString
*arg1
= 0 ;
26624 wxDataFormat
*result
;
26625 bool temp1
= false ;
26626 PyObject
* obj0
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "format", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26633 arg1
= wxString_in_helper(obj0
);
26634 if (arg1
== NULL
) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26659 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26685 PyObject
*resultobj
;
26686 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26687 wxDataFormatId arg2
;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26692 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail
;
26696 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26697 if (SWIG_arg_fail(2)) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26715 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26716 PyObject
*resultobj
;
26717 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26718 wxDataFormatId arg2
;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26723 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26725 if (SWIG_arg_fail(1)) SWIG_fail
;
26727 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26728 if (SWIG_arg_fail(2)) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26746 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26747 PyObject
*resultobj
;
26748 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26749 wxDataFormat
*arg2
= 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26754 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26756 if (SWIG_arg_fail(1)) SWIG_fail
;
26758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26759 if (SWIG_arg_fail(2)) SWIG_fail
;
26760 if (arg2
== NULL
) {
26761 SWIG_null_ref("wxDataFormat");
26763 if (SWIG_arg_fail(2)) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26781 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26786 argc
= PyObject_Length(args
);
26787 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26788 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26794 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26804 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26812 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26820 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26828 _v
= SWIG_Check_int(argv
[1]);
26830 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26835 Py_INCREF(Py_NotImplemented
);
26836 return Py_NotImplemented
;
26840 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26841 PyObject
*resultobj
;
26842 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26843 wxDataFormat
*arg2
= 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26848 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26850 if (SWIG_arg_fail(1)) SWIG_fail
;
26852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26853 if (SWIG_arg_fail(2)) SWIG_fail
;
26854 if (arg2
== NULL
) {
26855 SWIG_null_ref("wxDataFormat");
26857 if (SWIG_arg_fail(2)) SWIG_fail
;
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26875 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26880 argc
= PyObject_Length(args
);
26881 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26882 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26888 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26898 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26906 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26914 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26922 _v
= SWIG_Check_int(argv
[1]);
26924 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26929 Py_INCREF(Py_NotImplemented
);
26930 return Py_NotImplemented
;
26934 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26937 wxDataFormatId arg2
;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "format", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26949 if (SWIG_arg_fail(2)) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 (arg1
)->SetType((wxDataFormatId
)arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 Py_INCREF(Py_None
); resultobj
= Py_None
;
26965 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26968 wxDataFormatId result
;
26969 PyObject
* obj0
= 0 ;
26970 char *kwnames
[] = {
26971 (char *) "self", NULL
26974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26976 if (SWIG_arg_fail(1)) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= SWIG_From_int((result
));
26991 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26995 PyObject
* obj0
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
27001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= ((wxDataFormat
const *)arg1
)->GetId();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27023 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27026 wxString
*arg2
= 0 ;
27027 bool temp2
= false ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self",(char *) "format", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 arg2
= wxString_in_helper(obj1
);
27039 if (arg2
== NULL
) SWIG_fail
;
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->SetId((wxString
const &)*arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 Py_INCREF(Py_None
); resultobj
= Py_None
;
27064 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27067 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27069 return Py_BuildValue((char *)"");
27071 static int _wrap_FormatInvalid_set(PyObject
*) {
27072 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27077 static PyObject
*_wrap_FormatInvalid_get(void) {
27080 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27085 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 Py_INCREF(Py_None
); resultobj
= Py_None
;
27110 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
;
27112 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27113 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27114 SwigValueWrapper
<wxDataFormat
> result
;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "dir", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(1)) SWIG_fail
;
27126 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27127 if (SWIG_arg_fail(2)) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 wxDataFormat
* resultptr
;
27139 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27148 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27151 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self",(char *) "dir", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail
;
27164 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27165 if (SWIG_arg_fail(2)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27184 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27187 wxDataFormat
*arg2
= 0 ;
27188 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 PyObject
* obj2
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "format",(char *) "dir", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27199 if (SWIG_arg_fail(1)) SWIG_fail
;
27201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27202 if (SWIG_arg_fail(2)) SWIG_fail
;
27203 if (arg2
== NULL
) {
27204 SWIG_null_ref("wxDataFormat");
27206 if (SWIG_arg_fail(2)) SWIG_fail
;
27210 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27211 if (SWIG_arg_fail(3)) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27230 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27233 wxDataFormat
*arg2
= 0 ;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self",(char *) "format", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27243 if (SWIG_arg_fail(1)) SWIG_fail
;
27245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(2)) SWIG_fail
;
27247 if (arg2
== NULL
) {
27248 SWIG_null_ref("wxDataFormat");
27250 if (SWIG_arg_fail(2)) SWIG_fail
;
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27268 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27271 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27273 PyObject
* obj0
= 0 ;
27274 PyObject
* obj1
= 0 ;
27275 char *kwnames
[] = {
27276 (char *) "self",(char *) "dir", NULL
27279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27281 if (SWIG_arg_fail(1)) SWIG_fail
;
27284 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27285 if (SWIG_arg_fail(2)) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= result
;
27302 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27305 wxDataFormat
*arg2
= 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self",(char *) "format", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail
;
27317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27318 if (SWIG_arg_fail(2)) SWIG_fail
;
27319 if (arg2
== NULL
) {
27320 SWIG_null_ref("wxDataFormat");
27322 if (SWIG_arg_fail(2)) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= result
;
27338 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27341 wxDataFormat
*arg2
= 0 ;
27342 PyObject
*arg3
= (PyObject
*) 0 ;
27344 PyObject
* obj0
= 0 ;
27345 PyObject
* obj1
= 0 ;
27346 PyObject
* obj2
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self",(char *) "format",(char *) "data", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27353 if (SWIG_arg_fail(1)) SWIG_fail
;
27355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27356 if (SWIG_arg_fail(2)) SWIG_fail
;
27357 if (arg2
== NULL
) {
27358 SWIG_null_ref("wxDataFormat");
27360 if (SWIG_arg_fail(2)) SWIG_fail
;
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27379 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27382 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27384 return Py_BuildValue((char *)"");
27386 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27389 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27390 wxDataObjectSimple
*result
;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "format", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27400 if (SWIG_arg_fail(1)) SWIG_fail
;
27401 if (arg1
== NULL
) {
27402 SWIG_null_ref("wxDataFormat");
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27421 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
;
27423 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27424 wxDataFormat
*result
;
27425 PyObject
* obj0
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27437 result
= (wxDataFormat
*) &_result_ref
;
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27450 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27453 wxDataFormat
*arg2
= 0 ;
27454 PyObject
* obj0
= 0 ;
27455 PyObject
* obj1
= 0 ;
27456 char *kwnames
[] = {
27457 (char *) "self",(char *) "format", NULL
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27462 if (SWIG_arg_fail(1)) SWIG_fail
;
27464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27465 if (SWIG_arg_fail(2)) SWIG_fail
;
27466 if (arg2
== NULL
) {
27467 SWIG_null_ref("wxDataFormat");
27469 if (SWIG_arg_fail(2)) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 Py_INCREF(Py_None
); resultobj
= Py_None
;
27485 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27496 if (SWIG_arg_fail(1)) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27513 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27524 if (SWIG_arg_fail(1)) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= result
;
27539 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27542 PyObject
*arg2
= (PyObject
*) 0 ;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self",(char *) "data", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27552 if (SWIG_arg_fail(1)) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27570 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27573 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27575 return Py_BuildValue((char *)"");
27577 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27580 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27581 wxPyDataObjectSimple
*result
;
27582 PyObject
* obj0
= 0 ;
27583 char *kwnames
[] = {
27584 (char *) "format", NULL
27587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27591 if (SWIG_arg_fail(1)) SWIG_fail
;
27592 if (arg1
== NULL
) {
27593 SWIG_null_ref("wxDataFormat");
27595 if (SWIG_arg_fail(1)) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27612 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27615 PyObject
*arg2
= (PyObject
*) 0 ;
27616 PyObject
*arg3
= (PyObject
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 PyObject
* obj2
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "self",(char *) "_class", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 Py_INCREF(Py_None
); resultobj
= Py_None
;
27643 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27646 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27648 return Py_BuildValue((char *)"");
27650 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxDataObjectComposite
*result
;
27653 char *kwnames
[] = {
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27672 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27675 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27676 bool arg3
= (bool) false ;
27677 PyObject
* obj0
= 0 ;
27678 PyObject
* obj1
= 0 ;
27679 PyObject
* obj2
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27686 if (SWIG_arg_fail(1)) SWIG_fail
;
27687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27688 if (SWIG_arg_fail(2)) SWIG_fail
;
27691 arg3
= (bool)(SWIG_As_bool(obj2
));
27692 if (SWIG_arg_fail(3)) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 (arg1
)->Add(arg2
,arg3
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 Py_INCREF(Py_None
); resultobj
= Py_None
;
27709 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27712 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27714 return Py_BuildValue((char *)"");
27716 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27719 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27720 wxTextDataObject
*result
;
27721 bool temp1
= false ;
27722 PyObject
* obj0
= 0 ;
27723 char *kwnames
[] = {
27724 (char *) "text", NULL
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27730 arg1
= wxString_in_helper(obj0
);
27731 if (arg1
== NULL
) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27757 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27768 if (SWIG_arg_fail(1)) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= (size_t)(arg1
)->GetTextLength();
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27785 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (arg1
)->GetText();
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27817 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27820 wxString
*arg2
= 0 ;
27821 bool temp2
= false ;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self",(char *) "text", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail
;
27832 arg2
= wxString_in_helper(obj1
);
27833 if (arg2
== NULL
) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 (arg1
)->SetText((wxString
const &)*arg2
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 Py_INCREF(Py_None
); resultobj
= Py_None
;
27858 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27861 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27863 return Py_BuildValue((char *)"");
27865 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
;
27867 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27868 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27869 wxPyTextDataObject
*result
;
27870 bool temp1
= false ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "text", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27879 arg1
= wxString_in_helper(obj0
);
27880 if (arg1
== NULL
) SWIG_fail
;
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27886 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27906 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
;
27908 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27909 PyObject
*arg2
= (PyObject
*) 0 ;
27910 PyObject
*arg3
= (PyObject
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 PyObject
* obj2
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "self",(char *) "_class", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27920 if (SWIG_arg_fail(1)) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 Py_INCREF(Py_None
); resultobj
= Py_None
;
27937 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27940 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27942 return Py_BuildValue((char *)"");
27944 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27947 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27948 wxBitmapDataObject
*result
;
27949 PyObject
* obj0
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "bitmap", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27958 if (SWIG_arg_fail(1)) SWIG_fail
;
27959 if (arg1
== NULL
) {
27960 SWIG_null_ref("wxBitmap");
27962 if (SWIG_arg_fail(1)) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27979 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27983 PyObject
* obj0
= 0 ;
27984 char *kwnames
[] = {
27985 (char *) "self", NULL
27988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27990 if (SWIG_arg_fail(1)) SWIG_fail
;
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27995 wxPyEndAllowThreads(__tstate
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27999 wxBitmap
* resultptr
;
28000 resultptr
= new wxBitmap((wxBitmap
&)(result
));
28001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
28009 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28012 wxBitmap
*arg2
= 0 ;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "self",(char *) "bitmap", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28021 if (SWIG_arg_fail(1)) SWIG_fail
;
28023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28024 if (SWIG_arg_fail(2)) SWIG_fail
;
28025 if (arg2
== NULL
) {
28026 SWIG_null_ref("wxBitmap");
28028 if (SWIG_arg_fail(2)) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 Py_INCREF(Py_None
); resultobj
= Py_None
;
28044 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28047 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28049 return Py_BuildValue((char *)"");
28051 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28054 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28055 wxPyBitmapDataObject
*result
;
28056 PyObject
* obj0
= 0 ;
28057 char *kwnames
[] = {
28058 (char *) "bitmap", NULL
28061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28065 if (SWIG_arg_fail(1)) SWIG_fail
;
28066 if (arg1
== NULL
) {
28067 SWIG_null_ref("wxBitmap");
28069 if (SWIG_arg_fail(1)) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28086 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28089 PyObject
*arg2
= (PyObject
*) 0 ;
28090 PyObject
*arg3
= (PyObject
*) 0 ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 PyObject
* obj2
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "self",(char *) "_class", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(1)) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 Py_INCREF(Py_None
); resultobj
= Py_None
;
28117 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28120 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28122 return Py_BuildValue((char *)"");
28124 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxFileDataObject
*result
;
28127 char *kwnames
[] = {
28131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (wxFileDataObject
*)new wxFileDataObject();
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28146 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28149 wxArrayString
*result
;
28150 PyObject
* obj0
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail
;
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28162 result
= (wxArrayString
*) &_result_ref
;
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= wxArrayString2PyList_helper(*result
);
28177 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28180 wxString
*arg2
= 0 ;
28181 bool temp2
= false ;
28182 PyObject
* obj0
= 0 ;
28183 PyObject
* obj1
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self",(char *) "filename", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail
;
28192 arg2
= wxString_in_helper(obj1
);
28193 if (arg2
== NULL
) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 (arg1
)->AddFile((wxString
const &)*arg2
);
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 Py_INCREF(Py_None
); resultobj
= Py_None
;
28218 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28221 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28223 return Py_BuildValue((char *)"");
28225 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28226 PyObject
*resultobj
;
28227 wxDataFormat
*arg1
= 0 ;
28228 wxCustomDataObject
*result
;
28229 PyObject
* obj0
= 0 ;
28231 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28234 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 if (arg1
== NULL
) {
28236 SWIG_null_ref("wxDataFormat");
28238 if (SWIG_arg_fail(1)) SWIG_fail
;
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28254 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28255 PyObject
*resultobj
;
28256 wxString
*arg1
= 0 ;
28257 wxCustomDataObject
*result
;
28258 bool temp1
= false ;
28259 PyObject
* obj0
= 0 ;
28261 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28263 arg1
= wxString_in_helper(obj0
);
28264 if (arg1
== NULL
) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28289 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28290 PyObject
*resultobj
;
28291 wxCustomDataObject
*result
;
28293 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28308 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28313 argc
= PyObject_Length(args
);
28314 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28315 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28318 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28323 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28326 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28341 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28345 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28350 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28353 PyObject
*arg2
= (PyObject
*) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self",(char *) "data", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28381 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (size_t)(arg1
)->GetSize();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28409 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 char *kwnames
[] = {
28415 (char *) "self", NULL
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= result
;
28435 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28438 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28440 return Py_BuildValue((char *)"");
28442 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxURLDataObject
*result
;
28445 char *kwnames
[] = {
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (wxURLDataObject
*)new wxURLDataObject();
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28464 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28475 if (SWIG_arg_fail(1)) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (arg1
)->GetURL();
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28496 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28499 wxString
*arg2
= 0 ;
28500 bool temp2
= false ;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self",(char *) "url", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail
;
28511 arg2
= wxString_in_helper(obj1
);
28512 if (arg2
== NULL
) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 (arg1
)->SetURL((wxString
const &)*arg2
);
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 Py_INCREF(Py_None
); resultobj
= Py_None
;
28537 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28540 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28542 return Py_BuildValue((char *)"");
28544 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxMetafileDataObject
*result
;
28547 char *kwnames
[] = {
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28566 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
;
28568 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28569 wxMetafile
*arg2
= 0 ;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "metafile", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28581 if (SWIG_arg_fail(2)) SWIG_fail
;
28582 if (arg2
== NULL
) {
28583 SWIG_null_ref("wxMetafile");
28585 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 Py_INCREF(Py_None
); resultobj
= Py_None
;
28601 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28605 PyObject
* obj0
= 0 ;
28606 char *kwnames
[] = {
28607 (char *) "self", NULL
28610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28612 if (SWIG_arg_fail(1)) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28621 wxMetafile
* resultptr
;
28622 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28631 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28634 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28636 return Py_BuildValue((char *)"");
28638 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxDragResult arg1
;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "res", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28649 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28650 if (SWIG_arg_fail(1)) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28668 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
;
28670 wxWindow
*arg1
= (wxWindow
*) 0 ;
28671 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28672 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28673 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28674 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28675 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28676 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28677 wxPyDropSource
*result
;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 PyObject
* obj2
= 0 ;
28681 PyObject
* obj3
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28688 if (SWIG_arg_fail(1)) SWIG_fail
;
28691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28692 if (SWIG_arg_fail(2)) SWIG_fail
;
28693 if (arg2
== NULL
) {
28694 SWIG_null_ref("wxCursor");
28696 if (SWIG_arg_fail(2)) SWIG_fail
;
28701 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28702 if (SWIG_arg_fail(3)) SWIG_fail
;
28703 if (arg3
== NULL
) {
28704 SWIG_null_ref("wxCursor");
28706 if (SWIG_arg_fail(3)) SWIG_fail
;
28711 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(4)) SWIG_fail
;
28713 if (arg4
== NULL
) {
28714 SWIG_null_ref("wxCursor");
28716 if (SWIG_arg_fail(4)) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28733 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28736 PyObject
*arg2
= (PyObject
*) 0 ;
28737 PyObject
*arg3
= (PyObject
*) 0 ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 PyObject
* obj2
= 0 ;
28742 PyObject
* obj3
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28749 if (SWIG_arg_fail(1)) SWIG_fail
;
28753 arg4
= (int)(SWIG_As_int(obj3
));
28754 if (SWIG_arg_fail(4)) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28780 if (SWIG_arg_fail(1)) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 Py_INCREF(Py_None
); resultobj
= Py_None
;
28795 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28798 wxDataObject
*arg2
= 0 ;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 char *kwnames
[] = {
28802 (char *) "self",(char *) "data", NULL
28805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28807 if (SWIG_arg_fail(1)) SWIG_fail
;
28809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28810 if (SWIG_arg_fail(2)) SWIG_fail
;
28811 if (arg2
== NULL
) {
28812 SWIG_null_ref("wxDataObject");
28814 if (SWIG_arg_fail(2)) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 (arg1
)->SetData(*arg2
);
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 Py_INCREF(Py_None
); resultobj
= Py_None
;
28830 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28833 wxDataObject
*result
;
28834 PyObject
* obj0
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28856 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
;
28858 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28859 wxDragResult arg2
;
28860 wxCursor
*arg3
= 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self",(char *) "res",(char *) "cursor", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(1)) SWIG_fail
;
28872 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28873 if (SWIG_arg_fail(2)) SWIG_fail
;
28876 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28877 if (SWIG_arg_fail(3)) SWIG_fail
;
28878 if (arg3
== NULL
) {
28879 SWIG_null_ref("wxCursor");
28881 if (SWIG_arg_fail(3)) SWIG_fail
;
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28890 Py_INCREF(Py_None
); resultobj
= Py_None
;
28897 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
;
28899 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28900 int arg2
= (int) wxDrag_CopyOnly
;
28901 wxDragResult result
;
28902 PyObject
* obj0
= 0 ;
28903 PyObject
* obj1
= 0 ;
28904 char *kwnames
[] = {
28905 (char *) "self",(char *) "flags", NULL
28908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28910 if (SWIG_arg_fail(1)) SWIG_fail
;
28913 arg2
= (int)(SWIG_As_int(obj1
));
28914 if (SWIG_arg_fail(2)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_From_int((result
));
28931 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28934 wxDragResult arg2
;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self",(char *) "effect", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28944 if (SWIG_arg_fail(1)) SWIG_fail
;
28946 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28947 if (SWIG_arg_fail(2)) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28965 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28968 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28970 return Py_BuildValue((char *)"");
28972 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28973 PyObject
*resultobj
;
28974 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28975 wxPyDropTarget
*result
;
28976 PyObject
* obj0
= 0 ;
28977 char *kwnames
[] = {
28978 (char *) "dataObject", NULL
28981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28984 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
29000 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29003 PyObject
*arg2
= (PyObject
*) 0 ;
29004 PyObject
*arg3
= (PyObject
*) 0 ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 PyObject
* obj2
= 0 ;
29008 char *kwnames
[] = {
29009 (char *) "self",(char *) "self",(char *) "_class", NULL
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29014 if (SWIG_arg_fail(1)) SWIG_fail
;
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 Py_INCREF(Py_None
); resultobj
= Py_None
;
29031 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29034 PyObject
* obj0
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 Py_INCREF(Py_None
); resultobj
= Py_None
;
29056 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29059 wxDataObject
*result
;
29060 PyObject
* obj0
= 0 ;
29061 char *kwnames
[] = {
29062 (char *) "self", NULL
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29067 if (SWIG_arg_fail(1)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29082 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29085 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "self",(char *) "dataObject", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29094 if (SWIG_arg_fail(1)) SWIG_fail
;
29095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29096 if (SWIG_arg_fail(2)) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->SetDataObject(arg2
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29116 wxDragResult arg4
;
29117 wxDragResult result
;
29118 PyObject
* obj0
= 0 ;
29119 PyObject
* obj1
= 0 ;
29120 PyObject
* obj2
= 0 ;
29121 PyObject
* obj3
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29128 if (SWIG_arg_fail(1)) SWIG_fail
;
29130 arg2
= (int)(SWIG_As_int(obj1
));
29131 if (SWIG_arg_fail(2)) SWIG_fail
;
29134 arg3
= (int)(SWIG_As_int(obj2
));
29135 if (SWIG_arg_fail(3)) SWIG_fail
;
29138 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29139 if (SWIG_arg_fail(4)) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_From_int((result
));
29155 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29160 wxDragResult arg4
;
29161 wxDragResult result
;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 PyObject
* obj3
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail
;
29174 arg2
= (int)(SWIG_As_int(obj1
));
29175 if (SWIG_arg_fail(2)) SWIG_fail
;
29178 arg3
= (int)(SWIG_As_int(obj2
));
29179 if (SWIG_arg_fail(3)) SWIG_fail
;
29182 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29183 if (SWIG_arg_fail(4)) SWIG_fail
;
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= SWIG_From_int((result
));
29199 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
;
29201 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29209 if (SWIG_arg_fail(1)) SWIG_fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29212 (arg1
)->base_OnLeave();
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 Py_INCREF(Py_None
); resultobj
= Py_None
;
29224 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
;
29226 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29230 PyObject
* obj0
= 0 ;
29231 PyObject
* obj1
= 0 ;
29232 PyObject
* obj2
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "self",(char *) "x",(char *) "y", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29239 if (SWIG_arg_fail(1)) SWIG_fail
;
29241 arg2
= (int)(SWIG_As_int(obj1
));
29242 if (SWIG_arg_fail(2)) SWIG_fail
;
29245 arg3
= (int)(SWIG_As_int(obj2
));
29246 if (SWIG_arg_fail(3)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29264 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
;
29266 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29268 PyObject
* obj0
= 0 ;
29269 char *kwnames
[] = {
29270 (char *) "self", NULL
29273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29275 if (SWIG_arg_fail(1)) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (bool)(arg1
)->GetData();
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29292 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29293 PyObject
*resultobj
;
29294 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29295 wxDragResult arg2
;
29296 PyObject
* obj0
= 0 ;
29297 PyObject
* obj1
= 0 ;
29298 char *kwnames
[] = {
29299 (char *) "self",(char *) "action", NULL
29302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29304 if (SWIG_arg_fail(1)) SWIG_fail
;
29306 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29307 if (SWIG_arg_fail(2)) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 Py_INCREF(Py_None
); resultobj
= Py_None
;
29323 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29325 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29326 wxDragResult result
;
29327 PyObject
* obj0
= 0 ;
29328 char *kwnames
[] = {
29329 (char *) "self", NULL
29332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29334 if (SWIG_arg_fail(1)) SWIG_fail
;
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= SWIG_From_int((result
));
29349 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29352 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29354 return Py_BuildValue((char *)"");
29356 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxPyTextDropTarget
*result
;
29359 char *kwnames
[] = {
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29378 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29381 PyObject
*arg2
= (PyObject
*) 0 ;
29382 PyObject
*arg3
= (PyObject
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 PyObject
* obj1
= 0 ;
29385 PyObject
* obj2
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self",(char *) "self",(char *) "_class", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29392 if (SWIG_arg_fail(1)) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29402 Py_INCREF(Py_None
); resultobj
= Py_None
;
29409 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29414 wxDragResult arg4
;
29415 wxDragResult result
;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 PyObject
* obj2
= 0 ;
29419 PyObject
* obj3
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29426 if (SWIG_arg_fail(1)) SWIG_fail
;
29428 arg2
= (int)(SWIG_As_int(obj1
));
29429 if (SWIG_arg_fail(2)) SWIG_fail
;
29432 arg3
= (int)(SWIG_As_int(obj2
));
29433 if (SWIG_arg_fail(3)) SWIG_fail
;
29436 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29437 if (SWIG_arg_fail(4)) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_From_int((result
));
29453 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29458 wxDragResult arg4
;
29459 wxDragResult result
;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 PyObject
* obj2
= 0 ;
29463 PyObject
* obj3
= 0 ;
29464 char *kwnames
[] = {
29465 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29470 if (SWIG_arg_fail(1)) SWIG_fail
;
29472 arg2
= (int)(SWIG_As_int(obj1
));
29473 if (SWIG_arg_fail(2)) SWIG_fail
;
29476 arg3
= (int)(SWIG_As_int(obj2
));
29477 if (SWIG_arg_fail(3)) SWIG_fail
;
29480 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29481 if (SWIG_arg_fail(4)) SWIG_fail
;
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29485 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29490 resultobj
= SWIG_From_int((result
));
29497 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "self", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29507 if (SWIG_arg_fail(1)) SWIG_fail
;
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 (arg1
)->base_OnLeave();
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29515 Py_INCREF(Py_None
); resultobj
= Py_None
;
29522 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 PyObject
* obj2
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self",(char *) "x",(char *) "y", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 arg2
= (int)(SWIG_As_int(obj1
));
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29543 arg3
= (int)(SWIG_As_int(obj2
));
29544 if (SWIG_arg_fail(3)) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29562 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
;
29564 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29567 wxDragResult arg4
;
29568 wxDragResult result
;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 PyObject
* obj3
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29579 if (SWIG_arg_fail(1)) SWIG_fail
;
29581 arg2
= (int)(SWIG_As_int(obj1
));
29582 if (SWIG_arg_fail(2)) SWIG_fail
;
29585 arg3
= (int)(SWIG_As_int(obj2
));
29586 if (SWIG_arg_fail(3)) SWIG_fail
;
29589 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29590 if (SWIG_arg_fail(4)) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_From_int((result
));
29606 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29609 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29611 return Py_BuildValue((char *)"");
29613 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29614 PyObject
*resultobj
;
29615 wxPyFileDropTarget
*result
;
29616 char *kwnames
[] = {
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29635 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29638 PyObject
*arg2
= (PyObject
*) 0 ;
29639 PyObject
*arg3
= (PyObject
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 PyObject
* obj2
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self",(char *) "self",(char *) "_class", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29649 if (SWIG_arg_fail(1)) SWIG_fail
;
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29659 Py_INCREF(Py_None
); resultobj
= Py_None
;
29666 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29667 PyObject
*resultobj
;
29668 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29671 wxDragResult arg4
;
29672 wxDragResult result
;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 PyObject
* obj2
= 0 ;
29676 PyObject
* obj3
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail
;
29685 arg2
= (int)(SWIG_As_int(obj1
));
29686 if (SWIG_arg_fail(2)) SWIG_fail
;
29689 arg3
= (int)(SWIG_As_int(obj2
));
29690 if (SWIG_arg_fail(3)) SWIG_fail
;
29693 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29694 if (SWIG_arg_fail(4)) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_From_int((result
));
29710 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
;
29712 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29715 wxDragResult arg4
;
29716 wxDragResult result
;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 PyObject
* obj2
= 0 ;
29720 PyObject
* obj3
= 0 ;
29721 char *kwnames
[] = {
29722 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29727 if (SWIG_arg_fail(1)) SWIG_fail
;
29729 arg2
= (int)(SWIG_As_int(obj1
));
29730 if (SWIG_arg_fail(2)) SWIG_fail
;
29733 arg3
= (int)(SWIG_As_int(obj2
));
29734 if (SWIG_arg_fail(3)) SWIG_fail
;
29737 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29738 if (SWIG_arg_fail(4)) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= SWIG_From_int((result
));
29754 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 (arg1
)->base_OnLeave();
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 PyObject
* obj2
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self",(char *) "x",(char *) "y", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29794 if (SWIG_arg_fail(1)) SWIG_fail
;
29796 arg2
= (int)(SWIG_As_int(obj1
));
29797 if (SWIG_arg_fail(2)) SWIG_fail
;
29800 arg3
= (int)(SWIG_As_int(obj2
));
29801 if (SWIG_arg_fail(3)) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29819 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29824 wxDragResult arg4
;
29825 wxDragResult result
;
29826 PyObject
* obj0
= 0 ;
29827 PyObject
* obj1
= 0 ;
29828 PyObject
* obj2
= 0 ;
29829 PyObject
* obj3
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29836 if (SWIG_arg_fail(1)) SWIG_fail
;
29838 arg2
= (int)(SWIG_As_int(obj1
));
29839 if (SWIG_arg_fail(2)) SWIG_fail
;
29842 arg3
= (int)(SWIG_As_int(obj2
));
29843 if (SWIG_arg_fail(3)) SWIG_fail
;
29846 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29847 if (SWIG_arg_fail(4)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 resultobj
= SWIG_From_int((result
));
29863 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29866 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29868 return Py_BuildValue((char *)"");
29870 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
;
29872 wxClipboard
*result
;
29873 char *kwnames
[] = {
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= (wxClipboard
*)new wxClipboard();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29892 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29895 PyObject
* obj0
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 Py_INCREF(Py_None
); resultobj
= Py_None
;
29917 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29921 PyObject
* obj0
= 0 ;
29922 char *kwnames
[] = {
29923 (char *) "self", NULL
29926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29928 if (SWIG_arg_fail(1)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= (bool)(arg1
)->Open();
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29945 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
;
29947 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29948 PyObject
* obj0
= 0 ;
29949 char *kwnames
[] = {
29950 (char *) "self", NULL
29953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29955 if (SWIG_arg_fail(1)) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 Py_INCREF(Py_None
); resultobj
= Py_None
;
29970 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
;
29972 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29974 PyObject
* obj0
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29981 if (SWIG_arg_fail(1)) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29998 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
;
30000 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30001 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 char *kwnames
[] = {
30006 (char *) "self",(char *) "data", NULL
30009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
30010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30011 if (SWIG_arg_fail(1)) SWIG_fail
;
30012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30013 if (SWIG_arg_fail(2)) SWIG_fail
;
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 result
= (bool)(arg1
)->AddData(arg2
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30030 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
;
30032 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30033 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30035 PyObject
* obj0
= 0 ;
30036 PyObject
* obj1
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self",(char *) "data", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30043 if (SWIG_arg_fail(1)) SWIG_fail
;
30044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30045 if (SWIG_arg_fail(2)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (bool)(arg1
)->SetData(arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30062 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30065 wxDataFormat
*arg2
= 0 ;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 char *kwnames
[] = {
30070 (char *) "self",(char *) "format", NULL
30073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30075 if (SWIG_arg_fail(1)) SWIG_fail
;
30077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30078 if (SWIG_arg_fail(2)) SWIG_fail
;
30079 if (arg2
== NULL
) {
30080 SWIG_null_ref("wxDataFormat");
30082 if (SWIG_arg_fail(2)) SWIG_fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
;
30102 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30103 wxDataObject
*arg2
= 0 ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 char *kwnames
[] = {
30108 (char *) "self",(char *) "data", NULL
30111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30113 if (SWIG_arg_fail(1)) SWIG_fail
;
30115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30116 if (SWIG_arg_fail(2)) SWIG_fail
;
30117 if (arg2
== NULL
) {
30118 SWIG_null_ref("wxDataObject");
30120 if (SWIG_arg_fail(2)) SWIG_fail
;
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (bool)(arg1
)->GetData(*arg2
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30138 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30141 PyObject
* obj0
= 0 ;
30142 char *kwnames
[] = {
30143 (char *) "self", NULL
30146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30148 if (SWIG_arg_fail(1)) SWIG_fail
;
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 wxPyEndAllowThreads(__tstate
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30156 Py_INCREF(Py_None
); resultobj
= Py_None
;
30163 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30164 PyObject
*resultobj
;
30165 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30167 PyObject
* obj0
= 0 ;
30168 char *kwnames
[] = {
30169 (char *) "self", NULL
30172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30174 if (SWIG_arg_fail(1)) SWIG_fail
;
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= (bool)(arg1
)->Flush();
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30191 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30194 bool arg2
= (bool) true ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 char *kwnames
[] = {
30198 (char *) "self",(char *) "primary", NULL
30201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30203 if (SWIG_arg_fail(1)) SWIG_fail
;
30206 arg2
= (bool)(SWIG_As_bool(obj1
));
30207 if (SWIG_arg_fail(2)) SWIG_fail
;
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 (arg1
)->UsePrimarySelection(arg2
);
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 Py_INCREF(Py_None
); resultobj
= Py_None
;
30224 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxClipboard
*result
;
30227 char *kwnames
[] = {
30231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (wxClipboard
*)wxClipboard::Get();
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30246 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30249 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30251 return Py_BuildValue((char *)"");
30253 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30256 wxClipboardLocker
*result
;
30257 PyObject
* obj0
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "clipboard", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30265 if (SWIG_arg_fail(1)) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30281 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30284 PyObject
* obj0
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30291 if (SWIG_arg_fail(1)) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 Py_INCREF(Py_None
); resultobj
= Py_None
;
30306 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30310 PyObject
* obj0
= 0 ;
30311 char *kwnames
[] = {
30312 (char *) "self", NULL
30315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30317 if (SWIG_arg_fail(1)) SWIG_fail
;
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30334 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30337 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30339 return Py_BuildValue((char *)"");
30341 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 int arg1
= (int) 0 ;
30344 int arg2
= (int) 0 ;
30345 int arg3
= (int) 0 ;
30346 int arg4
= (int) 0 ;
30347 wxVideoMode
*result
;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 PyObject
* obj2
= 0 ;
30351 PyObject
* obj3
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30359 arg1
= (int)(SWIG_As_int(obj0
));
30360 if (SWIG_arg_fail(1)) SWIG_fail
;
30365 arg2
= (int)(SWIG_As_int(obj1
));
30366 if (SWIG_arg_fail(2)) SWIG_fail
;
30371 arg3
= (int)(SWIG_As_int(obj2
));
30372 if (SWIG_arg_fail(3)) SWIG_fail
;
30377 arg4
= (int)(SWIG_As_int(obj3
));
30378 if (SWIG_arg_fail(4)) SWIG_fail
;
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30385 wxPyEndAllowThreads(__tstate
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30395 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30396 PyObject
*resultobj
;
30397 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 char *kwnames
[] = {
30400 (char *) "self", NULL
30403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail
;
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30413 Py_INCREF(Py_None
); resultobj
= Py_None
;
30420 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
;
30422 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30423 wxVideoMode
*arg2
= 0 ;
30425 PyObject
* obj0
= 0 ;
30426 PyObject
* obj1
= 0 ;
30427 char *kwnames
[] = {
30428 (char *) "self",(char *) "other", NULL
30431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30433 if (SWIG_arg_fail(1)) SWIG_fail
;
30435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30436 if (SWIG_arg_fail(2)) SWIG_fail
;
30437 if (arg2
== NULL
) {
30438 SWIG_null_ref("wxVideoMode");
30440 if (SWIG_arg_fail(2)) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30458 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_From_int((int)(result
));
30486 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 char *kwnames
[] = {
30492 (char *) "self", NULL
30495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30497 if (SWIG_arg_fail(1)) SWIG_fail
;
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= SWIG_From_int((int)(result
));
30514 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
;
30516 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30525 if (SWIG_arg_fail(1)) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_From_int((int)(result
));
30542 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
;
30544 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30546 PyObject
* obj0
= 0 ;
30547 char *kwnames
[] = {
30548 (char *) "self", NULL
30551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30553 if (SWIG_arg_fail(1)) SWIG_fail
;
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30558 wxPyEndAllowThreads(__tstate
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30570 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30573 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30575 PyObject
* obj0
= 0 ;
30576 PyObject
* obj1
= 0 ;
30577 char *kwnames
[] = {
30578 (char *) "self",(char *) "other", NULL
30581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30583 if (SWIG_arg_fail(1)) SWIG_fail
;
30584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30585 if (SWIG_arg_fail(2)) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30602 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30605 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self",(char *) "other", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30615 if (SWIG_arg_fail(1)) SWIG_fail
;
30616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30617 if (SWIG_arg_fail(2)) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self",(char *) "w", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30646 if (SWIG_arg_fail(1)) SWIG_fail
;
30648 arg2
= (int)(SWIG_As_int(obj1
));
30649 if (SWIG_arg_fail(2)) SWIG_fail
;
30651 if (arg1
) (arg1
)->w
= arg2
;
30653 Py_INCREF(Py_None
); resultobj
= Py_None
;
30660 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30671 if (SWIG_arg_fail(1)) SWIG_fail
;
30672 result
= (int) ((arg1
)->w
);
30675 resultobj
= SWIG_From_int((int)(result
));
30683 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30684 PyObject
*resultobj
;
30685 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30687 PyObject
* obj0
= 0 ;
30688 PyObject
* obj1
= 0 ;
30689 char *kwnames
[] = {
30690 (char *) "self",(char *) "h", NULL
30693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail
;
30697 arg2
= (int)(SWIG_As_int(obj1
));
30698 if (SWIG_arg_fail(2)) SWIG_fail
;
30700 if (arg1
) (arg1
)->h
= arg2
;
30702 Py_INCREF(Py_None
); resultobj
= Py_None
;
30709 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 char *kwnames
[] = {
30715 (char *) "self", NULL
30718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30720 if (SWIG_arg_fail(1)) SWIG_fail
;
30721 result
= (int) ((arg1
)->h
);
30724 resultobj
= SWIG_From_int((int)(result
));
30732 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "bpp", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30744 if (SWIG_arg_fail(1)) SWIG_fail
;
30746 arg2
= (int)(SWIG_As_int(obj1
));
30747 if (SWIG_arg_fail(2)) SWIG_fail
;
30749 if (arg1
) (arg1
)->bpp
= arg2
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30758 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30760 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30762 PyObject
* obj0
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30769 if (SWIG_arg_fail(1)) SWIG_fail
;
30770 result
= (int) ((arg1
)->bpp
);
30773 resultobj
= SWIG_From_int((int)(result
));
30781 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char *kwnames
[] = {
30788 (char *) "self",(char *) "refresh", NULL
30791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30793 if (SWIG_arg_fail(1)) SWIG_fail
;
30795 arg2
= (int)(SWIG_As_int(obj1
));
30796 if (SWIG_arg_fail(2)) SWIG_fail
;
30798 if (arg1
) (arg1
)->refresh
= arg2
;
30800 Py_INCREF(Py_None
); resultobj
= Py_None
;
30807 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30808 PyObject
*resultobj
;
30809 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30811 PyObject
* obj0
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30818 if (SWIG_arg_fail(1)) SWIG_fail
;
30819 result
= (int) ((arg1
)->refresh
);
30822 resultobj
= SWIG_From_int((int)(result
));
30830 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30833 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30835 return Py_BuildValue((char *)"");
30837 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30838 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30843 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30846 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30851 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
;
30853 size_t arg1
= (size_t) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 char *kwnames
[] = {
30857 (char *) "index", NULL
30860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30863 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30864 if (SWIG_arg_fail(1)) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 result
= (wxDisplay
*)new wxDisplay(arg1
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30881 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
;
30883 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30884 PyObject
* obj0
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30891 if (SWIG_arg_fail(1)) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 Py_INCREF(Py_None
); resultobj
= Py_None
;
30906 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30909 char *kwnames
[] = {
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (size_t)wxDisplay::GetCount();
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30930 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxPoint
*arg1
= 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "pt", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30943 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= SWIG_From_int((int)(result
));
30961 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxWindow
*arg1
= (wxWindow
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 char *kwnames
[] = {
30967 (char *) "window", NULL
30970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30972 if (SWIG_arg_fail(1)) SWIG_fail
;
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 result
= (int)wxDisplay::GetFromWindow(arg1
);
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30981 resultobj
= SWIG_From_int((int)(result
));
30989 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30993 PyObject
* obj0
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31000 if (SWIG_arg_fail(1)) SWIG_fail
;
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31017 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
31027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31028 if (SWIG_arg_fail(1)) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31037 wxRect
* resultptr
;
31038 resultptr
= new wxRect((wxRect
&)(result
));
31039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31047 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
;
31049 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31051 PyObject
* obj0
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31058 if (SWIG_arg_fail(1)) SWIG_fail
;
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 result
= ((wxDisplay
const *)arg1
)->GetName();
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31079 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
;
31081 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31090 if (SWIG_arg_fail(1)) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31107 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
;
31109 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31110 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31111 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 char *kwnames
[] = {
31116 (char *) "self",(char *) "mode", NULL
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31121 if (SWIG_arg_fail(1)) SWIG_fail
;
31124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31125 if (SWIG_arg_fail(2)) SWIG_fail
;
31126 if (arg2
== NULL
) {
31127 SWIG_null_ref("wxVideoMode");
31129 if (SWIG_arg_fail(2)) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= result
;
31146 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31149 wxVideoMode result
;
31150 PyObject
* obj0
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31157 if (SWIG_arg_fail(1)) SWIG_fail
;
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31166 wxVideoMode
* resultptr
;
31167 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31176 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31177 PyObject
*resultobj
;
31178 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31179 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31180 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "mode", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31190 if (SWIG_arg_fail(1)) SWIG_fail
;
31193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31194 if (SWIG_arg_fail(2)) SWIG_fail
;
31195 if (arg2
== NULL
) {
31196 SWIG_null_ref("wxVideoMode");
31198 if (SWIG_arg_fail(2)) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31217 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31220 PyObject
* obj0
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 (arg1
)->ResetMode();
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31235 Py_INCREF(Py_None
); resultobj
= Py_None
;
31242 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31245 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31247 return Py_BuildValue((char *)"");
31249 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
;
31251 wxStandardPaths
*result
;
31252 char *kwnames
[] = {
31256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (wxStandardPaths
*)StandardPaths_Get();
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31271 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31275 PyObject
* obj0
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31282 if (SWIG_arg_fail(1)) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31303 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31304 PyObject
*resultobj
;
31305 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31335 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
;
31337 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31339 PyObject
* obj0
= 0 ;
31340 char *kwnames
[] = {
31341 (char *) "self", NULL
31344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31346 if (SWIG_arg_fail(1)) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31367 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31368 PyObject
*resultobj
;
31369 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31371 PyObject
* obj0
= 0 ;
31372 char *kwnames
[] = {
31373 (char *) "self", NULL
31376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31378 if (SWIG_arg_fail(1)) SWIG_fail
;
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31399 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
;
31401 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31403 PyObject
* obj0
= 0 ;
31404 char *kwnames
[] = {
31405 (char *) "self", NULL
31408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31410 if (SWIG_arg_fail(1)) SWIG_fail
;
31412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31413 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31431 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 char *kwnames
[] = {
31437 (char *) "self", NULL
31440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31442 if (SWIG_arg_fail(1)) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31463 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31474 if (SWIG_arg_fail(1)) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31495 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31496 PyObject
*resultobj
;
31497 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31498 wxString
*arg2
= 0 ;
31499 bool temp2
= false ;
31500 PyObject
* obj0
= 0 ;
31501 PyObject
* obj1
= 0 ;
31502 char *kwnames
[] = {
31503 (char *) "self",(char *) "prefix", NULL
31506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail
;
31510 arg2
= wxString_in_helper(obj1
);
31511 if (arg2
== NULL
) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 Py_INCREF(Py_None
); resultobj
= Py_None
;
31536 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31568 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31571 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31573 return Py_BuildValue((char *)"");
31575 static PyMethodDef SwigMethods
[] = {
31576 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31591 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31657 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31665 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31683 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31692 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31712 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31718 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31741 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31744 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31745 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31748 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31777 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31779 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31788 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31794 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31808 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31832 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31840 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31887 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31905 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31915 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31931 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31947 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31961 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31971 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
32014 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
32017 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
32020 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32117 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32118 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32119 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32120 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32182 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32216 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32224 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32225 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32230 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32239 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32246 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32249 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32252 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32257 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32260 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32264 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32267 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32271 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32272 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32276 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32280 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32284 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32294 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32307 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32315 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32323 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32337 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32341 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32359 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32373 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32384 { NULL
, NULL
, 0, NULL
}
32388 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32390 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32393 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32396 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32399 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32402 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32406 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32408 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32409 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32411 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32412 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32414 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32417 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32418 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32420 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32423 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32424 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32426 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32427 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32429 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32432 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32433 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32435 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32436 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32438 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32439 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32441 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32442 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32444 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32445 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32447 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32448 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32450 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32451 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32453 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32454 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32456 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32457 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32459 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32462 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32463 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32465 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32466 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32468 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32469 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32471 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32472 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32474 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32475 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32477 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32478 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32480 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32483 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32484 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32486 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32487 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32489 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32490 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32492 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32495 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32496 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32498 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32499 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32501 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32502 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32504 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32505 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32507 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32508 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32510 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32511 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32513 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32514 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32516 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32517 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32519 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32520 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32522 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32523 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32525 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32526 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32528 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32529 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32531 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32532 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32534 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32535 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32537 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32538 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32540 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32541 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32543 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32544 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32546 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32547 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32549 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32550 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32552 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32553 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32555 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32556 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32558 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32559 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32561 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32562 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32564 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32565 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32567 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32568 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32570 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32571 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32573 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32574 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32576 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32577 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32579 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32582 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32583 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32585 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32588 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32589 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32591 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32592 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32594 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32595 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32597 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32598 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32600 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32601 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32603 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32604 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32606 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32607 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32609 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32610 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32612 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32615 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32618 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32621 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32624 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32627 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32630 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32633 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) ((wxSizer
*) x
));
32636 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32639 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32642 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32645 static void *_p_wxEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) ((wxEvent
*) x
));
32648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32651 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32657 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32663 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32666 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32669 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32675 static void *_p_wxControlTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32678 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32681 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32684 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32687 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32690 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32693 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32696 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32699 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32702 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32705 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32708 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32711 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32714 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32717 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32720 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32723 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32726 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32729 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32732 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32735 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32738 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32741 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32744 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32747 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32750 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32753 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32756 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32759 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32762 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32765 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32768 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32771 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32774 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32777 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32780 static void *_p_wxImageTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) ((wxImage
*) x
));
32783 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32786 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32789 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32792 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32795 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32798 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32801 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32804 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32807 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32810 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32813 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32816 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32819 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32822 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32825 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32828 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32831 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32834 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32837 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32840 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32843 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32846 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32849 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32852 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32855 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32858 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32861 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32864 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32867 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32868 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32870 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32871 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32873 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32874 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32876 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32877 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32879 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32880 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32882 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32883 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32885 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32886 return (void *)((wxWindow
*) ((wxControl
*) x
));
32888 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32889 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32891 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32892 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32894 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32895 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32897 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32898 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32900 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}};
32901 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}};
32902 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32954 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}};
32955 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}};
32956 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}};
32957 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}};
32958 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}};
32959 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}};
32960 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}};
32961 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}};
32962 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}};
32963 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}};
32964 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}};
32965 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}};
32966 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}};
32967 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}};
32968 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}};
32969 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}};
32970 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}};
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32977 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}};
32978 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}};
32979 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}};
32980 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}};
32981 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}};
32982 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}};
32983 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}};
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32988 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}};
32989 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}};
32990 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}};
32991 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}};
32992 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}};
32993 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}};
32994 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}};
32995 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}};
32996 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}};
32997 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}};
32999 static swig_type_info
*swig_types_initial
[] = {
33000 _swigt__p_wxLogChain
,
33001 _swigt__p_wxMutexGuiLocker
,
33002 _swigt__p_wxMetafile
,
33003 _swigt__p_wxFileHistory
,
33007 _swigt__p_wxDateTime__TimeZone
,
33008 _swigt__p_wxConfigBase
,
33009 _swigt__p_wxDisplay
,
33010 _swigt__p_wxFileType
,
33011 _swigt__p_wxLogGui
,
33013 _swigt__p_wxDataFormat
,
33014 _swigt__p_wxTimerEvent
,
33017 _swigt__std__ptrdiff_t
,
33021 _swigt__p_wxClipboard
,
33022 _swigt__p_wxStopWatch
,
33024 _swigt__p_wxClipboardLocker
,
33026 _swigt__p_wxLogStderr
,
33027 _swigt__p_wxLogTextCtrl
,
33028 _swigt__p_wxTextCtrl
,
33029 _swigt__p_wxBusyCursor
,
33030 _swigt__p_wxBitmapDataObject
,
33031 _swigt__p_wxTextDataObject
,
33032 _swigt__p_wxDataObject
,
33033 _swigt__p_wxPyTextDataObject
,
33034 _swigt__p_wxPyBitmapDataObject
,
33035 _swigt__p_wxFileDataObject
,
33036 _swigt__p_wxCustomDataObject
,
33037 _swigt__p_wxURLDataObject
,
33038 _swigt__p_wxMetafileDataObject
,
33040 _swigt__p_wxTimerRunner
,
33041 _swigt__p_wxLogWindow
,
33042 _swigt__p_wxTimeSpan
,
33043 _swigt__p_wxArrayString
,
33044 _swigt__p_wxWindowDisabler
,
33045 _swigt__p_form_ops_t
,
33046 _swigt__p_wxToolTip
,
33047 _swigt__p_wxDataObjectComposite
,
33048 _swigt__p_wxSystemSettings
,
33049 _swigt__p_wxFileConfig
,
33050 _swigt__p_wxVideoMode
,
33051 _swigt__p_wxDataObjectSimple
,
33052 _swigt__p_wxPyDataObjectSimple
,
33053 _swigt__p_wxDuplexMode
,
33054 _swigt__p_wxEvtHandler
,
33057 _swigt__p_wxSingleInstanceChecker
,
33058 _swigt__p_wxStandardPaths
,
33059 _swigt__p_wxFileTypeInfo
,
33062 _swigt__p_wxPaperSize
,
33063 _swigt__p_wxMimeTypesManager
,
33064 _swigt__p_wxPyArtProvider
,
33065 _swigt__p_wxPyTipProvider
,
33066 _swigt__p_wxTipProvider
,
33067 _swigt__p_wxJoystick
,
33068 _swigt__p_wxSystemOptions
,
33070 _swigt__p_wxJoystickEvent
,
33071 _swigt__p_wxCursor
,
33072 _swigt__p_wxObject
,
33073 _swigt__p_wxOutputStream
,
33074 _swigt__p_wxDateTime
,
33075 _swigt__p_wxPyDropSource
,
33076 _swigt__p_unsigned_long
,
33077 _swigt__p_wxKillError
,
33078 _swigt__p_wxWindow
,
33079 _swigt__p_wxString
,
33080 _swigt__p_wxPyProcess
,
33081 _swigt__p_wxBitmap
,
33082 _swigt__unsigned_int
,
33083 _swigt__p_unsigned_int
,
33084 _swigt__p_wxConfig
,
33085 _swigt__p_unsigned_char
,
33087 _swigt__p_wxBusyInfo
,
33088 _swigt__p_wxPyDropTarget
,
33089 _swigt__p_wxPyTextDropTarget
,
33090 _swigt__p_wxPyFileDropTarget
,
33091 _swigt__p_wxProcessEvent
,
33093 _swigt__p_wxLogNull
,
33094 _swigt__p_wxColour
,
33095 _swigt__p_wxPyTimer
,
33096 _swigt__p_wxConfigPathChanger
,
33097 _swigt__p_wxDateSpan
,
33102 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33104 static swig_const_info swig_const_table
[] = {
33105 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33106 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33107 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33108 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33109 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33110 {0, 0, 0, 0.0, 0, 0}};
33121 /* Python-specific SWIG API */
33122 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33123 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33124 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33126 /* -----------------------------------------------------------------------------
33127 * global variable support code.
33128 * ----------------------------------------------------------------------------- */
33130 typedef struct swig_globalvar
{
33131 char *name
; /* Name of global variable */
33132 PyObject
*(*get_attr
)(); /* Return the current value */
33133 int (*set_attr
)(PyObject
*); /* Set the value */
33134 struct swig_globalvar
*next
;
33137 typedef struct swig_varlinkobject
{
33139 swig_globalvar
*vars
;
33140 } swig_varlinkobject
;
33143 swig_varlink_repr(swig_varlinkobject
*v
) {
33145 return PyString_FromString("<Swig global variables>");
33149 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33150 swig_globalvar
*var
;
33152 fprintf(fp
,"Swig global variables { ");
33153 for (var
= v
->vars
; var
; var
=var
->next
) {
33154 fprintf(fp
,"%s", var
->name
);
33155 if (var
->next
) fprintf(fp
,", ");
33157 fprintf(fp
," }\n");
33162 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33163 swig_globalvar
*var
= v
->vars
;
33165 if (strcmp(var
->name
,n
) == 0) {
33166 return (*var
->get_attr
)();
33170 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33175 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33176 swig_globalvar
*var
= v
->vars
;
33178 if (strcmp(var
->name
,n
) == 0) {
33179 return (*var
->set_attr
)(p
);
33183 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33187 static PyTypeObject varlinktype
= {
33188 PyObject_HEAD_INIT(0)
33189 0, /* Number of items in variable part (ob_size) */
33190 (char *)"swigvarlink", /* Type name (tp_name) */
33191 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33192 0, /* Itemsize (tp_itemsize) */
33193 0, /* Deallocator (tp_dealloc) */
33194 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33195 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33196 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33197 0, /* tp_compare */
33198 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33199 0, /* tp_as_number */
33200 0, /* tp_as_sequence */
33201 0, /* tp_as_mapping */
33205 0, /* tp_getattro */
33206 0, /* tp_setattro */
33207 0, /* tp_as_buffer */
33210 #if PY_VERSION_HEX >= 0x02000000
33211 0, /* tp_traverse */
33214 #if PY_VERSION_HEX >= 0x02010000
33215 0, /* tp_richcompare */
33216 0, /* tp_weaklistoffset */
33218 #if PY_VERSION_HEX >= 0x02020000
33219 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33221 #if PY_VERSION_HEX >= 0x02030000
33224 #ifdef COUNT_ALLOCS
33225 0,0,0,0 /* tp_alloc -> tp_next */
33229 /* Create a variable linking object for use later */
33231 SWIG_Python_newvarlink(void) {
33232 swig_varlinkobject
*result
= 0;
33233 result
= PyMem_NEW(swig_varlinkobject
,1);
33234 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33235 result
->ob_type
= &varlinktype
;
33237 result
->ob_refcnt
= 0;
33238 Py_XINCREF((PyObject
*) result
);
33239 return ((PyObject
*) result
);
33243 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33244 swig_varlinkobject
*v
;
33245 swig_globalvar
*gv
;
33246 v
= (swig_varlinkobject
*) p
;
33247 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33248 gv
->name
= (char *) malloc(strlen(name
)+1);
33249 strcpy(gv
->name
,name
);
33250 gv
->get_attr
= get_attr
;
33251 gv
->set_attr
= set_attr
;
33252 gv
->next
= v
->vars
;
33256 /* -----------------------------------------------------------------------------
33257 * constants/methods manipulation
33258 * ----------------------------------------------------------------------------- */
33260 /* Install Constants */
33262 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33265 for (i
= 0; constants
[i
].type
; i
++) {
33266 switch(constants
[i
].type
) {
33268 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33270 case SWIG_PY_FLOAT
:
33271 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33273 case SWIG_PY_STRING
:
33274 if (constants
[i
].pvalue
) {
33275 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33277 Py_INCREF(Py_None
);
33281 case SWIG_PY_POINTER
:
33282 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33284 case SWIG_PY_BINARY
:
33285 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33292 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33298 /* -----------------------------------------------------------------------------*/
33299 /* Fix SwigMethods to carry the callback ptrs when needed */
33300 /* -----------------------------------------------------------------------------*/
33303 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33304 swig_const_info
*const_table
,
33305 swig_type_info
**types
,
33306 swig_type_info
**types_initial
) {
33308 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33309 char *c
= methods
[i
].ml_doc
;
33310 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33312 swig_const_info
*ci
= 0;
33313 char *name
= c
+ 10;
33314 for (j
= 0; const_table
[j
].type
; j
++) {
33315 if (strncmp(const_table
[j
].name
, name
,
33316 strlen(const_table
[j
].name
)) == 0) {
33317 ci
= &(const_table
[j
]);
33322 size_t shift
= (ci
->ptype
) - types
;
33323 swig_type_info
*ty
= types_initial
[shift
];
33324 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33325 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33326 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33328 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33329 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33331 strncpy(buff
, "swig_ptr: ", 10);
33333 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33334 methods
[i
].ml_doc
= ndoc
;
33340 /* -----------------------------------------------------------------------------*
33341 * Initialize type list
33342 * -----------------------------------------------------------------------------*/
33344 #if PY_MAJOR_VERSION < 2
33345 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33346 is copied out of Python/modsupport.c in python version 2.3.4 */
33348 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33351 if (!PyModule_Check(m
)) {
33352 PyErr_SetString(PyExc_TypeError
,
33353 "PyModule_AddObject() needs module as first arg");
33357 PyErr_SetString(PyExc_TypeError
,
33358 "PyModule_AddObject() needs non-NULL value");
33362 dict
= PyModule_GetDict(m
);
33363 if (dict
== NULL
) {
33364 /* Internal error -- modules must have a dict! */
33365 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33366 PyModule_GetName(m
));
33369 if (PyDict_SetItemString(dict
, name
, o
))
33376 static swig_type_info
**
33377 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33378 static PyMethodDef swig_empty_runtime_method_table
[] = {
33380 NULL
, NULL
, 0, NULL
33384 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33385 swig_empty_runtime_method_table
);
33386 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33387 if (pointer
&& module) {
33388 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33390 return type_list_handle
;
33393 static swig_type_info
**
33394 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33395 swig_type_info
**type_pointer
;
33397 /* first check if module already created */
33398 type_pointer
= SWIG_Python_GetTypeListHandle();
33399 if (type_pointer
) {
33400 return type_pointer
;
33402 /* create a new module and variable */
33403 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33411 /* -----------------------------------------------------------------------------*
33412 * Partial Init method
33413 * -----------------------------------------------------------------------------*/
33415 #ifdef SWIG_LINK_RUNTIME
33419 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33425 SWIGEXPORT(void) SWIG_init(void) {
33426 static PyObject
*SWIG_globals
= 0;
33427 static int typeinit
= 0;
33430 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33432 /* Fix SwigMethods to carry the callback ptrs when needed */
33433 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33435 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33436 d
= PyModule_GetDict(m
);
33439 #ifdef SWIG_LINK_RUNTIME
33440 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33442 # ifndef SWIG_STATIC_RUNTIME
33443 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33446 for (i
= 0; swig_types_initial
[i
]; i
++) {
33447 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33451 SWIG_InstallConstants(d
,swig_const_table
);
33454 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33457 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33460 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33463 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33466 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33469 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33472 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33475 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33478 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33481 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33484 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33487 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33490 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33493 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33496 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33499 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33502 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33505 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33508 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33511 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33514 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33517 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33520 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33523 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33526 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33529 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33532 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33535 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33538 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33541 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33544 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33547 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33550 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33553 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33556 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33559 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33562 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33565 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33568 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33571 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33574 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33577 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33580 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33583 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33586 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33589 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33592 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33595 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33598 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33601 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33604 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33607 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33610 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33613 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33616 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33619 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33622 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33625 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33628 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33631 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33634 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33637 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33640 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33643 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33646 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33649 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33652 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33655 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33658 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33661 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33664 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33667 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33670 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33673 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33676 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33679 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33682 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33685 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33688 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33691 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33694 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33697 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33700 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33703 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33706 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33709 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33712 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33715 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33718 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33721 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33724 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33726 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33727 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33728 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33729 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33730 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33732 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33735 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33738 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33741 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33743 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33745 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33748 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33751 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33754 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33757 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33760 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33763 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33766 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33769 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33772 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33775 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33778 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33780 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33781 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33782 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33783 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33784 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33786 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33789 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33792 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33795 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33798 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33801 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33804 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33807 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33810 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33813 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33816 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33819 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33822 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33825 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33828 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33831 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33834 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33837 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33840 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33843 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33846 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33849 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33852 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33855 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33858 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33861 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33864 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33867 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33870 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33873 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33876 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33878 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33880 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33883 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33886 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33889 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33892 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33895 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33898 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33901 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33904 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33907 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33910 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33913 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33916 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33918 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33919 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33920 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33921 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33923 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33926 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33929 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33932 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33935 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33938 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33941 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33944 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33946 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
33998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
34000 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
34001 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
34002 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
34004 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34007 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
34010 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
34013 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
34016 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
34019 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34022 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34025 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34028 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34031 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34033 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34034 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34036 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34039 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34042 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34045 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34048 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34051 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34054 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34057 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34060 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34063 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34066 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34069 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34072 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34075 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34078 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34081 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34084 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34087 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34090 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34093 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34096 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34099 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34102 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34105 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34108 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34111 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34114 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34117 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34120 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34123 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34126 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34129 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34132 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34135 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34138 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34141 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34144 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34147 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34150 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34153 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34156 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34159 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34162 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34165 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34168 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34171 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34174 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34177 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34180 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34183 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34186 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34189 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34192 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34195 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34198 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34201 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34204 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34207 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34210 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34213 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34216 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34219 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34222 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34225 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34228 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34231 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34234 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34237 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34240 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34243 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34246 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34249 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34252 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34255 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34258 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34261 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34264 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34267 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34270 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34273 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34276 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34279 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34282 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34285 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34288 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34291 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34294 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34297 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34300 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34303 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34306 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34309 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34312 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34315 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34318 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34321 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34324 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34327 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34330 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34333 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34336 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34339 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34342 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34345 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34348 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34351 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34354 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34357 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34360 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34363 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34366 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34369 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34372 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34375 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34378 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34381 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34384 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34387 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34390 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34393 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34396 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34399 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34402 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34405 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34408 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34411 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34414 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34417 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34420 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34423 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34426 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34429 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34432 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34435 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34438 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34441 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34444 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34447 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34450 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34453 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34456 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34459 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34462 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34465 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34468 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34471 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34474 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34477 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34480 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34483 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34486 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34489 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34492 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34495 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34498 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34500 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34502 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34505 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34508 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34511 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34514 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34517 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34520 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34523 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34526 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34529 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34532 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34535 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34538 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34541 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34544 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34547 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34550 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34553 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34556 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34559 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34561 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34563 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34566 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34569 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34572 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34575 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34578 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34581 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34584 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34587 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34590 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34593 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34596 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34599 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34600 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34601 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34602 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34604 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);