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_wxMemorySize swig_types[12]
1355 #define SWIGTYPE_p_wxFont swig_types[13]
1356 #define SWIGTYPE_p_wxDataFormat swig_types[14]
1357 #define SWIGTYPE_p_wxTimerEvent swig_types[15]
1358 #define SWIGTYPE_p_wxCaret swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_void swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxClipboard swig_types[22]
1365 #define SWIGTYPE_p_wxStopWatch swig_types[23]
1366 #define SWIGTYPE_p_wxDC swig_types[24]
1367 #define SWIGTYPE_p_wxClipboardLocker swig_types[25]
1368 #define SWIGTYPE_p_wxIcon swig_types[26]
1369 #define SWIGTYPE_p_wxLogStderr swig_types[27]
1370 #define SWIGTYPE_p_wxLogTextCtrl swig_types[28]
1371 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
1372 #define SWIGTYPE_p_wxBusyCursor swig_types[30]
1373 #define SWIGTYPE_p_wxBitmapDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxTextDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxPyTextDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxFileDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxCustomDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxURLDataObject swig_types[38]
1381 #define SWIGTYPE_p_wxMetafileDataObject swig_types[39]
1382 #define SWIGTYPE_p_wxSound swig_types[40]
1383 #define SWIGTYPE_p_wxTimerRunner swig_types[41]
1384 #define SWIGTYPE_p_wxLogWindow swig_types[42]
1385 #define SWIGTYPE_p_wxTimeSpan swig_types[43]
1386 #define SWIGTYPE_p_wxArrayString swig_types[44]
1387 #define SWIGTYPE_p_wxWindowDisabler swig_types[45]
1388 #define SWIGTYPE_p_form_ops_t swig_types[46]
1389 #define SWIGTYPE_p_wxToolTip swig_types[47]
1390 #define SWIGTYPE_p_wxDataObjectComposite swig_types[48]
1391 #define SWIGTYPE_p_wxSystemSettings swig_types[49]
1392 #define SWIGTYPE_p_wxFileConfig swig_types[50]
1393 #define SWIGTYPE_p_wxVideoMode swig_types[51]
1394 #define SWIGTYPE_p_wxDataObjectSimple swig_types[52]
1395 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[53]
1396 #define SWIGTYPE_p_wxDuplexMode swig_types[54]
1397 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
1398 #define SWIGTYPE_p_wxRect swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[58]
1401 #define SWIGTYPE_p_wxStandardPaths swig_types[59]
1402 #define SWIGTYPE_p_wxFileTypeInfo swig_types[60]
1403 #define SWIGTYPE_p_wxFrame swig_types[61]
1404 #define SWIGTYPE_p_wxTimer swig_types[62]
1405 #define SWIGTYPE_p_wxPaperSize swig_types[63]
1406 #define SWIGTYPE_p_wxMimeTypesManager 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_wxPyArtProvider swig_types[69]
1412 #define SWIGTYPE_p_wxPoint swig_types[70]
1413 #define SWIGTYPE_p_wxJoystickEvent swig_types[71]
1414 #define SWIGTYPE_p_wxCursor swig_types[72]
1415 #define SWIGTYPE_p_wxObject swig_types[73]
1416 #define SWIGTYPE_p_wxOutputStream swig_types[74]
1417 #define SWIGTYPE_p_wxDateTime swig_types[75]
1418 #define SWIGTYPE_p_wxPyDropSource swig_types[76]
1419 #define SWIGTYPE_p_unsigned_long swig_types[77]
1420 #define SWIGTYPE_p_wxLogBuffer swig_types[78]
1421 #define SWIGTYPE_p_wxKillError swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxPyProcess swig_types[82]
1425 #define SWIGTYPE_p_wxBitmap swig_types[83]
1426 #define SWIGTYPE_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_int swig_types[85]
1428 #define SWIGTYPE_p_wxConfig swig_types[86]
1429 #define SWIGTYPE_p_unsigned_char swig_types[87]
1430 #define SWIGTYPE_p_wxChar swig_types[88]
1431 #define SWIGTYPE_p_wxBusyInfo swig_types[89]
1432 #define SWIGTYPE_p_wxPyDropTarget swig_types[90]
1433 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[91]
1434 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[92]
1435 #define SWIGTYPE_p_wxProcessEvent swig_types[93]
1436 #define SWIGTYPE_p_wxPyLog swig_types[94]
1437 #define SWIGTYPE_p_wxLogNull swig_types[95]
1438 #define SWIGTYPE_p_wxColour swig_types[96]
1439 #define SWIGTYPE_p_wxPyTimer swig_types[97]
1440 #define SWIGTYPE_p_wxConfigPathChanger swig_types[98]
1441 #define SWIGTYPE_p_wxDateSpan swig_types[99]
1442 static swig_type_info
*swig_types
[101];
1444 /* -------- TYPES TABLE (END) -------- */
1447 /*-----------------------------------------------
1448 @(target):= _misc_.so
1449 ------------------------------------------------*/
1450 #define SWIG_init init_misc_
1452 #define SWIG_name "_misc_"
1454 #include "wx/wxPython/wxPython.h"
1455 #include "wx/wxPython/pyclasses.h"
1456 #include "wx/wxPython/pyistream.h"
1458 static const wxString
wxPyEmptyString(wxEmptyString
);
1462 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1552 SWIG_Check_int(PyObject
* obj
)
1554 return SWIG_AsVal_int(obj
, (int*)0);
1557 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1559 #include <wx/stockitem.h>
1561 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1562 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1563 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1565 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1566 #define SWIG_From_long PyInt_FromLong
1570 SWIGINTERNSHORT
long
1571 SWIG_As_long(PyObject
* obj
)
1574 if (!SWIG_AsVal_long(obj
, &v
)) {
1576 this is needed to make valgrind/purify happier.
1578 memset((void*)&v
, 0, sizeof(long));
1585 SWIG_Check_long(PyObject
* obj
)
1587 return SWIG_AsVal_long(obj
, (long*)0);
1592 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1594 if (obj
== Py_True
) {
1595 if (val
) *val
= true;
1598 if (obj
== Py_False
) {
1599 if (val
) *val
= false;
1603 if (SWIG_AsVal_int(obj
, &res
)) {
1604 if (val
) *val
= res
? true : false;
1610 SWIG_type_error("bool", obj
);
1616 SWIGINTERNSHORT
bool
1617 SWIG_As_bool(PyObject
* obj
)
1620 if (!SWIG_AsVal_bool(obj
, &v
)) {
1622 this is needed to make valgrind/purify happier.
1624 memset((void*)&v
, 0, sizeof(bool));
1631 SWIG_Check_bool(PyObject
* obj
)
1633 return SWIG_AsVal_bool(obj
, (bool*)0);
1637 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1643 } else if (target
== Py_None
) {
1647 if (!PyTuple_Check(target
)) {
1649 target
= PyTuple_New(1);
1650 PyTuple_SetItem(target
, 0, o2
);
1652 o3
= PyTuple_New(1);
1653 PyTuple_SetItem(o3
, 0, o
);
1656 target
= PySequence_Concat(o2
, o3
);
1666 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1669 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1670 SWIG_type_error("unsigned number", obj
);
1673 *val
= (unsigned long)v
;
1678 SWIGINTERNSHORT
unsigned long
1679 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1682 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1684 this is needed to make valgrind/purify happier.
1686 memset((void*)&v
, 0, sizeof(unsigned long));
1693 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1695 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1699 SWIGINTERNSHORT PyObject
*
1700 SWIG_From_unsigned_SS_long(unsigned long value
)
1702 return (value
> LONG_MAX
) ?
1703 PyLong_FromUnsignedLong(value
)
1704 : PyInt_FromLong((long)(value
));
1708 void* wxGetXDisplay()
1711 return wxGetDisplay();
1718 bool wxThread_IsMain() {
1719 #ifdef WXP_WITH_THREAD
1720 return wxThread::IsMain();
1726 static void wxCaret_Destroy(wxCaret
*self
){
1730 #include <wx/snglinst.h>
1734 #include <wx/msw/private.h>
1735 #include <wx/dynload.h>
1740 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1751 // This one only partially works. Appears to be an undocumented
1752 // "standard" convention that not all widgets adhear to. For
1753 // example, for some widgets backgrounds or non-client areas may
1755 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1760 // This one works much better, nearly all widgets and their
1761 // children are captured correctly[**]. Prior to the big
1762 // background erase changes that Vadim did in 2004-2005 this
1763 // method failed badly on XP with Themes activated, most native
1764 // widgets draw only partially, if at all. Without themes it
1765 // worked just like on Win2k. After those changes this method
1768 // ** For example the radio buttons in a wxRadioBox are not its
1769 // children by default, but you can capture it via the panel
1770 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1771 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1772 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1773 PRF_ERASEBKGND
| PRF_OWNED
);
1779 // This one is only defined in the latest SDK and is only
1780 // available on XP. MSDN says it is similar to sending WM_PRINT
1781 // so I expect that it will work similar to the above. Since it
1782 // is avaialble only on XP, it can't be compiled like this and
1783 // will have to be loaded dynamically.
1784 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1789 // Use PrintWindow if available, or fallback to WM_PRINT
1790 // otherwise. Unfortunately using PrintWindow is even worse than
1791 // WM_PRINT. For most native widgets nothing is drawn to the dc
1792 // at all, with or without Themes.
1793 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1794 static bool s_triedToLoad
= false;
1795 static PrintWindow_t pfnPrintWindow
= NULL
;
1796 if ( !s_triedToLoad
)
1799 s_triedToLoad
= true;
1800 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1801 if ( dllUser32
.IsLoaded() )
1803 wxLogNull nolog
; // Don't report errors here
1804 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1809 //printf("Using PrintWindow\n");
1810 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1814 //printf("Using WM_PRINT\n");
1815 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1816 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1817 PRF_ERASEBKGND
| PRF_OWNED
);
1828 #include <wx/tipdlg.h>
1831 class wxPyTipProvider
: public wxTipProvider
{
1833 wxPyTipProvider(size_t currentTip
)
1834 : wxTipProvider(currentTip
) {}
1836 DEC_PYCALLBACK_STRING__pure(GetTip
);
1837 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1841 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1842 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1845 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1847 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1849 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1850 : wxTimer(owner
, id
)
1852 if (owner
== NULL
) SetOwner(this);
1856 void wxPyTimer::Notify() {
1858 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1859 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1860 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1861 wxPyEndBlockThreads(blocked
);
1865 void wxPyTimer::base_Notify() {
1871 SWIGINTERN PyObject
*
1872 SWIG_FromCharPtr(const char* cptr
)
1875 size_t size
= strlen(cptr
);
1876 if (size
> INT_MAX
) {
1877 return SWIG_NewPointerObj((char*)(cptr
),
1878 SWIG_TypeQuery("char *"), 0);
1881 return PyString_FromStringAndSize(cptr
, size
);
1883 return PyString_FromString(cptr
);
1893 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1894 unsigned long max_value
,
1897 if (value
> max_value
) {
1899 PyErr_Format(PyExc_OverflowError
,
1900 "value %lu is greater than '%s' minimum %lu",
1901 value
, errmsg
, max_value
);
1909 #if UINT_MAX != ULONG_MAX
1911 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1913 const char* errmsg
= val
? "unsigned int" : (char*)0;
1915 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1916 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1917 if (val
) *val
= (unsigned int)(v
);
1924 SWIG_type_error(errmsg
, obj
);
1929 SWIGINTERNSHORT
unsigned int
1930 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1932 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1937 SWIGINTERNSHORT
unsigned int
1938 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1941 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1943 this is needed to make valgrind/purify happier.
1945 memset((void*)&v
, 0, sizeof(unsigned int));
1952 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1954 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1957 static wxString
Log_TimeStamp(){
1959 wxLog::TimeStamp(&msg
);
1962 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1963 // Make somce wrappers that double any % signs so they are 'escaped'
1964 void wxPyLogFatalError(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogError(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogWarning(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogMessage(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogInfo(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogDebug(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogVerbose(const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2013 void wxPyLogStatus(const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2020 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogStatus(pFrame
, m
);
2027 void wxPyLogSysError(const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2034 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogGeneric(level
, m
);
2041 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2044 m
.Replace(wxT("%"), wxT("%%"));
2045 wxLogTrace(mask
, m
);
2048 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2051 m
.Replace(wxT("%"), wxT("%%"));
2052 wxLogTrace(mask
, m
);
2057 // A wxLog class that can be derived from in wxPython
2058 class wxPyLog
: public wxLog
{
2060 wxPyLog() : wxLog() {}
2062 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2065 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2066 PyObject
* s
= wx2PyString(szString
);
2067 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2070 wxPyEndBlockThreads(blocked
);
2072 wxLog::DoLog(level
, szString
, t
);
2075 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2078 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2079 PyObject
* s
= wx2PyString(szString
);
2080 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2083 wxPyEndBlockThreads(blocked
);
2085 wxLog::DoLogString(szString
, t
);
2094 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2097 #include <wx/joystick.h>
2100 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2101 // A C++ stub class for wxJoystick for platforms that don't have it.
2102 class wxJoystick
: public wxObject
{
2104 wxJoystick(int joystick
= wxJOYSTICK1
) {
2105 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2106 PyErr_SetString(PyExc_NotImplementedError
,
2107 "wxJoystick is not available on this platform.");
2108 wxPyEndBlockThreads(blocked
);
2110 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2111 int GetZPosition() { return -1; }
2112 int GetButtonState() { return -1; }
2113 int GetPOVPosition() { return -1; }
2114 int GetPOVCTSPosition() { return -1; }
2115 int GetRudderPosition() { return -1; }
2116 int GetUPosition() { return -1; }
2117 int GetVPosition() { return -1; }
2118 int GetMovementThreshold() { return -1; }
2119 void SetMovementThreshold(int threshold
) {}
2121 bool IsOk(void) { return false; }
2122 int GetNumberJoysticks() { return -1; }
2123 int GetManufacturerId() { return -1; }
2124 int GetProductId() { return -1; }
2125 wxString
GetProductName() { return wxEmptyString
; }
2126 int GetXMin() { return -1; }
2127 int GetYMin() { return -1; }
2128 int GetZMin() { return -1; }
2129 int GetXMax() { return -1; }
2130 int GetYMax() { return -1; }
2131 int GetZMax() { return -1; }
2132 int GetNumberButtons() { return -1; }
2133 int GetNumberAxes() { return -1; }
2134 int GetMaxButtons() { return -1; }
2135 int GetMaxAxes() { return -1; }
2136 int GetPollingMin() { return -1; }
2137 int GetPollingMax() { return -1; }
2138 int GetRudderMin() { return -1; }
2139 int GetRudderMax() { return -1; }
2140 int GetUMin() { return -1; }
2141 int GetUMax() { return -1; }
2142 int GetVMin() { return -1; }
2143 int GetVMax() { return -1; }
2145 bool HasRudder() { return false; }
2146 bool HasZ() { return false; }
2147 bool HasU() { return false; }
2148 bool HasV() { return false; }
2149 bool HasPOV() { return false; }
2150 bool HasPOV4Dir() { return false; }
2151 bool HasPOVCTS() { return false; }
2153 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2154 bool ReleaseCapture() { return false; }
2159 #include <wx/sound.h>
2163 // A C++ stub class for wxWave for platforms that don't have it.
2164 class wxSound
: public wxObject
2168 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2169 PyErr_SetString(PyExc_NotImplementedError
,
2170 "wxSound is not available on this platform.");
2171 wxPyEndBlockThreads(blocked
);
2173 wxSound(const wxString
&/*, bool*/) {
2174 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2175 PyErr_SetString(PyExc_NotImplementedError
,
2176 "wxSound is not available on this platform.");
2177 wxPyEndBlockThreads(blocked
);
2179 wxSound(int, const wxByte
*) {
2180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2181 PyErr_SetString(PyExc_NotImplementedError
,
2182 "wxSound is not available on this platform.");
2183 wxPyEndBlockThreads(blocked
);
2188 bool Create(const wxString
&/*, bool*/) { return false; }
2189 bool Create(int, const wxByte
*) { return false; };
2190 bool IsOk() { return false; };
2191 bool Play(unsigned) const { return false; }
2192 static bool Play(const wxString
&, unsigned) { return false; }
2193 static void Stop() {}
2198 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2199 if (fileName
.Length() == 0)
2202 return new wxSound(fileName
);
2204 static wxSound
*new_wxSound(PyObject
*data
){
2205 unsigned char* buffer
; int size
;
2206 wxSound
*sound
= NULL
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2211 sound
= new wxSound(size
, buffer
);
2213 wxPyEndBlockThreads(blocked
);
2216 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2218 unsigned char* buffer
;
2222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2223 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2225 rv
= self
->Create(size
, buffer
);
2227 wxPyEndBlockThreads(blocked
);
2230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2231 PyErr_SetString(PyExc_NotImplementedError
,
2232 "Create from data is not available on this platform.");
2233 wxPyEndBlockThreads(blocked
);
2238 #include <wx/mimetype.h>
2240 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2242 if (self
->GetMimeType(&str
))
2243 return wx2PyString(str
);
2247 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2249 if (self
->GetMimeTypes(arr
))
2250 return wxArrayString2PyList_helper(arr
);
2254 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2256 if (self
->GetExtensions(arr
))
2257 return wxArrayString2PyList_helper(arr
);
2261 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2263 if (self
->GetIcon(&loc
))
2264 return new wxIcon(loc
);
2268 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2270 if (self
->GetIcon(&loc
)) {
2271 wxString iconFile
= loc
.GetFileName();
2274 iconIndex
= loc
.GetIndex();
2276 // Make a tuple and put the values in it
2277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2278 PyObject
* tuple
= PyTuple_New(3);
2279 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2280 wxT("wxIcon"), true));
2281 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2282 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2283 wxPyEndBlockThreads(blocked
);
2289 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2291 if (self
->GetDescription(&str
))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2298 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2299 return wx2PyString(str
);
2303 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2305 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2306 return wx2PyString(str
);
2310 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2311 wxArrayString verbs
;
2312 wxArrayString commands
;
2313 if (self
->GetAllCommands(&verbs
, &commands
,
2314 wxFileType::MessageParameters(filename
, mimetype
))) {
2315 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2316 PyObject
* tuple
= PyTuple_New(2);
2317 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2318 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2319 wxPyEndBlockThreads(blocked
);
2325 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2326 return wxFileType::ExpandCommand(command
,
2327 wxFileType::MessageParameters(filename
, mimetype
));
2329 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2331 self
->EnumAllFileTypes(arr
);
2332 return wxArrayString2PyList_helper(arr
);
2335 #include <wx/artprov.h>
2337 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2338 static const wxString
wxPyART_MENU(wxART_MENU
);
2339 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2340 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2341 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2342 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2343 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2344 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2345 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2346 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2347 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2348 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2349 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2350 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2351 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2352 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2353 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2354 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2355 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2356 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2357 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2358 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2359 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2360 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2361 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2362 static const wxString
wxPyART_HELP(wxART_HELP
);
2363 static const wxString
wxPyART_TIP(wxART_TIP
);
2364 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2365 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2366 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2367 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2368 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2369 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2370 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2371 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2372 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2373 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2374 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2375 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2376 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2377 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2378 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2379 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2380 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2381 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2382 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2383 static const wxString
wxPyART_COPY(wxART_COPY
);
2384 static const wxString
wxPyART_CUT(wxART_CUT
);
2385 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2386 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2387 static const wxString
wxPyART_NEW(wxART_NEW
);
2388 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2389 static const wxString
wxPyART_REDO(wxART_REDO
);
2390 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2391 static const wxString
wxPyART_FIND(wxART_FIND
);
2392 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2393 // Python aware wxArtProvider
2394 class wxPyArtProvider
: public wxArtProvider
{
2397 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2398 const wxArtClient
& client
,
2399 const wxSize
& size
) {
2400 wxBitmap rval
= wxNullBitmap
;
2401 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2402 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2403 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2407 s1
= wx2PyString(id
);
2408 s2
= wx2PyString(client
);
2409 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2414 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2419 wxPyEndBlockThreads(blocked
);
2426 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2430 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2431 PyObject
* ret
= PyTuple_New(3);
2433 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2434 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2435 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2440 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2445 cont
= self
->GetFirstGroup(value
, index
);
2446 return __EnumerationHelper(cont
, value
, index
);
2448 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2452 cont
= self
->GetNextGroup(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2460 cont
= self
->GetFirstEntry(value
, index
);
2461 return __EnumerationHelper(cont
, value
, index
);
2463 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2467 cont
= self
->GetNextEntry(value
, index
);
2468 return __EnumerationHelper(cont
, value
, index
);
2470 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2472 self
->Read(key
, &rv
, defaultVal
);
2477 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2479 if (PyNumber_Check(obj
)) {
2480 if (val
) *val
= PyFloat_AsDouble(obj
);
2484 SWIG_type_error("number", obj
);
2490 SWIGINTERNSHORT
double
2491 SWIG_As_double(PyObject
* obj
)
2494 if (!SWIG_AsVal_double(obj
, &v
)) {
2496 this is needed to make valgrind/purify happier.
2498 memset((void*)&v
, 0, sizeof(double));
2505 SWIG_Check_double(PyObject
* obj
)
2507 return SWIG_AsVal_double(obj
, (double*)0);
2510 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2512 self
->Read(key
, &rv
, defaultVal
);
2516 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2517 #define SWIG_From_double PyFloat_FromDouble
2520 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2522 self
->Read(key
, &rv
, defaultVal
);
2526 #include <wx/datetime.h>
2528 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2529 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2531 #define LOCAL_TZ wxDateTime::Local
2533 static PyObject
*DateTime_GetAmPmStrings(){
2536 wxDateTime::GetAmPmStrings(&am
, &pm
);
2537 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2538 PyObject
* tup
= PyTuple_New(2);
2539 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2540 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2541 wxPyEndBlockThreads(blocked
);
2545 #if UINT_MAX < LONG_MAX
2546 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2547 #define SWIG_From_unsigned_SS_int SWIG_From_long
2550 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2555 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2556 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2557 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2558 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2559 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2560 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2561 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2562 return (*self
< *other
);
2564 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2565 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2566 return (*self
<= *other
);
2568 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2569 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2570 return (*self
> *other
);
2572 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2573 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2574 return (*self
>= *other
);
2576 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2577 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2578 return (*self
== *other
);
2580 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2581 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2582 return (*self
!= *other
);
2584 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2586 const wxChar
* _date
= date
;
2587 rv
= self
->ParseRfc822Date(_date
);
2588 if (rv
== NULL
) return -1;
2591 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2593 const wxChar
* _date
= date
;
2594 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2595 if (rv
== NULL
) return -1;
2598 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2600 const wxChar
* _datetime
= datetime
;
2601 rv
= self
->ParseDateTime(_datetime
);
2602 if (rv
== NULL
) return -1;
2603 return rv
- _datetime
;
2605 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2607 const wxChar
* _date
= date
;
2608 rv
= self
->ParseDate(_date
);
2609 if (rv
== NULL
) return -1;
2612 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2614 const wxChar
* _time
= time
;
2615 rv
= self
->ParseTime(_time
);
2616 if (rv
== NULL
) return -1;
2619 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2620 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2621 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2622 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2623 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2624 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2625 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2626 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2627 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2628 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2629 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2630 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2631 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2632 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2633 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2634 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2636 #include <wx/dataobj.h>
2638 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2639 size_t count
= self
->GetFormatCount(dir
);
2640 wxDataFormat
* formats
= new wxDataFormat
[count
];
2641 self
->GetAllFormats(formats
, dir
);
2643 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2644 PyObject
* list
= PyList_New(count
);
2645 for (size_t i
=0; i
<count
; i
++) {
2646 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2647 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2648 PyList_Append(list
, obj
);
2651 wxPyEndBlockThreads(blocked
);
2655 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2656 PyObject
* rval
= NULL
;
2657 size_t size
= self
->GetDataSize(format
);
2658 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2660 char* buf
= new char[size
];
2661 if (self
->GetDataHere(format
, buf
))
2662 rval
= PyString_FromStringAndSize(buf
, size
);
2669 wxPyEndBlockThreads(blocked
);
2672 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2674 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2675 if (PyString_Check(data
)) {
2676 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2679 // raise a TypeError if not a string
2680 PyErr_SetString(PyExc_TypeError
, "String expected.");
2683 wxPyEndBlockThreads(blocked
);
2686 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2687 PyObject
* rval
= NULL
;
2688 size_t size
= self
->GetDataSize();
2689 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2691 char* buf
= new char[size
];
2692 if (self
->GetDataHere(buf
))
2693 rval
= PyString_FromStringAndSize(buf
, size
);
2700 wxPyEndBlockThreads(blocked
);
2703 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2705 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2706 if (PyString_Check(data
)) {
2707 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2710 // raise a TypeError if not a string
2711 PyErr_SetString(PyExc_TypeError
, "String expected.");
2714 wxPyEndBlockThreads(blocked
);
2717 // Create a new class for wxPython to use
2718 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2720 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2721 : wxDataObjectSimple(format
) {}
2723 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2724 bool GetDataHere(void *buf
) const;
2725 bool SetData(size_t len
, const void *buf
) const;
2729 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2731 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2732 // We need to get the data for this object and write it to buf. I think
2733 // the best way to do this for wxPython is to have the Python method
2734 // return either a string or None and then act appropriately with the
2738 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2739 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2741 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2743 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2745 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2749 wxPyEndBlockThreads(blocked
);
2753 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2754 // For this one we simply need to make a string from buf and len
2755 // and send it to the Python method.
2757 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2758 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2759 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2760 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2763 wxPyEndBlockThreads(blocked
);
2767 // Create a new class for wxPython to use
2768 class wxPyTextDataObject
: public wxTextDataObject
{
2770 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2771 : wxTextDataObject(text
) {}
2773 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2774 DEC_PYCALLBACK_STRING__const(GetText
);
2775 DEC_PYCALLBACK__STRING(SetText
);
2779 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2780 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2781 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2784 // Create a new class for wxPython to use
2785 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2787 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2788 : wxBitmapDataObject(bitmap
) {}
2790 wxBitmap
GetBitmap() const;
2791 void SetBitmap(const wxBitmap
& bitmap
);
2795 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2796 wxBitmap
* rval
= &wxNullBitmap
;
2797 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2798 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2801 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2803 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2808 wxPyEndBlockThreads(blocked
);
2812 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2814 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2815 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2816 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2819 wxPyEndBlockThreads(blocked
);
2822 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2823 return new wxCustomDataObject(wxDataFormat(formatName
));
2825 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2827 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2828 if (PyString_Check(data
)) {
2829 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2832 // raise a TypeError if not a string
2833 PyErr_SetString(PyExc_TypeError
, "String expected.");
2836 wxPyEndBlockThreads(blocked
);
2839 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2841 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2842 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2843 wxPyEndBlockThreads(blocked
);
2847 #include <wx/metafile.h>
2850 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2853 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2854 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2855 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2856 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2857 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2860 class wxPyTextDropTarget
: public wxTextDropTarget
{
2862 wxPyTextDropTarget() {}
2864 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2866 DEC_PYCALLBACK__(OnLeave
);
2867 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2868 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2869 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2870 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2875 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2876 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2877 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2878 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2879 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2880 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2884 class wxPyFileDropTarget
: public wxFileDropTarget
{
2886 wxPyFileDropTarget() {}
2888 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2890 DEC_PYCALLBACK__(OnLeave
);
2891 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2892 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2893 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2894 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2899 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2900 const wxArrayString
& filenames
) {
2902 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2903 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2904 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2905 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2908 wxPyEndBlockThreads(blocked
);
2914 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2915 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2916 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2917 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2918 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2923 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2925 #include <wx/display.h>
2927 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2928 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2930 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2932 #include <wx/dynarray.h>
2933 #include <wx/vidmode.h>
2935 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2936 #include "wx/arrimpl.cpp"
2937 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2938 const wxVideoMode wxDefaultVideoMode
;
2943 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2946 static size_t GetCount()
2947 { wxPyRaiseNotImplemented(); return 0; }
2949 static int GetFromPoint(const wxPoint
& pt
)
2950 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2951 static int GetFromWindow(wxWindow
*window
)
2952 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2954 virtual bool IsOk() const { return false; }
2955 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2956 virtual wxString
GetName() const { return wxEmptyString
; }
2957 bool IsPrimary() const { return false; }
2959 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2960 { wxArrayVideoModes a
; return a
; }
2962 virtual wxVideoMode
GetCurrentMode() const
2963 { return wxDefaultVideoMode
; }
2965 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2972 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2973 PyObject
* pyList
= NULL
;
2974 wxArrayVideoModes arr
= self
->GetModes(mode
);
2975 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2976 pyList
= PyList_New(0);
2977 for (int i
=0; i
< arr
.GetCount(); i
++) {
2978 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2979 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2980 PyList_Append(pyList
, pyObj
);
2983 wxPyEndBlockThreads(blocked
);
2987 #include <wx/stdpaths.h>
2989 static wxStandardPaths
*StandardPaths_Get(){
2990 return (wxStandardPaths
*) &wxStandardPaths::Get();
2992 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2993 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2997 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxSystemColour arg1
;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "index", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3008 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3009 if (SWIG_arg_fail(1)) SWIG_fail
;
3012 if (!wxPyCheckForApp()) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 wxColour
* resultptr
;
3021 resultptr
= new wxColour((wxColour
&)(result
));
3022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3030 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "index", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3041 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3042 if (SWIG_arg_fail(1)) SWIG_fail
;
3045 if (!wxPyCheckForApp()) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3054 resultptr
= new wxFont((wxFont
&)(result
));
3055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3063 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxSystemMetric arg1
;
3066 wxWindow
*arg2
= (wxWindow
*) NULL
;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "index",(char *) "win", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3076 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3077 if (SWIG_arg_fail(1)) SWIG_fail
;
3080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3081 if (SWIG_arg_fail(2)) SWIG_fail
;
3084 if (!wxPyCheckForApp()) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3092 resultobj
= SWIG_From_int((int)(result
));
3100 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxSystemFeature arg1
;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "index", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3111 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3112 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 if (!wxPyCheckForApp()) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3131 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxSystemScreenType result
;
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3140 if (!wxPyCheckForApp()) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 resultobj
= SWIG_From_int((result
));
3154 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxSystemScreenType arg1
;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "screen", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3164 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3165 if (SWIG_arg_fail(1)) SWIG_fail
;
3168 if (!wxPyCheckForApp()) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 Py_INCREF(Py_None
); resultobj
= Py_None
;
3182 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3185 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3187 return Py_BuildValue((char *)"");
3189 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3190 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3195 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3200 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3202 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3209 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3211 wxSystemOptions
*result
;
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (wxSystemOptions
*)new wxSystemOptions();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3231 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxString
*arg1
= 0 ;
3234 wxString
*arg2
= 0 ;
3235 bool temp1
= false ;
3236 bool temp2
= false ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "name",(char *) "value", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 arg1
= wxString_in_helper(obj0
);
3246 if (arg1
== NULL
) SWIG_fail
;
3250 arg2
= wxString_in_helper(obj1
);
3251 if (arg2
== NULL
) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxString
*arg1
= 0 ;
3288 bool temp1
= false ;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3292 (char *) "name",(char *) "value", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 arg1
= wxString_in_helper(obj0
);
3298 if (arg1
== NULL
) SWIG_fail
;
3302 arg2
= (int)(SWIG_As_int(obj1
));
3303 if (SWIG_arg_fail(2)) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxString
*arg1
= 0 ;
3331 bool temp1
= false ;
3332 PyObject
* obj0
= 0 ;
3334 (char *) "name", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3339 arg1
= wxString_in_helper(obj0
);
3340 if (arg1
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3371 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxString
*arg1
= 0 ;
3375 bool temp1
= false ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "name", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3383 arg1
= wxString_in_helper(obj0
);
3384 if (arg1
== NULL
) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= SWIG_From_int((int)(result
));
3411 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxString
*arg1
= 0 ;
3415 bool temp1
= false ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "name", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3423 arg1
= wxString_in_helper(obj0
);
3424 if (arg1
== NULL
) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3451 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxString
*arg1
= 0 ;
3455 bool temp1
= false ;
3456 PyObject
* obj0
= 0 ;
3458 (char *) "name", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3463 arg1
= wxString_in_helper(obj0
);
3464 if (arg1
== NULL
) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3491 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3494 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3496 return Py_BuildValue((char *)"");
3498 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3499 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3504 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3509 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3511 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3518 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3519 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3524 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3529 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3531 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3538 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3539 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3544 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3549 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3551 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3558 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (long)wxNewId();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_From_long((long)(result
));
3582 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3585 PyObject
* obj0
= 0 ;
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3592 arg1
= (long)(SWIG_As_long(obj0
));
3593 if (SWIG_arg_fail(1)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (long)wxGetCurrentId();
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= SWIG_From_long((long)(result
));
3633 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3637 PyObject
* obj0
= 0 ;
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3644 arg1
= (int)(SWIG_As_int(obj0
));
3645 if (SWIG_arg_fail(1)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)wxIsStockID(arg1
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3663 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3666 wxString
*arg2
= 0 ;
3668 bool temp2
= false ;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3672 (char *) "id",(char *) "label", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3677 arg1
= (int)(SWIG_As_int(obj0
));
3678 if (SWIG_arg_fail(1)) SWIG_fail
;
3681 arg2
= wxString_in_helper(obj1
);
3682 if (arg2
== NULL
) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3709 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3712 bool arg2
= (bool) true ;
3713 wxString arg3
= (wxString
) wxPyEmptyString
;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3717 PyObject
* obj2
= 0 ;
3719 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3724 arg1
= (int)(SWIG_As_int(obj0
));
3725 if (SWIG_arg_fail(1)) SWIG_fail
;
3729 arg2
= (bool)(SWIG_As_bool(obj1
));
3730 if (SWIG_arg_fail(2)) SWIG_fail
;
3735 wxString
* sptr
= wxString_in_helper(obj2
);
3736 if (sptr
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3761 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3769 if (!wxPyCheckForApp()) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3783 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3791 if (!wxPyCheckForApp()) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3805 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 bool arg1
= (bool) true ;
3809 PyObject
* obj0
= 0 ;
3811 (char *) "resetTimer", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3817 arg1
= (bool)(SWIG_As_bool(obj0
));
3818 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (long)wxGetElapsedTime(arg1
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_long((long)(result
));
3837 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 int *arg1
= (int *) 0 ;
3840 int *arg2
= (int *) 0 ;
3849 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3850 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3853 if (!wxPyCheckForApp()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 wxGetMousePosition(arg1
,arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3862 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3863 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3864 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3871 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (bool)wxIsBusy();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3895 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3923 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3926 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3928 bool temp1
= false ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "command", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3937 arg1
= wxString_in_helper(obj0
);
3938 if (arg1
== NULL
) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)wxShell((wxString
const &)*arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3966 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 int *arg1
= (int *) 0 ;
3990 int *arg2
= (int *) 0 ;
4000 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4001 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (int)wxGetOsVersion(arg1
,arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_From_int((int)(result
));
4013 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4014 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4015 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4016 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4023 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= wxGetOsDescription();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4051 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxMemorySize result
;
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= wxGetFreeMemory();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 wxMemorySize
* resultptr
;
4068 resultptr
= new wxMemorySize((wxMemorySize
&)(result
));
4069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4077 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxShutdownFlags arg1
;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "wFlags", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4088 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4089 if (SWIG_arg_fail(1)) SWIG_fail
;
4092 if (!wxPyCheckForApp()) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4108 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "secs", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4118 arg1
= (int)(SWIG_As_int(obj0
));
4119 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 unsigned long arg1
;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "milliseconds", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4145 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 unsigned long arg1
;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "microseconds", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4172 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4173 if (SWIG_arg_fail(1)) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4192 PyObject
* obj0
= 0 ;
4194 (char *) "enable", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4199 arg1
= (bool)(SWIG_As_bool(obj0
));
4200 if (SWIG_arg_fail(1)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 wxEnableTopLevelWindows(arg1
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxString
*arg1
= 0 ;
4220 bool temp1
= false ;
4221 PyObject
* obj0
= 0 ;
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4228 arg1
= wxString_in_helper(obj0
);
4229 if (arg1
== NULL
) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4260 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= wxGetEmailAddress();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4288 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= wxGetHostName();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4316 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= wxGetFullHostName();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4344 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= wxGetUserId();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4372 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= wxGetUserName();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4400 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= wxGetHomeDir();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4428 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4431 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4433 bool temp1
= false ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "user", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4442 arg1
= wxString_in_helper(obj0
);
4443 if (arg1
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= wxGetUserHome((wxString
const &)*arg1
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4475 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 unsigned long result
;
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (unsigned long)wxGetProcessId();
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4499 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4523 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4524 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4525 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4530 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4531 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4532 int arg6
= (int) 0 ;
4533 wxWindow
*arg7
= (wxWindow
*) NULL
;
4534 int arg8
= (int) -1 ;
4535 int arg9
= (int) -1 ;
4537 bool temp1
= false ;
4538 bool temp2
= false ;
4539 bool temp3
= false ;
4540 bool temp4
= false ;
4541 bool temp5
= false ;
4542 PyObject
* obj0
= 0 ;
4543 PyObject
* obj1
= 0 ;
4544 PyObject
* obj2
= 0 ;
4545 PyObject
* obj3
= 0 ;
4546 PyObject
* obj4
= 0 ;
4547 PyObject
* obj5
= 0 ;
4548 PyObject
* obj6
= 0 ;
4549 PyObject
* obj7
= 0 ;
4550 PyObject
* obj8
= 0 ;
4552 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4558 arg1
= wxString_in_helper(obj0
);
4559 if (arg1
== NULL
) SWIG_fail
;
4565 arg2
= wxString_in_helper(obj1
);
4566 if (arg2
== NULL
) SWIG_fail
;
4572 arg3
= wxString_in_helper(obj2
);
4573 if (arg3
== NULL
) SWIG_fail
;
4579 arg4
= wxString_in_helper(obj3
);
4580 if (arg4
== NULL
) SWIG_fail
;
4586 arg5
= wxString_in_helper(obj4
);
4587 if (arg5
== NULL
) SWIG_fail
;
4593 arg6
= (int)(SWIG_As_int(obj5
));
4594 if (SWIG_arg_fail(6)) SWIG_fail
;
4598 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4599 if (SWIG_arg_fail(7)) SWIG_fail
;
4603 arg8
= (int)(SWIG_As_int(obj7
));
4604 if (SWIG_arg_fail(8)) SWIG_fail
;
4609 arg9
= (int)(SWIG_As_int(obj8
));
4610 if (SWIG_arg_fail(9)) SWIG_fail
;
4614 if (!wxPyCheckForApp()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4674 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxString
*arg1
= 0 ;
4677 wxString
*arg2
= 0 ;
4678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4680 wxWindow
*arg4
= (wxWindow
*) NULL
;
4682 bool temp1
= false ;
4683 bool temp2
= false ;
4684 bool temp3
= false ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 PyObject
* obj3
= 0 ;
4690 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4695 arg1
= wxString_in_helper(obj0
);
4696 if (arg1
== NULL
) SWIG_fail
;
4700 arg2
= wxString_in_helper(obj1
);
4701 if (arg2
== NULL
) SWIG_fail
;
4706 arg3
= wxString_in_helper(obj2
);
4707 if (arg3
== NULL
) SWIG_fail
;
4712 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4713 if (SWIG_arg_fail(4)) SWIG_fail
;
4716 if (!wxPyCheckForApp()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4760 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxString
*arg1
= 0 ;
4763 wxString
*arg2
= 0 ;
4764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4766 wxWindow
*arg4
= (wxWindow
*) NULL
;
4768 bool temp1
= false ;
4769 bool temp2
= false ;
4770 bool temp3
= false ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4774 PyObject
* obj3
= 0 ;
4776 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4781 arg1
= wxString_in_helper(obj0
);
4782 if (arg1
== NULL
) SWIG_fail
;
4786 arg2
= wxString_in_helper(obj1
);
4787 if (arg2
== NULL
) SWIG_fail
;
4792 arg3
= wxString_in_helper(obj2
);
4793 if (arg3
== NULL
) SWIG_fail
;
4798 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4799 if (SWIG_arg_fail(4)) SWIG_fail
;
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4846 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4849 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4850 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4851 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4852 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4855 wxWindow
*arg5
= (wxWindow
*) NULL
;
4857 bool temp1
= false ;
4858 bool temp2
= false ;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4863 PyObject
* obj3
= 0 ;
4864 PyObject
* obj4
= 0 ;
4866 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4872 arg1
= wxString_in_helper(obj0
);
4873 if (arg1
== NULL
) SWIG_fail
;
4879 arg2
= wxString_in_helper(obj1
);
4880 if (arg2
== NULL
) SWIG_fail
;
4886 arg3
= (long)(SWIG_As_long(obj2
));
4887 if (SWIG_arg_fail(3)) SWIG_fail
;
4893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4897 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4898 if (SWIG_arg_fail(5)) SWIG_fail
;
4901 if (!wxPyCheckForApp()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4937 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxString
*arg1
= 0 ;
4940 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4941 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4944 wxWindow
*arg4
= (wxWindow
*) NULL
;
4945 int arg5
= (int) -1 ;
4946 int arg6
= (int) -1 ;
4947 bool arg7
= (bool) true ;
4949 bool temp1
= false ;
4950 bool temp2
= false ;
4951 bool temp3
= false ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 PyObject
* obj4
= 0 ;
4957 PyObject
* obj5
= 0 ;
4958 PyObject
* obj6
= 0 ;
4960 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4965 arg1
= wxString_in_helper(obj0
);
4966 if (arg1
== NULL
) SWIG_fail
;
4971 arg2
= wxString_in_helper(obj1
);
4972 if (arg2
== NULL
) SWIG_fail
;
4978 arg3
= wxString_in_helper(obj2
);
4979 if (arg3
== NULL
) SWIG_fail
;
4984 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(4)) SWIG_fail
;
4989 arg5
= (int)(SWIG_As_int(obj4
));
4990 if (SWIG_arg_fail(5)) SWIG_fail
;
4995 arg6
= (int)(SWIG_As_int(obj5
));
4996 if (SWIG_arg_fail(6)) SWIG_fail
;
5001 arg7
= (bool)(SWIG_As_bool(obj6
));
5002 if (SWIG_arg_fail(7)) SWIG_fail
;
5006 if (!wxPyCheckForApp()) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5050 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxString
*arg1
= 0 ;
5053 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5057 wxWindow
*arg4
= (wxWindow
*) NULL
;
5059 bool temp1
= false ;
5060 bool temp2
= false ;
5061 bool temp3
= false ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5065 PyObject
* obj3
= 0 ;
5067 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5072 arg1
= wxString_in_helper(obj0
);
5073 if (arg1
== NULL
) SWIG_fail
;
5078 arg2
= wxString_in_helper(obj1
);
5079 if (arg2
== NULL
) SWIG_fail
;
5085 arg3
= wxString_in_helper(obj2
);
5086 if (arg3
== NULL
) SWIG_fail
;
5091 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5092 if (SWIG_arg_fail(4)) SWIG_fail
;
5095 if (!wxPyCheckForApp()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5139 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxString
*arg1
= 0 ;
5142 wxString
*arg2
= 0 ;
5144 wxString
*arg4
= (wxString
*) 0 ;
5145 wxWindow
*arg5
= (wxWindow
*) NULL
;
5146 int arg6
= (int) -1 ;
5147 int arg7
= (int) -1 ;
5148 bool arg8
= (bool) true ;
5149 int arg9
= (int) 150 ;
5150 int arg10
= (int) 200 ;
5152 bool temp1
= false ;
5153 bool temp2
= false ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5158 PyObject
* obj4
= 0 ;
5159 PyObject
* obj5
= 0 ;
5160 PyObject
* obj6
= 0 ;
5161 PyObject
* obj7
= 0 ;
5162 PyObject
* obj8
= 0 ;
5164 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5169 arg1
= wxString_in_helper(obj0
);
5170 if (arg1
== NULL
) SWIG_fail
;
5174 arg2
= wxString_in_helper(obj1
);
5175 if (arg2
== NULL
) SWIG_fail
;
5179 arg3
= PyList_Size(obj2
);
5180 arg4
= wxString_LIST_helper(obj2
);
5181 if (arg4
== NULL
) SWIG_fail
;
5184 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(5)) SWIG_fail
;
5189 arg6
= (int)(SWIG_As_int(obj4
));
5190 if (SWIG_arg_fail(6)) SWIG_fail
;
5195 arg7
= (int)(SWIG_As_int(obj5
));
5196 if (SWIG_arg_fail(7)) SWIG_fail
;
5201 arg8
= (bool)(SWIG_As_bool(obj6
));
5202 if (SWIG_arg_fail(8)) SWIG_fail
;
5207 arg9
= (int)(SWIG_As_int(obj7
));
5208 if (SWIG_arg_fail(9)) SWIG_fail
;
5213 arg10
= (int)(SWIG_As_int(obj8
));
5214 if (SWIG_arg_fail(10)) SWIG_fail
;
5218 if (!wxPyCheckForApp()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5241 if (arg4
) delete [] arg4
;
5254 if (arg4
) delete [] arg4
;
5260 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxString
*arg1
= 0 ;
5263 wxString
*arg2
= 0 ;
5265 wxString
*arg4
= (wxString
*) 0 ;
5266 wxWindow
*arg5
= (wxWindow
*) NULL
;
5267 int arg6
= (int) -1 ;
5268 int arg7
= (int) -1 ;
5269 bool arg8
= (bool) true ;
5270 int arg9
= (int) 150 ;
5271 int arg10
= (int) 200 ;
5273 bool temp1
= false ;
5274 bool temp2
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5285 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5290 arg1
= wxString_in_helper(obj0
);
5291 if (arg1
== NULL
) SWIG_fail
;
5295 arg2
= wxString_in_helper(obj1
);
5296 if (arg2
== NULL
) SWIG_fail
;
5300 arg3
= PyList_Size(obj2
);
5301 arg4
= wxString_LIST_helper(obj2
);
5302 if (arg4
== NULL
) SWIG_fail
;
5305 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5306 if (SWIG_arg_fail(5)) SWIG_fail
;
5310 arg6
= (int)(SWIG_As_int(obj4
));
5311 if (SWIG_arg_fail(6)) SWIG_fail
;
5316 arg7
= (int)(SWIG_As_int(obj5
));
5317 if (SWIG_arg_fail(7)) SWIG_fail
;
5322 arg8
= (bool)(SWIG_As_bool(obj6
));
5323 if (SWIG_arg_fail(8)) SWIG_fail
;
5328 arg9
= (int)(SWIG_As_int(obj7
));
5329 if (SWIG_arg_fail(9)) SWIG_fail
;
5334 arg10
= (int)(SWIG_As_int(obj8
));
5335 if (SWIG_arg_fail(10)) SWIG_fail
;
5339 if (!wxPyCheckForApp()) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_From_int((int)(result
));
5358 if (arg4
) delete [] arg4
;
5371 if (arg4
) delete [] arg4
;
5377 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxString
*arg1
= 0 ;
5380 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5381 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5382 int arg3
= (int) wxOK
|wxCENTRE
;
5383 wxWindow
*arg4
= (wxWindow
*) NULL
;
5384 int arg5
= (int) -1 ;
5385 int arg6
= (int) -1 ;
5387 bool temp1
= false ;
5388 bool temp2
= false ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 PyObject
* obj2
= 0 ;
5392 PyObject
* obj3
= 0 ;
5393 PyObject
* obj4
= 0 ;
5394 PyObject
* obj5
= 0 ;
5396 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5401 arg1
= wxString_in_helper(obj0
);
5402 if (arg1
== NULL
) SWIG_fail
;
5407 arg2
= wxString_in_helper(obj1
);
5408 if (arg2
== NULL
) SWIG_fail
;
5414 arg3
= (int)(SWIG_As_int(obj2
));
5415 if (SWIG_arg_fail(3)) SWIG_fail
;
5419 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5420 if (SWIG_arg_fail(4)) SWIG_fail
;
5424 arg5
= (int)(SWIG_As_int(obj4
));
5425 if (SWIG_arg_fail(5)) SWIG_fail
;
5430 arg6
= (int)(SWIG_As_int(obj5
));
5431 if (SWIG_arg_fail(6)) SWIG_fail
;
5435 if (!wxPyCheckForApp()) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_int((int)(result
));
5467 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5476 if (!wxPyCheckForApp()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (bool)wxColourDisplay();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5492 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5501 if (!wxPyCheckForApp()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)wxDisplayDepth();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5526 if (!wxPyCheckForApp()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (int)wxGetDisplayDepth();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_From_int((int)(result
));
5542 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 int *arg1
= (int *) 0 ;
5545 int *arg2
= (int *) 0 ;
5554 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5555 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5558 if (!wxPyCheckForApp()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 wxDisplaySize(arg1
,arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5567 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5568 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5569 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5576 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5585 if (!wxPyCheckForApp()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= wxGetDisplaySize();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5594 resultptr
= new wxSize((wxSize
&)(result
));
5595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5603 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 int *arg1
= (int *) 0 ;
5606 int *arg2
= (int *) 0 ;
5615 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5616 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5619 if (!wxPyCheckForApp()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxDisplaySizeMM(arg1
,arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5628 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5637 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= wxGetDisplaySizeMM();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5655 resultptr
= new wxSize((wxSize
&)(result
));
5656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5664 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 int *arg1
= (int *) 0 ;
5667 int *arg2
= (int *) 0 ;
5668 int *arg3
= (int *) 0 ;
5669 int *arg4
= (int *) 0 ;
5682 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5683 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5684 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5685 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5688 if (!wxPyCheckForApp()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5697 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5698 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5699 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5700 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5701 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5702 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5703 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5710 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5719 if (!wxPyCheckForApp()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= wxGetClientDisplayRect();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5728 resultptr
= new wxRect((wxRect
&)(result
));
5729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5737 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxCursor
*arg1
= 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "cursor", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 SWIG_null_ref("wxCursor");
5752 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 if (!wxPyCheckForApp()) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5778 if (!wxPyCheckForApp()) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 result
= (void *)wxGetXDisplay();
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5792 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5795 PyObject
* obj0
= 0 ;
5797 (char *) "cursor", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 if (!wxPyCheckForApp()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxBeginBusyCursor(arg1
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5829 if (!wxPyCheckForApp()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (wxWindow
*)wxGetActiveWindow();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= wxPyMake_wxObject(result
, 0);
5845 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5850 PyObject
* obj0
= 0 ;
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5858 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= wxPyMake_wxObject(result
, 0);
5877 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5882 PyObject
* obj0
= 0 ;
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5890 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5893 if (!wxPyCheckForApp()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= wxPyMake_wxObject(result
, 0);
5909 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxWindow
*arg1
= (wxWindow
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "win", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail
;
5922 if (!wxPyCheckForApp()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= wxPyMake_wxObject(result
, 0);
5938 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxString
*arg1
= 0 ;
5942 bool temp1
= false ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "url", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
5950 arg1
= wxString_in_helper(obj0
);
5951 if (arg1
== NULL
) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "key", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5989 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5990 if (SWIG_arg_fail(1)) SWIG_fail
;
5993 if (!wxPyCheckForApp()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6017 if (!wxPyCheckForApp()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 wxWakeUpMainThread();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 Py_INCREF(Py_None
); resultobj
= Py_None
;
6053 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxMutexGuiLocker
*result
;
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6084 if (!wxPyCheckForApp()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6098 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6103 (char *) "self", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6126 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6128 return Py_BuildValue((char *)"");
6130 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)wxThread_IsMain();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxString
*arg1
= 0 ;
6158 bool temp1
= false ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "tip", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6166 arg1
= wxString_in_helper(obj0
);
6167 if (arg1
== NULL
) SWIG_fail
;
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= wxPyMake_wxObject(result
, 1);
6195 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6198 wxString
*arg2
= 0 ;
6199 bool temp2
= false ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "tip", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 arg2
= wxString_in_helper(obj1
);
6211 if (arg2
== NULL
) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->SetTip((wxString
const &)*arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "self", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (arg1
)->GetTip();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6268 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxWindow
*)(arg1
)->GetWindow();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= wxPyMake_wxObject(result
, 0);
6296 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "flag", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6306 arg1
= (bool)(SWIG_As_bool(obj0
));
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxToolTip::Enable(arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "milliseconds", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6333 arg1
= (long)(SWIG_As_long(obj0
));
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 wxToolTip::SetDelay(arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 Py_INCREF(Py_None
); resultobj
= Py_None
;
6350 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6353 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6355 return Py_BuildValue((char *)"");
6357 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxWindow
*arg1
= (wxWindow
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "window",(char *) "size", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6371 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6377 if (!wxPyCheckForApp()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6391 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxCaret
*arg1
= (wxCaret
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6401 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxCaret_Destroy(arg1
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxCaret
*arg1
= (wxCaret
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->IsOk();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxCaret
*arg1
= (wxCaret
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)(arg1
)->IsVisible();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6472 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxCaret
*arg1
= (wxCaret
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6483 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (arg1
)->GetPosition();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 wxPoint
* resultptr
;
6493 resultptr
= new wxPoint((wxPoint
&)(result
));
6494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6502 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxCaret
*arg1
= (wxCaret
*) 0 ;
6505 int *arg2
= (int *) 0 ;
6506 int *arg3
= (int *) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6517 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6520 if (SWIG_arg_fail(1)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->GetPosition(arg2
,arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6530 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6531 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6532 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6539 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxCaret
*arg1
= (wxCaret
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (arg1
)->GetSize();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6560 resultptr
= new wxSize((wxSize
&)(result
));
6561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6569 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxCaret
*arg1
= (wxCaret
*) 0 ;
6572 int *arg2
= (int *) 0 ;
6573 int *arg3
= (int *) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6584 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->GetSize(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6597 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6598 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6599 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6606 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxCaret
*arg1
= (wxCaret
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (wxWindow
*)(arg1
)->GetWindow();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= wxPyMake_wxObject(result
, 0);
6634 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxCaret
*arg1
= (wxCaret
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6643 (char *) "self",(char *) "x",(char *) "y", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 arg2
= (int)(SWIG_As_int(obj1
));
6651 if (SWIG_arg_fail(2)) SWIG_fail
;
6654 arg3
= (int)(SWIG_As_int(obj2
));
6655 if (SWIG_arg_fail(3)) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->Move(arg2
,arg3
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxCaret
*arg1
= (wxCaret
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "pt", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6684 if (SWIG_arg_fail(1)) SWIG_fail
;
6687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 (arg1
)->Move((wxPoint
const &)*arg2
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxCaret
*arg1
= (wxCaret
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6712 (char *) "self",(char *) "width",(char *) "height", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 arg2
= (int)(SWIG_As_int(obj1
));
6720 if (SWIG_arg_fail(2)) SWIG_fail
;
6723 arg3
= (int)(SWIG_As_int(obj2
));
6724 if (SWIG_arg_fail(3)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->SetSize(arg2
,arg3
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxCaret
*arg1
= (wxCaret
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "size", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6753 if (SWIG_arg_fail(1)) SWIG_fail
;
6756 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 (arg1
)->SetSize((wxSize
const &)*arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6772 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxCaret
*arg1
= (wxCaret
*) 0 ;
6775 int arg2
= (int) true ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6779 (char *) "self",(char *) "show", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6784 if (SWIG_arg_fail(1)) SWIG_fail
;
6787 arg2
= (int)(SWIG_As_int(obj1
));
6788 if (SWIG_arg_fail(2)) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxCaret
*arg1
= (wxCaret
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6815 if (SWIG_arg_fail(1)) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (int)wxCaret::GetBlinkTime();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_From_int((int)(result
));
6854 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "milliseconds", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6864 arg1
= (int)(SWIG_As_int(obj0
));
6865 if (SWIG_arg_fail(1)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxCaret::SetBlinkTime(arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6886 return Py_BuildValue((char *)"");
6888 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6891 wxBusyCursor
*result
;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "cursor", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6900 if (SWIG_arg_fail(1)) SWIG_fail
;
6903 if (!wxPyCheckForApp()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6917 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6927 if (SWIG_arg_fail(1)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6945 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6947 return Py_BuildValue((char *)"");
6949 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxWindow
*arg1
= (wxWindow
*) NULL
;
6952 wxWindowDisabler
*result
;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "winToSkip", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 if (!wxPyCheckForApp()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6978 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 Py_INCREF(Py_None
); resultobj
= Py_None
;
7003 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7006 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7008 return Py_BuildValue((char *)"");
7010 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxString
*arg1
= 0 ;
7014 bool temp1
= false ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "message", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7022 arg1
= wxString_in_helper(obj0
);
7023 if (arg1
== NULL
) SWIG_fail
;
7027 if (!wxPyCheckForApp()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7049 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7079 return Py_BuildValue((char *)"");
7081 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxStopWatch
*result
;
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxStopWatch
*)new wxStopWatch();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7103 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7106 long arg2
= (long) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "t0", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 arg2
= (long)(SWIG_As_long(obj1
));
7119 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 (arg1
)->Start(arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7197 if (SWIG_arg_fail(1)) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_From_long((long)(result
));
7214 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7217 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7219 return Py_BuildValue((char *)"");
7221 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 int arg1
= (int) 9 ;
7224 int arg2
= (int) wxID_FILE1
;
7225 wxFileHistory
*result
;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "maxFiles",(char *) "idBase", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 arg1
= (int)(SWIG_As_int(obj0
));
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 arg2
= (int)(SWIG_As_int(obj1
));
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7259 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7269 if (SWIG_arg_fail(1)) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7287 wxString
*arg2
= 0 ;
7288 bool temp2
= false ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7292 (char *) "self",(char *) "file", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7297 if (SWIG_arg_fail(1)) SWIG_fail
;
7299 arg2
= wxString_in_helper(obj1
);
7300 if (arg2
== NULL
) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "i", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail
;
7339 arg2
= (int)(SWIG_As_int(obj1
));
7340 if (SWIG_arg_fail(2)) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->RemoveFileFromHistory(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_From_int((int)(result
));
7384 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7387 wxMenu
*arg2
= (wxMenu
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7391 (char *) "self",(char *) "menu", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7396 if (SWIG_arg_fail(1)) SWIG_fail
;
7397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7398 if (SWIG_arg_fail(2)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 (arg1
)->UseMenu(arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7416 wxMenu
*arg2
= (wxMenu
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "menu", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(2)) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 (arg1
)->RemoveMenu(arg2
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7445 wxConfigBase
*arg2
= 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "config", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7457 if (SWIG_arg_fail(2)) SWIG_fail
;
7459 SWIG_null_ref("wxConfigBase");
7461 if (SWIG_arg_fail(2)) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->Load(*arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7480 wxConfigBase
*arg2
= 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7484 (char *) "self",(char *) "config", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7489 if (SWIG_arg_fail(1)) SWIG_fail
;
7491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(2)) SWIG_fail
;
7494 SWIG_null_ref("wxConfigBase");
7496 if (SWIG_arg_fail(2)) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 (arg1
)->Save(*arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->AddFilesToMenu();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7540 wxMenu
*arg2
= (wxMenu
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "menu", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 (arg1
)->AddFilesToMenu(arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7574 (char *) "self",(char *) "i", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7604 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_From_int((int)(result
));
7632 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7635 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7637 return Py_BuildValue((char *)"");
7639 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxString
*arg1
= 0 ;
7642 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7643 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7644 wxSingleInstanceChecker
*result
;
7645 bool temp1
= false ;
7646 bool temp2
= false ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "name",(char *) "path", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 arg1
= wxString_in_helper(obj0
);
7656 if (arg1
== NULL
) SWIG_fail
;
7661 arg2
= wxString_in_helper(obj1
);
7662 if (arg2
== NULL
) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7696 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxSingleInstanceChecker
*result
;
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7718 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7746 wxString
*arg2
= 0 ;
7747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7750 bool temp2
= false ;
7751 bool temp3
= false ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7756 (char *) "self",(char *) "name",(char *) "path", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 arg2
= wxString_in_helper(obj1
);
7764 if (arg2
== NULL
) SWIG_fail
;
7769 arg3
= wxString_in_helper(obj2
);
7770 if (arg3
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7834 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxWindow
*arg1
= (wxWindow
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7849 (char *) "window",(char *) "dc", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail
;
7859 SWIG_null_ref("wxDC");
7861 if (SWIG_arg_fail(2)) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7879 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (arg1
)->GetTip();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7936 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (size_t)(arg1
)->GetCurrentTip();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7964 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7967 wxString
*arg2
= 0 ;
7969 bool temp2
= false ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7973 (char *) "self",(char *) "tip", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7978 if (SWIG_arg_fail(1)) SWIG_fail
;
7980 arg2
= wxString_in_helper(obj1
);
7981 if (arg2
== NULL
) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8012 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8015 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8017 return Py_BuildValue((char *)"");
8019 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8022 wxPyTipProvider
*result
;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "currentTip", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8030 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8031 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8047 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8050 PyObject
*arg2
= (PyObject
*) 0 ;
8051 PyObject
*arg3
= (PyObject
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "self",(char *) "self",(char *) "_class", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8081 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8083 return Py_BuildValue((char *)"");
8085 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxWindow
*arg1
= (wxWindow
*) 0 ;
8088 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8089 bool arg3
= (bool) true ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8093 PyObject
* obj2
= 0 ;
8095 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8102 if (SWIG_arg_fail(2)) SWIG_fail
;
8105 arg3
= (bool)(SWIG_As_bool(obj2
));
8106 if (SWIG_arg_fail(3)) SWIG_fail
;
8110 if (!wxPyCheckForApp()) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8126 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxString
*arg1
= 0 ;
8130 wxTipProvider
*result
;
8131 bool temp1
= false ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "filename",(char *) "currentTip", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8140 arg1
= wxString_in_helper(obj0
);
8141 if (arg1
== NULL
) SWIG_fail
;
8145 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8146 if (SWIG_arg_fail(2)) SWIG_fail
;
8149 if (!wxPyCheckForApp()) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8171 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8174 int arg2
= (int) -1 ;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8179 (char *) "owner",(char *) "id", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8189 arg2
= (int)(SWIG_As_int(obj1
));
8190 if (SWIG_arg_fail(2)) SWIG_fail
;
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8208 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8236 PyObject
*arg2
= (PyObject
*) 0 ;
8237 PyObject
*arg3
= (PyObject
*) 0 ;
8238 int arg4
= (int) 1 ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 PyObject
* obj3
= 0 ;
8244 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 arg4
= (int)(SWIG_As_int(obj3
));
8255 if (SWIG_arg_fail(4)) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8275 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8276 int arg3
= (int) -1 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "owner",(char *) "id", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8286 if (SWIG_arg_fail(1)) SWIG_fail
;
8287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(2)) SWIG_fail
;
8291 arg3
= (int)(SWIG_As_int(obj2
));
8292 if (SWIG_arg_fail(3)) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 (arg1
)->SetOwner(arg2
,arg3
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8312 wxEvtHandler
*result
;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= wxPyMake_wxObject(result
, 0);
8337 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8340 int arg2
= (int) -1 ;
8341 bool arg3
= (bool) false ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8345 PyObject
* obj2
= 0 ;
8347 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 arg2
= (int)(SWIG_As_int(obj1
));
8356 if (SWIG_arg_fail(2)) SWIG_fail
;
8361 arg3
= (bool)(SWIG_As_bool(obj2
));
8362 if (SWIG_arg_fail(3)) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8391 if (SWIG_arg_fail(1)) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8434 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_From_int((int)(result
));
8462 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_From_int((int)(result
));
8518 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8523 return Py_BuildValue((char *)"");
8525 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 int arg1
= (int) 0 ;
8528 int arg2
= (int) 0 ;
8529 wxTimerEvent
*result
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "timerid",(char *) "interval", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8539 arg1
= (int)(SWIG_As_int(obj0
));
8540 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 arg2
= (int)(SWIG_As_int(obj1
));
8546 if (SWIG_arg_fail(2)) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8563 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_From_int((int)(result
));
8591 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8594 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8596 return Py_BuildValue((char *)"");
8598 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8599 PyObject
*resultobj
;
8601 wxTimerRunner
*result
;
8602 PyObject
* obj0
= 0 ;
8604 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 SWIG_null_ref("wxTimer");
8611 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 if (!wxPyCheckForApp()) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8628 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8629 PyObject
*resultobj
;
8632 bool arg3
= (bool) false ;
8633 wxTimerRunner
*result
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8638 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8641 if (SWIG_arg_fail(1)) SWIG_fail
;
8643 SWIG_null_ref("wxTimer");
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8648 arg2
= (int)(SWIG_As_int(obj1
));
8649 if (SWIG_arg_fail(2)) SWIG_fail
;
8653 arg3
= (bool)(SWIG_As_bool(obj2
));
8654 if (SWIG_arg_fail(3)) SWIG_fail
;
8658 if (!wxPyCheckForApp()) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8672 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8677 argc
= PyObject_Length(args
);
8678 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8679 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8693 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8696 if ((argc
>= 2) && (argc
<= 3)) {
8700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8708 _v
= SWIG_Check_int(argv
[1]);
8711 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8713 _v
= SWIG_Check_bool(argv
[2]);
8715 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8721 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8726 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8755 bool arg3
= (bool) false ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8760 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 arg2
= (int)(SWIG_As_int(obj1
));
8768 if (SWIG_arg_fail(2)) SWIG_fail
;
8772 arg3
= (bool)(SWIG_As_bool(obj2
));
8773 if (SWIG_arg_fail(3)) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Start(arg2
,arg3
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8790 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8793 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8795 return Py_BuildValue((char *)"");
8797 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (wxLog
*)new wxLog();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8819 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (bool)wxLog::IsEnabled();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 bool arg1
= (bool) true ;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "doIt", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8855 arg1
= (bool)(SWIG_As_bool(obj0
));
8856 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)wxLog::EnableLogging(arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8878 wxChar
*arg2
= (wxChar
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "level",(char *) "szString",(char *) "t", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8889 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(2)) SWIG_fail
;
8895 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8896 if (SWIG_arg_fail(3)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxLog
*arg1
= (wxLog
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "self", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxLog::FlushActive();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (wxLog
*)wxLog::GetActiveTarget();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8980 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxLog
*arg1
= (wxLog
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "pLogger", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9006 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 Py_INCREF(Py_None
); resultobj
= Py_None
;
9027 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 bool arg1
= (bool) true ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "bVerbose", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9059 arg1
= (bool)(SWIG_As_bool(obj0
));
9060 if (SWIG_arg_fail(1)) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxLog::SetVerbose(arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "logLevel", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9087 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9088 if (SWIG_arg_fail(1)) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 wxLog::SetLogLevel(arg1
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 wxLog::DontCreateOnDemand();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "ulMask", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9135 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxLog::SetTraceMask(arg1
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxString
*arg1
= 0 ;
9155 bool temp1
= false ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "str", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9163 arg1
= wxString_in_helper(obj0
);
9164 if (arg1
== NULL
) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 wxLog::AddTraceMask((wxString
const &)*arg1
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxString
*arg1
= 0 ;
9192 bool temp1
= false ;
9193 PyObject
* obj0
= 0 ;
9195 (char *) "str", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9200 arg1
= wxString_in_helper(obj0
);
9201 if (arg1
== NULL
) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9226 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxLog::ClearTraceMasks();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 Py_INCREF(Py_None
); resultobj
= Py_None
;
9247 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxArrayString
*result
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9259 result
= (wxArrayString
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= wxArrayString2PyList_helper(*result
);
9274 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxChar
*arg1
= (wxChar
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxLog::SetTimestamp((wxChar
const *)arg1
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)wxLog::GetVerbose();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (wxTraceMask
)wxLog::GetTraceMask();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9347 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxChar
*arg1
= (wxChar
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9353 (char *) "mask", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9358 if (SWIG_arg_fail(1)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (wxLogLevel
)wxLog::GetLogLevel();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9399 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (wxChar
*)wxLog::GetTimestamp();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9421 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= Log_TimeStamp();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9449 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxLog
*arg1
= (wxLog
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9459 if (SWIG_arg_fail(1)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxLog_Destroy(arg1
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9477 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9479 return Py_BuildValue((char *)"");
9481 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxLogStderr
*result
;
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (wxLogStderr
*)new wxLogStderr();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9503 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9506 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9508 return Py_BuildValue((char *)"");
9510 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9513 wxLogTextCtrl
*result
;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "pTextCtrl", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9536 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9539 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9541 return Py_BuildValue((char *)"");
9543 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxLogGui
*)new wxLogGui();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9565 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9568 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9570 return Py_BuildValue((char *)"");
9572 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxFrame
*arg1
= (wxFrame
*) 0 ;
9575 wxString
*arg2
= 0 ;
9576 bool arg3
= (bool) true ;
9577 bool arg4
= (bool) true ;
9578 wxLogWindow
*result
;
9579 bool temp2
= false ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 PyObject
* obj2
= 0 ;
9583 PyObject
* obj3
= 0 ;
9585 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9592 arg2
= wxString_in_helper(obj1
);
9593 if (arg2
== NULL
) SWIG_fail
;
9598 arg3
= (bool)(SWIG_As_bool(obj2
));
9599 if (SWIG_arg_fail(3)) SWIG_fail
;
9604 arg4
= (bool)(SWIG_As_bool(obj3
));
9605 if (SWIG_arg_fail(4)) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9630 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9633 bool arg2
= (bool) true ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9637 (char *) "self",(char *) "bShow", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9642 if (SWIG_arg_fail(1)) SWIG_fail
;
9645 arg2
= (bool)(SWIG_As_bool(obj1
));
9646 if (SWIG_arg_fail(2)) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 Py_INCREF(Py_None
); resultobj
= Py_None
;
9663 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= wxPyMake_wxObject(result
, 0);
9691 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9702 if (SWIG_arg_fail(1)) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9717 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9745 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "self",(char *) "bDoPass", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(1)) SWIG_fail
;
9759 arg2
= (bool)(SWIG_As_bool(obj1
));
9760 if (SWIG_arg_fail(2)) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->PassMessages(arg2
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 Py_INCREF(Py_None
); resultobj
= Py_None
;
9776 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9779 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9781 return Py_BuildValue((char *)"");
9783 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxLog
*arg1
= (wxLog
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "logger", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (wxLogChain
*)new wxLogChain(arg1
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9809 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9812 wxLog
*arg2
= (wxLog
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9816 (char *) "self",(char *) "logger", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail
;
9822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9823 if (SWIG_arg_fail(2)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->SetLog(arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9845 (char *) "self",(char *) "bDoPass", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9850 if (SWIG_arg_fail(1)) SWIG_fail
;
9852 arg2
= (bool)(SWIG_As_bool(obj1
));
9853 if (SWIG_arg_fail(2)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 (arg1
)->PassMessages(arg2
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 Py_INCREF(Py_None
); resultobj
= Py_None
;
9869 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (bool)(arg1
)->IsPassingMessages();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9897 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (wxLog
*)(arg1
)->GetOldLog();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9923 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxLogBuffer
*result
;
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (wxLogBuffer
*)new wxLogBuffer();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
9952 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
9962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
9963 if (SWIG_arg_fail(1)) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
9968 result
= (wxString
*) &_result_ref
;
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9987 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
9996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 Py_INCREF(Py_None
); resultobj
= Py_None
;
10012 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10015 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10017 return Py_BuildValue((char *)"");
10019 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 unsigned long result
;
10022 char *kwnames
[] = {
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (unsigned long)wxSysErrorCode();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10043 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 unsigned long arg1
= (unsigned long) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "nErrCode", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10055 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10056 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= wxSysErrorMsg(arg1
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10079 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxString
*arg1
= 0 ;
10082 bool temp1
= false ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "msg", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10090 arg1
= wxString_in_helper(obj0
);
10091 if (arg1
== NULL
) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 wxPyLogFatalError((wxString
const &)*arg1
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10116 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxString
*arg1
= 0 ;
10119 bool temp1
= false ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "msg", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10127 arg1
= wxString_in_helper(obj0
);
10128 if (arg1
== NULL
) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 wxPyLogError((wxString
const &)*arg1
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10153 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxString
*arg1
= 0 ;
10156 bool temp1
= false ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "msg", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10164 arg1
= wxString_in_helper(obj0
);
10165 if (arg1
== NULL
) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 wxPyLogWarning((wxString
const &)*arg1
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10190 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxString
*arg1
= 0 ;
10193 bool temp1
= false ;
10194 PyObject
* obj0
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "msg", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10201 arg1
= wxString_in_helper(obj0
);
10202 if (arg1
== NULL
) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 wxPyLogMessage((wxString
const &)*arg1
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10227 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxString
*arg1
= 0 ;
10230 bool temp1
= false ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "msg", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10238 arg1
= wxString_in_helper(obj0
);
10239 if (arg1
== NULL
) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 wxPyLogInfo((wxString
const &)*arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxString
*arg1
= 0 ;
10267 bool temp1
= false ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "msg", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10275 arg1
= wxString_in_helper(obj0
);
10276 if (arg1
== NULL
) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 wxPyLogDebug((wxString
const &)*arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxString
*arg1
= 0 ;
10304 bool temp1
= false ;
10305 PyObject
* obj0
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "msg", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10312 arg1
= wxString_in_helper(obj0
);
10313 if (arg1
== NULL
) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 wxPyLogVerbose((wxString
const &)*arg1
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxString
*arg1
= 0 ;
10341 bool temp1
= false ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "msg", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10349 arg1
= wxString_in_helper(obj0
);
10350 if (arg1
== NULL
) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 wxPyLogStatus((wxString
const &)*arg1
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxFrame
*arg1
= (wxFrame
*) 0 ;
10378 wxString
*arg2
= 0 ;
10379 bool temp2
= false ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "pFrame",(char *) "msg", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10388 if (SWIG_arg_fail(1)) SWIG_fail
;
10390 arg2
= wxString_in_helper(obj1
);
10391 if (arg2
== NULL
) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10416 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxString
*arg1
= 0 ;
10419 bool temp1
= false ;
10420 PyObject
* obj0
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "msg", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10427 arg1
= wxString_in_helper(obj0
);
10428 if (arg1
== NULL
) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxPyLogSysError((wxString
const &)*arg1
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 unsigned long arg1
;
10456 wxString
*arg2
= 0 ;
10457 bool temp2
= false ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "level",(char *) "msg", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10466 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10467 if (SWIG_arg_fail(1)) SWIG_fail
;
10470 arg2
= wxString_in_helper(obj1
);
10471 if (arg2
== NULL
) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 Py_INCREF(Py_None
); resultobj
= Py_None
;
10496 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10497 PyObject
*resultobj
;
10498 unsigned long arg1
;
10499 wxString
*arg2
= 0 ;
10500 bool temp2
= false ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10504 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10506 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10507 if (SWIG_arg_fail(1)) SWIG_fail
;
10510 arg2
= wxString_in_helper(obj1
);
10511 if (arg2
== NULL
) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10537 PyObject
*resultobj
;
10538 wxString
*arg1
= 0 ;
10539 wxString
*arg2
= 0 ;
10540 bool temp1
= false ;
10541 bool temp2
= false ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10545 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10547 arg1
= wxString_in_helper(obj0
);
10548 if (arg1
== NULL
) SWIG_fail
;
10552 arg2
= wxString_in_helper(obj1
);
10553 if (arg2
== NULL
) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10586 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10591 argc
= PyObject_Length(args
);
10592 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10593 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10598 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10602 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10605 return _wrap_LogTrace__SWIG_1(self
,args
);
10611 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10614 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10617 return _wrap_LogTrace__SWIG_0(self
,args
);
10622 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10627 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxString
*arg1
= 0 ;
10630 wxString
*arg2
= 0 ;
10631 bool temp1
= false ;
10632 bool temp2
= false ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "title",(char *) "text", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10641 arg1
= wxString_in_helper(obj0
);
10642 if (arg1
== NULL
) SWIG_fail
;
10646 arg2
= wxString_in_helper(obj1
);
10647 if (arg2
== NULL
) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10683 char *kwnames
[] = {
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (wxLogNull
*)new wxLogNull();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10702 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
;
10704 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10712 if (SWIG_arg_fail(1)) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10730 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10732 return Py_BuildValue((char *)"");
10734 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10737 char *kwnames
[] = {
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxPyLog
*)new wxPyLog();
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10756 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10759 PyObject
*arg2
= (PyObject
*) 0 ;
10760 PyObject
*arg3
= (PyObject
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self",(char *) "self",(char *) "_class", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10770 if (SWIG_arg_fail(1)) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10790 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10792 return Py_BuildValue((char *)"");
10794 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10797 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10798 int arg3
= (int) wxKILL_NOCHILDREN
;
10799 wxKillError result
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10809 arg1
= (int)(SWIG_As_int(obj0
));
10810 if (SWIG_arg_fail(1)) SWIG_fail
;
10814 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10815 if (SWIG_arg_fail(2)) SWIG_fail
;
10820 arg3
= (int)(SWIG_As_int(obj2
));
10821 if (SWIG_arg_fail(3)) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_From_int((result
));
10838 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10842 PyObject
* obj0
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "pid", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10849 arg1
= (int)(SWIG_As_int(obj0
));
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)wxPyProcess::Exists(arg1
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10868 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxString
*arg1
= 0 ;
10871 int arg2
= (int) wxEXEC_ASYNC
;
10872 wxPyProcess
*result
;
10873 bool temp1
= false ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "cmd",(char *) "flags", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 arg1
= wxString_in_helper(obj0
);
10883 if (arg1
== NULL
) SWIG_fail
;
10888 arg2
= (int)(SWIG_As_int(obj1
));
10889 if (SWIG_arg_fail(2)) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10914 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10917 int arg2
= (int) -1 ;
10918 wxPyProcess
*result
;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "parent",(char *) "id", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10928 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 arg2
= (int)(SWIG_As_int(obj1
));
10933 if (SWIG_arg_fail(2)) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10950 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10953 PyObject
*arg2
= (PyObject
*) 0 ;
10954 PyObject
*arg3
= (PyObject
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 PyObject
* obj2
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self",(char *) "self",(char *) "_class", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10964 if (SWIG_arg_fail(1)) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 Py_INCREF(Py_None
); resultobj
= Py_None
;
10981 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 PyObject
* obj2
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "pid",(char *) "status", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10995 if (SWIG_arg_fail(1)) SWIG_fail
;
10997 arg2
= (int)(SWIG_As_int(obj1
));
10998 if (SWIG_arg_fail(2)) SWIG_fail
;
11001 arg3
= (int)(SWIG_As_int(obj2
));
11002 if (SWIG_arg_fail(3)) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 (arg1
)->base_OnTerminate(arg2
,arg3
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 Py_INCREF(Py_None
); resultobj
= Py_None
;
11018 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11028 if (SWIG_arg_fail(1)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->Redirect();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 Py_INCREF(Py_None
); resultobj
= Py_None
;
11043 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)(arg1
)->IsRedirected();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11099 wxInputStream
*result
;
11100 PyObject
* obj0
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11107 if (SWIG_arg_fail(1)) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11116 wxPyInputStream
* _ptr
= NULL
;
11119 _ptr
= new wxPyInputStream(result
);
11121 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11129 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11132 wxInputStream
*result
;
11133 PyObject
* obj0
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11140 if (SWIG_arg_fail(1)) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11149 wxPyInputStream
* _ptr
= NULL
;
11152 _ptr
= new wxPyInputStream(result
);
11154 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11162 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11165 wxOutputStream
*result
;
11166 PyObject
* obj0
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11188 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->CloseOutput();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11269 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11300 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11302 return Py_BuildValue((char *)"");
11304 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 int arg1
= (int) 0 ;
11307 int arg2
= (int) 0 ;
11308 int arg3
= (int) 0 ;
11309 wxProcessEvent
*result
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 PyObject
* obj2
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11320 arg1
= (int)(SWIG_As_int(obj0
));
11321 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (int)(SWIG_As_int(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 arg3
= (int)(SWIG_As_int(obj2
));
11333 if (SWIG_arg_fail(3)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11350 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11361 if (SWIG_arg_fail(1)) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (int)(arg1
)->GetPid();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_From_int((int)(result
));
11378 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11389 if (SWIG_arg_fail(1)) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (int)(arg1
)->GetExitCode();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_From_int((int)(result
));
11406 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "m_pid", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11418 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 arg2
= (int)(SWIG_As_int(obj1
));
11421 if (SWIG_arg_fail(2)) SWIG_fail
;
11423 if (arg1
) (arg1
)->m_pid
= arg2
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11443 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 result
= (int) ((arg1
)->m_pid
);
11447 resultobj
= SWIG_From_int((int)(result
));
11455 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "m_exitcode", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 arg2
= (int)(SWIG_As_int(obj1
));
11470 if (SWIG_arg_fail(2)) SWIG_fail
;
11472 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11492 if (SWIG_arg_fail(1)) SWIG_fail
;
11493 result
= (int) ((arg1
)->m_exitcode
);
11496 resultobj
= SWIG_From_int((int)(result
));
11504 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11507 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11509 return Py_BuildValue((char *)"");
11511 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxString
*arg1
= 0 ;
11514 int arg2
= (int) wxEXEC_ASYNC
;
11515 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11517 bool temp1
= false ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "command",(char *) "flags",(char *) "process", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11527 arg1
= wxString_in_helper(obj0
);
11528 if (arg1
== NULL
) SWIG_fail
;
11533 arg2
= (int)(SWIG_As_int(obj1
));
11534 if (SWIG_arg_fail(2)) SWIG_fail
;
11538 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11539 if (SWIG_arg_fail(3)) SWIG_fail
;
11542 if (!wxPyCheckForApp()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_From_long((long)(result
));
11566 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11569 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11570 wxKillError
*arg3
= (wxKillError
*) 0 ;
11571 int arg4
= (int) wxKILL_NOCHILDREN
;
11573 wxKillError temp3
;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 PyObject
* obj2
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11586 arg1
= (long)(SWIG_As_long(obj0
));
11587 if (SWIG_arg_fail(1)) SWIG_fail
;
11591 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11592 if (SWIG_arg_fail(2)) SWIG_fail
;
11597 arg4
= (int)(SWIG_As_int(obj2
));
11598 if (SWIG_arg_fail(4)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_From_int((int)(result
));
11613 o
= PyInt_FromLong((long) (*arg3
));
11614 resultobj
= t_output_helper(resultobj
, o
);
11622 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 int arg1
= (int) wxJOYSTICK1
;
11625 wxJoystick
*result
;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "joystick", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11634 arg1
= (int)(SWIG_As_int(obj0
));
11635 if (SWIG_arg_fail(1)) SWIG_fail
;
11639 if (!wxPyCheckForApp()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxJoystick
*)new wxJoystick(arg1
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11653 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (arg1
)->GetPosition();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 wxPoint
* resultptr
;
11699 resultptr
= new wxPoint((wxPoint
&)(result
));
11700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11708 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11719 if (SWIG_arg_fail(1)) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (int)(arg1
)->GetZPosition();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_From_int((int)(result
));
11736 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11740 PyObject
* obj0
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (int)(arg1
)->GetButtonState();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_int((int)(result
));
11764 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11775 if (SWIG_arg_fail(1)) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (int)(arg1
)->GetPOVPosition();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_From_int((int)(result
));
11792 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (int)(arg1
)->GetPOVCTSPosition();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_int((int)(result
));
11820 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11831 if (SWIG_arg_fail(1)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (int)(arg1
)->GetRudderPosition();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int((int)(result
));
11848 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (int)(arg1
)->GetUPosition();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int((int)(result
));
11876 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)(arg1
)->GetVPosition();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_int((int)(result
));
11904 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (int)(arg1
)->GetMovementThreshold();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int((int)(result
));
11932 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "threshold", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail
;
11946 arg2
= (int)(SWIG_As_int(obj1
));
11947 if (SWIG_arg_fail(2)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 (arg1
)->SetMovementThreshold(arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 Py_INCREF(Py_None
); resultobj
= Py_None
;
11963 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11974 if (SWIG_arg_fail(1)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)(arg1
)->IsOk();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (int)(arg1
)->GetNumberJoysticks();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_From_int((int)(result
));
12019 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (int)(arg1
)->GetManufacturerId();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_From_int((int)(result
));
12047 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12058 if (SWIG_arg_fail(1)) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (int)(arg1
)->GetProductId();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_From_int((int)(result
));
12075 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (arg1
)->GetProductName();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12107 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)(arg1
)->GetXMin();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int((int)(result
));
12135 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (int)(arg1
)->GetYMin();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_From_int((int)(result
));
12163 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (int)(arg1
)->GetZMin();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_From_int((int)(result
));
12191 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (int)(arg1
)->GetXMax();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_From_int((int)(result
));
12219 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (int)(arg1
)->GetYMax();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_int((int)(result
));
12247 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)(arg1
)->GetZMax();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_From_int((int)(result
));
12275 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)(arg1
)->GetNumberButtons();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_From_int((int)(result
));
12303 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (int)(arg1
)->GetNumberAxes();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_From_int((int)(result
));
12331 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12342 if (SWIG_arg_fail(1)) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (int)(arg1
)->GetMaxButtons();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_From_int((int)(result
));
12359 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12370 if (SWIG_arg_fail(1)) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (int)(arg1
)->GetMaxAxes();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_From_int((int)(result
));
12387 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12398 if (SWIG_arg_fail(1)) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (int)(arg1
)->GetPollingMin();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_From_int((int)(result
));
12415 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)(arg1
)->GetPollingMax();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_From_int((int)(result
));
12443 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= (int)(arg1
)->GetRudderMin();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_From_int((int)(result
));
12471 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12482 if (SWIG_arg_fail(1)) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (int)(arg1
)->GetRudderMax();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_From_int((int)(result
));
12499 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12510 if (SWIG_arg_fail(1)) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (int)(arg1
)->GetUMin();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_From_int((int)(result
));
12527 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12538 if (SWIG_arg_fail(1)) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (int)(arg1
)->GetUMax();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_From_int((int)(result
));
12555 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12566 if (SWIG_arg_fail(1)) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (int)(arg1
)->GetVMin();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_From_int((int)(result
));
12583 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (int)(arg1
)->GetVMax();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_From_int((int)(result
));
12611 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->HasRudder();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12639 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (bool)(arg1
)->HasZ();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12667 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (bool)(arg1
)->HasU();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12695 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (bool)(arg1
)->HasV();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (bool)(arg1
)->HasPOV();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12751 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12762 if (SWIG_arg_fail(1)) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (bool)(arg1
)->HasPOV4Dir();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12779 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12790 if (SWIG_arg_fail(1)) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (bool)(arg1
)->HasPOVCTS();
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12807 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12810 wxWindow
*arg2
= (wxWindow
*) 0 ;
12811 int arg3
= (int) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12822 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12824 if (SWIG_arg_fail(2)) SWIG_fail
;
12827 arg3
= (int)(SWIG_As_int(obj2
));
12828 if (SWIG_arg_fail(3)) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (bool)(arg1
)->ReleaseCapture();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12875 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12878 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12880 return Py_BuildValue((char *)"");
12882 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12885 int arg2
= (int) 0 ;
12886 int arg3
= (int) wxJOYSTICK1
;
12887 int arg4
= (int) 0 ;
12888 wxJoystickEvent
*result
;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 PyObject
* obj2
= 0 ;
12892 PyObject
* obj3
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12900 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12901 if (SWIG_arg_fail(1)) SWIG_fail
;
12906 arg2
= (int)(SWIG_As_int(obj1
));
12907 if (SWIG_arg_fail(2)) SWIG_fail
;
12912 arg3
= (int)(SWIG_As_int(obj2
));
12913 if (SWIG_arg_fail(3)) SWIG_fail
;
12918 arg4
= (int)(SWIG_As_int(obj3
));
12919 if (SWIG_arg_fail(4)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12936 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12947 if (SWIG_arg_fail(1)) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 wxPoint
* resultptr
;
12957 resultptr
= new wxPoint((wxPoint
&)(result
));
12958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12966 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_int((int)(result
));
12994 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int((int)(result
));
13022 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_From_int((int)(result
));
13050 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_From_int((int)(result
));
13078 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "stick", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13090 if (SWIG_arg_fail(1)) SWIG_fail
;
13092 arg2
= (int)(SWIG_As_int(obj1
));
13093 if (SWIG_arg_fail(2)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->SetJoystick(arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self",(char *) "state", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13121 if (SWIG_arg_fail(1)) SWIG_fail
;
13123 arg2
= (int)(SWIG_As_int(obj1
));
13124 if (SWIG_arg_fail(2)) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetButtonState(arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "change", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 arg2
= (int)(SWIG_As_int(obj1
));
13155 if (SWIG_arg_fail(2)) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->SetButtonChange(arg2
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13174 wxPoint
*arg2
= 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "pos", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "zPos", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13217 arg2
= (int)(SWIG_As_int(obj1
));
13218 if (SWIG_arg_fail(2)) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->SetZPosition(arg2
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13238 PyObject
* obj0
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13245 if (SWIG_arg_fail(1)) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13262 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13273 if (SWIG_arg_fail(1)) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13290 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13294 PyObject
* obj0
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13318 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13321 int arg2
= (int) wxJOY_BUTTON_ANY
;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self",(char *) "but", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13331 if (SWIG_arg_fail(1)) SWIG_fail
;
13334 arg2
= (int)(SWIG_As_int(obj1
));
13335 if (SWIG_arg_fail(2)) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13357 int arg2
= (int) wxJOY_BUTTON_ANY
;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "but", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13367 if (SWIG_arg_fail(1)) SWIG_fail
;
13370 arg2
= (int)(SWIG_As_int(obj1
));
13371 if (SWIG_arg_fail(2)) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13393 int arg2
= (int) wxJOY_BUTTON_ANY
;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "but", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13406 arg2
= (int)(SWIG_As_int(obj1
));
13407 if (SWIG_arg_fail(2)) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13429 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13431 return Py_BuildValue((char *)"");
13433 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13436 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13438 bool temp1
= false ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "fileName", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13447 arg1
= wxString_in_helper(obj0
);
13448 if (arg1
== NULL
) SWIG_fail
;
13453 if (!wxPyCheckForApp()) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13475 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 PyObject
*arg1
= (PyObject
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "data", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13487 if (!wxPyCheckForApp()) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (wxSound
*)new_wxSound(arg1
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13501 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxSound
*arg1
= (wxSound
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxSound
*arg1
= (wxSound
*) 0 ;
13529 wxString
*arg2
= 0 ;
13531 bool temp2
= false ;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "fileName", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 arg2
= wxString_in_helper(obj1
);
13543 if (arg2
== NULL
) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13570 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxSound
*arg1
= (wxSound
*) 0 ;
13573 PyObject
*arg2
= (PyObject
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self",(char *) "data", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13583 if (SWIG_arg_fail(1)) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxSound
*arg1
= (wxSound
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13612 if (SWIG_arg_fail(1)) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)(arg1
)->IsOk();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13629 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxSound
*arg1
= (wxSound
*) 0 ;
13632 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "flags", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail
;
13645 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13646 if (SWIG_arg_fail(2)) SWIG_fail
;
13650 if (!wxPyCheckForApp()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13666 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxString
*arg1
= 0 ;
13669 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13671 bool temp1
= false ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "filename",(char *) "flags", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 arg1
= wxString_in_helper(obj0
);
13681 if (arg1
== NULL
) SWIG_fail
;
13686 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13687 if (SWIG_arg_fail(2)) SWIG_fail
;
13691 if (!wxPyCheckForApp()) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13723 if (!wxPyCheckForApp()) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13737 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13740 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13742 return Py_BuildValue((char *)"");
13744 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxString
*arg1
= 0 ;
13747 wxString
*arg2
= 0 ;
13748 wxString
*arg3
= 0 ;
13749 wxString
*arg4
= 0 ;
13750 wxFileTypeInfo
*result
;
13751 bool temp1
= false ;
13752 bool temp2
= false ;
13753 bool temp3
= false ;
13754 bool temp4
= false ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 PyObject
* obj3
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13765 arg1
= wxString_in_helper(obj0
);
13766 if (arg1
== NULL
) SWIG_fail
;
13770 arg2
= wxString_in_helper(obj1
);
13771 if (arg2
== NULL
) SWIG_fail
;
13775 arg3
= wxString_in_helper(obj2
);
13776 if (arg3
== NULL
) SWIG_fail
;
13780 arg4
= wxString_in_helper(obj3
);
13781 if (arg4
== NULL
) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13830 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxArrayString
*arg1
= 0 ;
13833 wxFileTypeInfo
*result
;
13834 bool temp1
= false ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "sArray", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13842 if (! PySequence_Check(obj0
)) {
13843 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13846 arg1
= new wxArrayString
;
13848 int i
, len
=PySequence_Length(obj0
);
13849 for (i
=0; i
<len
; i
++) {
13850 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13851 wxString
* s
= wxString_in_helper(item
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13867 if (temp1
) delete arg1
;
13872 if (temp1
) delete arg1
;
13878 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxFileTypeInfo
*result
;
13881 char *kwnames
[] = {
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13900 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13911 if (SWIG_arg_fail(1)) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13931 wxString
*arg2
= 0 ;
13932 int arg3
= (int) 0 ;
13933 bool temp2
= false ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 PyObject
* obj2
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail
;
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13951 arg3
= (int)(SWIG_As_int(obj2
));
13952 if (SWIG_arg_fail(3)) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 Py_INCREF(Py_None
); resultobj
= Py_None
;
13977 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13980 wxString
*arg2
= 0 ;
13981 bool temp2
= false ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "shortDesc", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13990 if (SWIG_arg_fail(1)) SWIG_fail
;
13992 arg2
= wxString_in_helper(obj1
);
13993 if (arg2
== NULL
) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 Py_INCREF(Py_None
); resultobj
= Py_None
;
14018 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14034 result
= (wxString
*) &_result_ref
;
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14044 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14053 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14069 result
= (wxString
*) &_result_ref
;
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14079 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14088 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14104 result
= (wxString
*) &_result_ref
;
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14114 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14123 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14139 result
= (wxString
*) &_result_ref
;
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14158 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14174 result
= (wxString
*) &_result_ref
;
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14184 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14193 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14196 wxArrayString
*result
;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14204 if (SWIG_arg_fail(1)) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14209 result
= (wxArrayString
*) &_result_ref
;
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= wxArrayString2PyList_helper(*result
);
14224 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_From_int((int)(result
));
14252 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14268 result
= (wxString
*) &_result_ref
;
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14278 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14287 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_int((int)(result
));
14315 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14318 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14320 return Py_BuildValue((char *)"");
14322 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxFileTypeInfo
*arg1
= 0 ;
14325 wxFileType
*result
;
14326 PyObject
* obj0
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "ftInfo", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail
;
14335 if (arg1
== NULL
) {
14336 SWIG_null_ref("wxFileTypeInfo");
14338 if (SWIG_arg_fail(1)) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14354 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxFileType
*arg1
= (wxFileType
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxFileType
*arg1
= (wxFileType
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
;
14405 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxFileType
*arg1
= (wxFileType
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
;
14431 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFileType
*arg1
= (wxFileType
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
;
14457 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxFileType
*arg1
= (wxFileType
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14483 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxFileType
*arg1
= (wxFileType
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= result
;
14509 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxFileType
*arg1
= (wxFileType
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
;
14535 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxFileType
*arg1
= (wxFileType
*) 0 ;
14538 wxString
*arg2
= 0 ;
14539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14542 bool temp2
= false ;
14543 bool temp3
= false ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 PyObject
* obj2
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14555 arg2
= wxString_in_helper(obj1
);
14556 if (arg2
== NULL
) SWIG_fail
;
14561 arg3
= wxString_in_helper(obj2
);
14562 if (arg3
== NULL
) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
;
14596 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxFileType
*arg1
= (wxFileType
*) 0 ;
14599 wxString
*arg2
= 0 ;
14600 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14603 bool temp2
= false ;
14604 bool temp3
= false ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14616 arg2
= wxString_in_helper(obj1
);
14617 if (arg2
== NULL
) SWIG_fail
;
14622 arg3
= wxString_in_helper(obj2
);
14623 if (arg3
== NULL
) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
;
14657 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxFileType
*arg1
= (wxFileType
*) 0 ;
14660 wxString
*arg2
= 0 ;
14661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14664 bool temp2
= false ;
14665 bool temp3
= false ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 PyObject
* obj2
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail
;
14677 arg2
= wxString_in_helper(obj1
);
14678 if (arg2
== NULL
) SWIG_fail
;
14683 arg3
= wxString_in_helper(obj2
);
14684 if (arg3
== NULL
) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
;
14718 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxFileType
*arg1
= (wxFileType
*) 0 ;
14721 wxString
*arg2
= 0 ;
14722 wxString
*arg3
= 0 ;
14723 bool arg4
= (bool) true ;
14725 bool temp2
= false ;
14726 bool temp3
= false ;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj1
= 0 ;
14729 PyObject
* obj2
= 0 ;
14730 PyObject
* obj3
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 arg2
= wxString_in_helper(obj1
);
14740 if (arg2
== NULL
) SWIG_fail
;
14744 arg3
= wxString_in_helper(obj2
);
14745 if (arg3
== NULL
) SWIG_fail
;
14750 arg4
= (bool)(SWIG_As_bool(obj3
));
14751 if (SWIG_arg_fail(4)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxFileType
*arg1
= (wxFileType
*) 0 ;
14789 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14790 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14791 int arg3
= (int) 0 ;
14793 bool temp2
= false ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 PyObject
* obj2
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "cmd",(char *) "index", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 arg2
= wxString_in_helper(obj1
);
14807 if (arg2
== NULL
) SWIG_fail
;
14813 arg3
= (int)(SWIG_As_int(obj2
));
14814 if (SWIG_arg_fail(3)) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14841 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxFileType
*arg1
= (wxFileType
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)(arg1
)->Unassociate();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14869 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxString
*arg1
= 0 ;
14872 wxString
*arg2
= 0 ;
14873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14876 bool temp1
= false ;
14877 bool temp2
= false ;
14878 bool temp3
= false ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 PyObject
* obj2
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14888 arg1
= wxString_in_helper(obj0
);
14889 if (arg1
== NULL
) SWIG_fail
;
14893 arg2
= wxString_in_helper(obj1
);
14894 if (arg2
== NULL
) SWIG_fail
;
14899 arg3
= wxString_in_helper(obj2
);
14900 if (arg3
== NULL
) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14948 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14951 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14953 return Py_BuildValue((char *)"");
14955 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14956 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14961 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14964 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14969 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxString
*arg1
= 0 ;
14972 wxString
*arg2
= 0 ;
14974 bool temp1
= false ;
14975 bool temp2
= false ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "mimeType",(char *) "wildcard", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14984 arg1
= wxString_in_helper(obj0
);
14985 if (arg1
== NULL
) SWIG_fail
;
14989 arg2
= wxString_in_helper(obj1
);
14990 if (arg2
== NULL
) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMimeTypesManager
*result
;
15028 char *kwnames
[] = {
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15047 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15050 int arg2
= (int) wxMAILCAP_ALL
;
15051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15053 bool temp3
= false ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 PyObject
* obj2
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 arg2
= (int)(SWIG_As_int(obj1
));
15067 if (SWIG_arg_fail(2)) SWIG_fail
;
15072 arg3
= wxString_in_helper(obj2
);
15073 if (arg3
== NULL
) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(1)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->ClearData();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15127 wxString
*arg2
= 0 ;
15128 wxFileType
*result
;
15129 bool temp2
= false ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self",(char *) "ext", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15138 if (SWIG_arg_fail(1)) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15166 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15169 wxString
*arg2
= 0 ;
15170 wxFileType
*result
;
15171 bool temp2
= false ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "mimeType", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15182 arg2
= wxString_in_helper(obj1
);
15183 if (arg2
== NULL
) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15208 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15211 wxString
*arg2
= 0 ;
15212 bool arg3
= (bool) false ;
15214 bool temp2
= false ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 PyObject
* obj2
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15224 if (SWIG_arg_fail(1)) SWIG_fail
;
15226 arg2
= wxString_in_helper(obj1
);
15227 if (arg2
== NULL
) SWIG_fail
;
15232 arg3
= (bool)(SWIG_As_bool(obj2
));
15233 if (SWIG_arg_fail(3)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15260 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15263 wxString
*arg2
= 0 ;
15265 bool temp2
= false ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "filename", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 arg2
= wxString_in_helper(obj1
);
15277 if (arg2
== NULL
) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
;
15330 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15333 wxFileTypeInfo
*arg2
= 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "ft", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15342 if (SWIG_arg_fail(1)) SWIG_fail
;
15344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(2)) SWIG_fail
;
15346 if (arg2
== NULL
) {
15347 SWIG_null_ref("wxFileTypeInfo");
15349 if (SWIG_arg_fail(2)) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 Py_INCREF(Py_None
); resultobj
= Py_None
;
15365 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15368 wxFileTypeInfo
*arg2
= 0 ;
15369 wxFileType
*result
;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "ftInfo", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15378 if (SWIG_arg_fail(1)) SWIG_fail
;
15380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(2)) SWIG_fail
;
15382 if (arg2
== NULL
) {
15383 SWIG_null_ref("wxFileTypeInfo");
15385 if (SWIG_arg_fail(2)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15401 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15404 wxFileType
*arg2
= (wxFileType
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "ft", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15414 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15416 if (SWIG_arg_fail(2)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->Unassociate(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15463 return Py_BuildValue((char *)"");
15465 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15466 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15471 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15476 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15478 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15485 static int _wrap_ART_MENU_set(PyObject
*) {
15486 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15491 static PyObject
*_wrap_ART_MENU_get(void) {
15496 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15498 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15505 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15506 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15511 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15516 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15518 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15525 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15526 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15531 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15536 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15538 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15545 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15546 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15551 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15556 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15558 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15565 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15566 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15571 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15576 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15578 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15585 static int _wrap_ART_BUTTON_set(PyObject
*) {
15586 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15591 static PyObject
*_wrap_ART_BUTTON_get(void) {
15596 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15598 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15605 static int _wrap_ART_OTHER_set(PyObject
*) {
15606 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15611 static PyObject
*_wrap_ART_OTHER_get(void) {
15616 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15618 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15625 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15626 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15631 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15636 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15638 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15645 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15646 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15651 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15656 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15658 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15665 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15666 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15671 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15676 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15678 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15685 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15686 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15691 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15696 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15698 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15705 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15706 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15711 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15716 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15718 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15725 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15726 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15731 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15736 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15738 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15745 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15746 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15751 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15756 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15758 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15765 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15766 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15771 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15776 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15778 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15785 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15786 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15791 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15796 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15798 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15805 static int _wrap_ART_GO_UP_set(PyObject
*) {
15806 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15811 static PyObject
*_wrap_ART_GO_UP_get(void) {
15816 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15818 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15825 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15826 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15831 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15836 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15838 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15845 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15846 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15851 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15856 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15858 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15865 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15866 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15871 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15876 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15878 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15885 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15886 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15891 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15896 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15898 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15905 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15906 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15911 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15916 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15918 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15925 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15926 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15931 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15936 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15938 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15945 static int _wrap_ART_PRINT_set(PyObject
*) {
15946 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15951 static PyObject
*_wrap_ART_PRINT_get(void) {
15956 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15958 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15965 static int _wrap_ART_HELP_set(PyObject
*) {
15966 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15971 static PyObject
*_wrap_ART_HELP_get(void) {
15976 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15978 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15985 static int _wrap_ART_TIP_set(PyObject
*) {
15986 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15991 static PyObject
*_wrap_ART_TIP_get(void) {
15996 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15998 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16005 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16006 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16011 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16016 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16018 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16025 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16026 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16031 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16036 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16038 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16045 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16046 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16051 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16056 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16058 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16065 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16066 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16071 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16076 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16078 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16085 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16086 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16091 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16096 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16098 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16105 static int _wrap_ART_CDROM_set(PyObject
*) {
16106 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16111 static PyObject
*_wrap_ART_CDROM_get(void) {
16116 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16118 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16125 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16126 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16131 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16136 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16138 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16145 static int _wrap_ART_FOLDER_set(PyObject
*) {
16146 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16151 static PyObject
*_wrap_ART_FOLDER_get(void) {
16156 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16158 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16165 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16166 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16171 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16176 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16178 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16185 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16186 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16191 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16196 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16198 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16205 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16206 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16211 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16216 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16218 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16225 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16226 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16231 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16236 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16238 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16245 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16246 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16251 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16256 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16258 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16265 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16266 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16271 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16276 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16278 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16285 static int _wrap_ART_ERROR_set(PyObject
*) {
16286 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16291 static PyObject
*_wrap_ART_ERROR_get(void) {
16296 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16298 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16305 static int _wrap_ART_QUESTION_set(PyObject
*) {
16306 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16311 static PyObject
*_wrap_ART_QUESTION_get(void) {
16316 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16318 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16325 static int _wrap_ART_WARNING_set(PyObject
*) {
16326 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16331 static PyObject
*_wrap_ART_WARNING_get(void) {
16336 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16338 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16345 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16346 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16351 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16356 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16358 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16365 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16366 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16371 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16376 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16378 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16385 static int _wrap_ART_COPY_set(PyObject
*) {
16386 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16391 static PyObject
*_wrap_ART_COPY_get(void) {
16396 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16398 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16405 static int _wrap_ART_CUT_set(PyObject
*) {
16406 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16411 static PyObject
*_wrap_ART_CUT_get(void) {
16416 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16418 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16425 static int _wrap_ART_PASTE_set(PyObject
*) {
16426 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16431 static PyObject
*_wrap_ART_PASTE_get(void) {
16436 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16438 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16445 static int _wrap_ART_DELETE_set(PyObject
*) {
16446 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16451 static PyObject
*_wrap_ART_DELETE_get(void) {
16456 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16458 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16465 static int _wrap_ART_NEW_set(PyObject
*) {
16466 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
16471 static PyObject
*_wrap_ART_NEW_get(void) {
16476 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16478 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16485 static int _wrap_ART_UNDO_set(PyObject
*) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16491 static PyObject
*_wrap_ART_UNDO_get(void) {
16496 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16498 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16505 static int _wrap_ART_REDO_set(PyObject
*) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16511 static PyObject
*_wrap_ART_REDO_get(void) {
16516 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16518 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16525 static int _wrap_ART_QUIT_set(PyObject
*) {
16526 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16531 static PyObject
*_wrap_ART_QUIT_get(void) {
16536 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16538 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16545 static int _wrap_ART_FIND_set(PyObject
*) {
16546 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16551 static PyObject
*_wrap_ART_FIND_get(void) {
16556 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16558 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16565 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16566 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16571 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16576 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16578 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16585 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxPyArtProvider
*result
;
16588 char *kwnames
[] = {
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16594 if (!wxPyCheckForApp()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16608 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16611 PyObject
*arg2
= (PyObject
*) 0 ;
16612 PyObject
*arg3
= (PyObject
*) 0 ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "self",(char *) "_class", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 Py_INCREF(Py_None
); resultobj
= Py_None
;
16639 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "provider", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 wxPyArtProvider::PushProvider(arg1
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 Py_INCREF(Py_None
); resultobj
= Py_None
;
16664 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16667 char *kwnames
[] = {
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (bool)wxPyArtProvider::PopProvider();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16688 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "provider", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16699 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16716 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxString
*arg1
= 0 ;
16719 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16720 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16721 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16722 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16724 bool temp1
= false ;
16725 bool temp2
= false ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "id",(char *) "client",(char *) "size", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16736 arg1
= wxString_in_helper(obj0
);
16737 if (arg1
== NULL
) SWIG_fail
;
16742 arg2
= wxString_in_helper(obj1
);
16743 if (arg2
== NULL
) SWIG_fail
;
16750 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16754 if (!wxPyCheckForApp()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 wxBitmap
* resultptr
;
16763 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16788 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxString
*arg1
= 0 ;
16791 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16792 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16793 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16794 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16796 bool temp1
= false ;
16797 bool temp2
= false ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "id",(char *) "client",(char *) "size", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16808 arg1
= wxString_in_helper(obj0
);
16809 if (arg1
== NULL
) SWIG_fail
;
16814 arg2
= wxString_in_helper(obj1
);
16815 if (arg2
== NULL
) SWIG_fail
;
16822 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16826 if (!wxPyCheckForApp()) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 wxIcon
* resultptr
;
16835 resultptr
= new wxIcon((wxIcon
&)(result
));
16836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16860 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxString
*arg1
= 0 ;
16863 bool arg2
= (bool) false ;
16865 bool temp1
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "client",(char *) "platform_dependent", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 arg1
= wxString_in_helper(obj0
);
16875 if (arg1
== NULL
) SWIG_fail
;
16880 arg2
= (bool)(SWIG_As_bool(obj1
));
16881 if (SWIG_arg_fail(2)) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 wxSize
* resultptr
;
16893 resultptr
= new wxSize((wxSize
&)(result
));
16894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16910 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 wxPyArtProvider_Destroy(arg1
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16938 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16940 return Py_BuildValue((char *)"");
16942 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16970 wxConfigBase
*result
;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "config", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16978 if (SWIG_arg_fail(1)) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16993 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 bool arg1
= (bool) true ;
16996 wxConfigBase
*result
;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "createOnDemand", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17005 arg1
= (bool)(SWIG_As_bool(obj0
));
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17023 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxConfigBase
*result
;
17026 char *kwnames
[] = {
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxConfigBase
*)wxConfigBase::Create();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17045 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 char *kwnames
[] = {
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 wxConfigBase::DontCreateOnDemand();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17066 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17069 wxString
*arg2
= 0 ;
17070 bool temp2
= false ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "path", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail
;
17081 arg2
= wxString_in_helper(obj1
);
17082 if (arg2
== NULL
) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->SetPath((wxString
const &)*arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17123 result
= (wxString
*) &_result_ref
;
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17142 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17153 if (SWIG_arg_fail(1)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= result
;
17168 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "index", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17181 if (SWIG_arg_fail(1)) SWIG_fail
;
17183 arg2
= (long)(SWIG_As_long(obj1
));
17184 if (SWIG_arg_fail(2)) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= result
;
17200 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= result
;
17226 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self",(char *) "index", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17239 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 arg2
= (long)(SWIG_As_long(obj1
));
17242 if (SWIG_arg_fail(2)) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= result
;
17258 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17261 bool arg2
= (bool) false ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "recursive", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17271 if (SWIG_arg_fail(1)) SWIG_fail
;
17274 arg2
= (bool)(SWIG_As_bool(obj1
));
17275 if (SWIG_arg_fail(2)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17294 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17297 bool arg2
= (bool) false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "recursive", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17310 arg2
= (bool)(SWIG_As_bool(obj1
));
17311 if (SWIG_arg_fail(2)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17330 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17333 wxString
*arg2
= 0 ;
17335 bool temp2
= false ;
17336 PyObject
* obj0
= 0 ;
17337 PyObject
* obj1
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self",(char *) "name", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17344 if (SWIG_arg_fail(1)) SWIG_fail
;
17346 arg2
= wxString_in_helper(obj1
);
17347 if (arg2
== NULL
) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17374 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17377 wxString
*arg2
= 0 ;
17379 bool temp2
= false ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "name", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail
;
17390 arg2
= wxString_in_helper(obj1
);
17391 if (arg2
== NULL
) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17421 wxString
*arg2
= 0 ;
17423 bool temp2
= false ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self",(char *) "name", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17432 if (SWIG_arg_fail(1)) SWIG_fail
;
17434 arg2
= wxString_in_helper(obj1
);
17435 if (arg2
== NULL
) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17462 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17465 wxString
*arg2
= 0 ;
17466 wxConfigBase::EntryType result
;
17467 bool temp2
= false ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "name", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 arg2
= wxString_in_helper(obj1
);
17479 if (arg2
== NULL
) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_From_int((result
));
17504 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17507 wxString
*arg2
= 0 ;
17508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17511 bool temp2
= false ;
17512 bool temp3
= false ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17522 if (SWIG_arg_fail(1)) SWIG_fail
;
17524 arg2
= wxString_in_helper(obj1
);
17525 if (arg2
== NULL
) SWIG_fail
;
17530 arg3
= wxString_in_helper(obj2
);
17531 if (arg3
== NULL
) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17571 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17574 wxString
*arg2
= 0 ;
17575 long arg3
= (long) 0 ;
17577 bool temp2
= false ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail
;
17589 arg2
= wxString_in_helper(obj1
);
17590 if (arg2
== NULL
) SWIG_fail
;
17595 arg3
= (long)(SWIG_As_long(obj2
));
17596 if (SWIG_arg_fail(3)) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_From_long((long)(result
));
17623 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17626 wxString
*arg2
= 0 ;
17627 double arg3
= (double) 0.0 ;
17629 bool temp2
= false ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 arg2
= wxString_in_helper(obj1
);
17642 if (arg2
== NULL
) SWIG_fail
;
17647 arg3
= (double)(SWIG_As_double(obj2
));
17648 if (SWIG_arg_fail(3)) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_From_double((double)(result
));
17675 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17678 wxString
*arg2
= 0 ;
17679 bool arg3
= (bool) false ;
17681 bool temp2
= false ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail
;
17693 arg2
= wxString_in_helper(obj1
);
17694 if (arg2
== NULL
) SWIG_fail
;
17699 arg3
= (bool)(SWIG_As_bool(obj2
));
17700 if (SWIG_arg_fail(3)) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17727 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17730 wxString
*arg2
= 0 ;
17731 wxString
*arg3
= 0 ;
17733 bool temp2
= false ;
17734 bool temp3
= false ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 PyObject
* obj2
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "key",(char *) "value", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 arg2
= wxString_in_helper(obj1
);
17747 if (arg2
== NULL
) SWIG_fail
;
17751 arg3
= wxString_in_helper(obj2
);
17752 if (arg3
== NULL
) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17790 wxString
*arg2
= 0 ;
17793 bool temp2
= false ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "key",(char *) "value", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17803 if (SWIG_arg_fail(1)) SWIG_fail
;
17805 arg2
= wxString_in_helper(obj1
);
17806 if (arg2
== NULL
) SWIG_fail
;
17810 arg3
= (long)(SWIG_As_long(obj2
));
17811 if (SWIG_arg_fail(3)) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17840 wxString
*arg2
= 0 ;
17843 bool temp2
= false ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "key",(char *) "value", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 arg2
= wxString_in_helper(obj1
);
17856 if (arg2
== NULL
) SWIG_fail
;
17860 arg3
= (double)(SWIG_As_double(obj2
));
17861 if (SWIG_arg_fail(3)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17887 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17890 wxString
*arg2
= 0 ;
17893 bool temp2
= false ;
17894 PyObject
* obj0
= 0 ;
17895 PyObject
* obj1
= 0 ;
17896 PyObject
* obj2
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "key",(char *) "value", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 arg2
= wxString_in_helper(obj1
);
17906 if (arg2
== NULL
) SWIG_fail
;
17910 arg3
= (bool)(SWIG_As_bool(obj2
));
17911 if (SWIG_arg_fail(3)) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17937 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17940 bool arg2
= (bool) false ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "currentOnly", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 arg2
= (bool)(SWIG_As_bool(obj1
));
17954 if (SWIG_arg_fail(2)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (bool)(arg1
)->Flush(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17976 wxString
*arg2
= 0 ;
17977 wxString
*arg3
= 0 ;
17979 bool temp2
= false ;
17980 bool temp3
= false ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 PyObject
* obj2
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 arg2
= wxString_in_helper(obj1
);
17993 if (arg2
== NULL
) SWIG_fail
;
17997 arg3
= wxString_in_helper(obj2
);
17998 if (arg3
== NULL
) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18036 wxString
*arg2
= 0 ;
18037 wxString
*arg3
= 0 ;
18039 bool temp2
= false ;
18040 bool temp3
= false ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18050 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 arg2
= wxString_in_helper(obj1
);
18053 if (arg2
== NULL
) SWIG_fail
;
18057 arg3
= wxString_in_helper(obj2
);
18058 if (arg3
== NULL
) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18096 wxString
*arg2
= 0 ;
18097 bool arg3
= (bool) true ;
18099 bool temp2
= false ;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 PyObject
* obj2
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18109 if (SWIG_arg_fail(1)) SWIG_fail
;
18111 arg2
= wxString_in_helper(obj1
);
18112 if (arg2
== NULL
) SWIG_fail
;
18117 arg3
= (bool)(SWIG_As_bool(obj2
));
18118 if (SWIG_arg_fail(3)) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18148 wxString
*arg2
= 0 ;
18150 bool temp2
= false ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "key", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18159 if (SWIG_arg_fail(1)) SWIG_fail
;
18161 arg2
= wxString_in_helper(obj1
);
18162 if (arg2
== NULL
) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18189 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)(arg1
)->DeleteAll();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18220 bool arg2
= (bool) true ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "doIt", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 arg2
= (bool)(SWIG_As_bool(obj1
));
18233 if (SWIG_arg_fail(2)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->SetExpandEnvVars(arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18278 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18281 bool arg2
= (bool) true ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self",(char *) "doIt", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 arg2
= (bool)(SWIG_As_bool(obj1
));
18294 if (SWIG_arg_fail(2)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetRecordDefaults(arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18339 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18342 wxString
*arg2
= 0 ;
18344 bool temp2
= false ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "str", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18355 arg2
= wxString_in_helper(obj1
);
18356 if (arg2
== NULL
) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18387 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18419 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18451 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18454 wxString
*arg2
= 0 ;
18455 bool temp2
= false ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "appName", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 arg2
= wxString_in_helper(obj1
);
18467 if (arg2
== NULL
) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetAppName((wxString
const &)*arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18495 wxString
*arg2
= 0 ;
18496 bool temp2
= false ;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self",(char *) "vendorName", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18505 if (SWIG_arg_fail(1)) SWIG_fail
;
18507 arg2
= wxString_in_helper(obj1
);
18508 if (arg2
== NULL
) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18533 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "style", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18545 if (SWIG_arg_fail(1)) SWIG_fail
;
18547 arg2
= (long)(SWIG_As_long(obj1
));
18548 if (SWIG_arg_fail(2)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 (arg1
)->SetStyle(arg2
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 Py_INCREF(Py_None
); resultobj
= Py_None
;
18564 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18575 if (SWIG_arg_fail(1)) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= SWIG_From_long((long)(result
));
18592 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18595 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18597 return Py_BuildValue((char *)"");
18599 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18602 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18603 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18604 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18605 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18607 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18608 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18609 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18611 bool temp1
= false ;
18612 bool temp2
= false ;
18613 bool temp3
= false ;
18614 bool temp4
= false ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 PyObject
* obj3
= 0 ;
18619 PyObject
* obj4
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18627 arg1
= wxString_in_helper(obj0
);
18628 if (arg1
== NULL
) SWIG_fail
;
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18641 arg3
= wxString_in_helper(obj2
);
18642 if (arg3
== NULL
) SWIG_fail
;
18648 arg4
= wxString_in_helper(obj3
);
18649 if (arg4
== NULL
) SWIG_fail
;
18655 arg5
= (long)(SWIG_As_long(obj4
));
18656 if (SWIG_arg_fail(5)) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18705 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxConfig
*arg1
= (wxConfig
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18730 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18733 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18735 return Py_BuildValue((char *)"");
18737 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18740 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18741 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18742 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18747 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18748 wxFileConfig
*result
;
18749 bool temp1
= false ;
18750 bool temp2
= false ;
18751 bool temp3
= false ;
18752 bool temp4
= false ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 PyObject
* obj2
= 0 ;
18756 PyObject
* obj3
= 0 ;
18757 PyObject
* obj4
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18765 arg1
= wxString_in_helper(obj0
);
18766 if (arg1
== NULL
) SWIG_fail
;
18772 arg2
= wxString_in_helper(obj1
);
18773 if (arg2
== NULL
) SWIG_fail
;
18779 arg3
= wxString_in_helper(obj2
);
18780 if (arg3
== NULL
) SWIG_fail
;
18786 arg4
= wxString_in_helper(obj3
);
18787 if (arg4
== NULL
) SWIG_fail
;
18793 arg5
= (long)(SWIG_As_long(obj4
));
18794 if (SWIG_arg_fail(5)) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18843 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 Py_INCREF(Py_None
); resultobj
= Py_None
;
18868 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18871 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18873 return Py_BuildValue((char *)"");
18875 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18878 wxString
*arg2
= 0 ;
18879 wxConfigPathChanger
*result
;
18880 bool temp2
= false ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "config",(char *) "entry", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18889 if (SWIG_arg_fail(1)) SWIG_fail
;
18891 arg2
= wxString_in_helper(obj1
);
18892 if (arg2
== NULL
) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18917 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 Py_INCREF(Py_None
); resultobj
= Py_None
;
18942 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18953 if (SWIG_arg_fail(1)) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18958 result
= (wxString
*) &_result_ref
;
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18968 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18977 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18980 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18982 return Py_BuildValue((char *)"");
18984 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxString
*arg1
= 0 ;
18988 bool temp1
= false ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "sz", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18996 arg1
= wxString_in_helper(obj0
);
18997 if (arg1
== NULL
) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19028 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19029 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19034 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19039 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19041 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19048 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19049 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19054 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19059 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19061 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19068 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxDateTime::Country arg1
;
19071 PyObject
* obj0
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "country", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19078 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxDateTime::Country result
;
19098 char *kwnames
[] = {
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_From_int((result
));
19117 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "country", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19129 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19130 if (SWIG_arg_fail(1)) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19149 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "cal", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19161 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= SWIG_From_int((int)(result
));
19181 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19185 PyObject
* obj0
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "year", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19192 arg1
= (int)(SWIG_As_int(obj0
));
19193 if (SWIG_arg_fail(1)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= SWIG_From_int((int)(result
));
19211 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19214 wxDateTime::Month result
;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "cal", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19223 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_From_int((result
));
19241 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 int arg1
= (int) wxDateTime::Inv_Year
;
19244 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "year",(char *) "cal", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 arg1
= (int)(SWIG_As_int(obj0
));
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19261 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19262 if (SWIG_arg_fail(2)) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19281 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 int arg1
= (int) wxDateTime::Inv_Year
;
19285 PyObject
* obj0
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "year", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19293 arg1
= (int)(SWIG_As_int(obj0
));
19294 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (int)wxDateTime::GetCentury(arg1
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_From_int((int)(result
));
19313 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19316 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "year",(char *) "cal", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19326 arg1
= (int)(SWIG_As_int(obj0
));
19327 if (SWIG_arg_fail(1)) SWIG_fail
;
19331 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19332 if (SWIG_arg_fail(2)) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_From_int((int)(result
));
19351 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxDateTime::Month arg1
;
19354 int arg2
= (int) wxDateTime::Inv_Year
;
19355 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "month",(char *) "year",(char *) "cal", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19366 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19367 if (SWIG_arg_fail(1)) SWIG_fail
;
19371 arg2
= (int)(SWIG_As_int(obj1
));
19372 if (SWIG_arg_fail(2)) SWIG_fail
;
19377 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19378 if (SWIG_arg_fail(3)) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_From_int((int)(result
));
19397 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxDateTime::Month arg1
;
19400 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "month",(char *) "flags", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19410 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19411 if (SWIG_arg_fail(1)) SWIG_fail
;
19415 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19416 if (SWIG_arg_fail(2)) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19439 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxDateTime::WeekDay arg1
;
19442 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "weekday",(char *) "flags", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19453 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19458 if (SWIG_arg_fail(2)) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19481 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19484 char *kwnames
[] = {
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (PyObject
*)DateTime_GetAmPmStrings();
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
;
19503 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 int arg1
= (int) wxDateTime::Inv_Year
;
19506 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "year",(char *) "country", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 arg1
= (int)(SWIG_As_int(obj0
));
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19524 if (SWIG_arg_fail(2)) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19543 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 int arg1
= (int) wxDateTime::Inv_Year
;
19546 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "year",(char *) "country", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 arg1
= (int)(SWIG_As_int(obj0
));
19558 if (SWIG_arg_fail(1)) SWIG_fail
;
19563 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19564 if (SWIG_arg_fail(2)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 wxDateTime
* resultptr
;
19576 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19585 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 int arg1
= (int) wxDateTime::Inv_Year
;
19588 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "year",(char *) "country", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 arg1
= (int)(SWIG_As_int(obj0
));
19600 if (SWIG_arg_fail(1)) SWIG_fail
;
19605 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19606 if (SWIG_arg_fail(2)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 wxDateTime
* resultptr
;
19618 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19627 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19630 char *kwnames
[] = {
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= wxDateTime::Now();
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19643 wxDateTime
* resultptr
;
19644 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19653 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19656 char *kwnames
[] = {
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= wxDateTime::UNow();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 wxDateTime
* resultptr
;
19670 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19679 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19682 char *kwnames
[] = {
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= wxDateTime::Today();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 wxDateTime
* resultptr
;
19696 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19705 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxDateTime
*result
;
19708 char *kwnames
[] = {
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (wxDateTime
*)new wxDateTime();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19727 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19730 wxDateTime
*result
;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "timet", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19738 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19739 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxDateTime
*)new wxDateTime(arg1
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19755 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19758 wxDateTime
*result
;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "jdn", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19766 arg1
= (double)(SWIG_As_double(obj0
));
19767 if (SWIG_arg_fail(1)) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (wxDateTime
*)new wxDateTime(arg1
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19783 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19786 int arg2
= (int) 0 ;
19787 int arg3
= (int) 0 ;
19788 int arg4
= (int) 0 ;
19789 wxDateTime
*result
;
19790 PyObject
* obj0
= 0 ;
19791 PyObject
* obj1
= 0 ;
19792 PyObject
* obj2
= 0 ;
19793 PyObject
* obj3
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19800 arg1
= (int)(SWIG_As_int(obj0
));
19801 if (SWIG_arg_fail(1)) SWIG_fail
;
19805 arg2
= (int)(SWIG_As_int(obj1
));
19806 if (SWIG_arg_fail(2)) SWIG_fail
;
19811 arg3
= (int)(SWIG_As_int(obj2
));
19812 if (SWIG_arg_fail(3)) SWIG_fail
;
19817 arg4
= (int)(SWIG_As_int(obj3
));
19818 if (SWIG_arg_fail(4)) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19835 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19838 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19839 int arg3
= (int) wxDateTime::Inv_Year
;
19840 int arg4
= (int) 0 ;
19841 int arg5
= (int) 0 ;
19842 int arg6
= (int) 0 ;
19843 int arg7
= (int) 0 ;
19844 wxDateTime
*result
;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 PyObject
* obj2
= 0 ;
19848 PyObject
* obj3
= 0 ;
19849 PyObject
* obj4
= 0 ;
19850 PyObject
* obj5
= 0 ;
19851 PyObject
* obj6
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19858 arg1
= (int)(SWIG_As_int(obj0
));
19859 if (SWIG_arg_fail(1)) SWIG_fail
;
19863 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19864 if (SWIG_arg_fail(2)) SWIG_fail
;
19869 arg3
= (int)(SWIG_As_int(obj2
));
19870 if (SWIG_arg_fail(3)) SWIG_fail
;
19875 arg4
= (int)(SWIG_As_int(obj3
));
19876 if (SWIG_arg_fail(4)) SWIG_fail
;
19881 arg5
= (int)(SWIG_As_int(obj4
));
19882 if (SWIG_arg_fail(5)) SWIG_fail
;
19887 arg6
= (int)(SWIG_As_int(obj5
));
19888 if (SWIG_arg_fail(6)) SWIG_fail
;
19893 arg7
= (int)(SWIG_As_int(obj6
));
19894 if (SWIG_arg_fail(7)) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19911 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19921 if (SWIG_arg_fail(1)) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 Py_INCREF(Py_None
); resultobj
= Py_None
;
19936 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19939 wxDateTime
*result
;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19947 if (SWIG_arg_fail(1)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19952 result
= (wxDateTime
*) &_result_ref
;
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19965 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19969 wxDateTime
*result
;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "timet", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19981 if (SWIG_arg_fail(2)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19987 result
= (wxDateTime
*) &_result_ref
;
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20000 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20004 wxDateTime
*result
;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "jdn", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20013 if (SWIG_arg_fail(1)) SWIG_fail
;
20015 arg2
= (double)(SWIG_As_double(obj1
));
20016 if (SWIG_arg_fail(2)) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20022 result
= (wxDateTime
*) &_result_ref
;
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20035 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20039 int arg3
= (int) 0 ;
20040 int arg4
= (int) 0 ;
20041 int arg5
= (int) 0 ;
20042 wxDateTime
*result
;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 PyObject
* obj2
= 0 ;
20046 PyObject
* obj3
= 0 ;
20047 PyObject
* obj4
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 arg2
= (int)(SWIG_As_int(obj1
));
20057 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 arg3
= (int)(SWIG_As_int(obj2
));
20062 if (SWIG_arg_fail(3)) SWIG_fail
;
20067 arg4
= (int)(SWIG_As_int(obj3
));
20068 if (SWIG_arg_fail(4)) SWIG_fail
;
20073 arg5
= (int)(SWIG_As_int(obj4
));
20074 if (SWIG_arg_fail(5)) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20081 result
= (wxDateTime
*) &_result_ref
;
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20094 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20098 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20099 int arg4
= (int) wxDateTime::Inv_Year
;
20100 int arg5
= (int) 0 ;
20101 int arg6
= (int) 0 ;
20102 int arg7
= (int) 0 ;
20103 int arg8
= (int) 0 ;
20104 wxDateTime
*result
;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 PyObject
* obj3
= 0 ;
20109 PyObject
* obj4
= 0 ;
20110 PyObject
* obj5
= 0 ;
20111 PyObject
* obj6
= 0 ;
20112 PyObject
* obj7
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20119 if (SWIG_arg_fail(1)) SWIG_fail
;
20121 arg2
= (int)(SWIG_As_int(obj1
));
20122 if (SWIG_arg_fail(2)) SWIG_fail
;
20126 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20127 if (SWIG_arg_fail(3)) SWIG_fail
;
20132 arg4
= (int)(SWIG_As_int(obj3
));
20133 if (SWIG_arg_fail(4)) SWIG_fail
;
20138 arg5
= (int)(SWIG_As_int(obj4
));
20139 if (SWIG_arg_fail(5)) SWIG_fail
;
20144 arg6
= (int)(SWIG_As_int(obj5
));
20145 if (SWIG_arg_fail(6)) SWIG_fail
;
20150 arg7
= (int)(SWIG_As_int(obj6
));
20151 if (SWIG_arg_fail(7)) SWIG_fail
;
20156 arg8
= (int)(SWIG_As_int(obj7
));
20157 if (SWIG_arg_fail(8)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20164 result
= (wxDateTime
*) &_result_ref
;
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20177 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20180 wxDateTime
*result
;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20193 result
= (wxDateTime
*) &_result_ref
;
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20206 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20210 wxDateTime
*result
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "year", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20219 if (SWIG_arg_fail(1)) SWIG_fail
;
20221 arg2
= (int)(SWIG_As_int(obj1
));
20222 if (SWIG_arg_fail(2)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20228 result
= (wxDateTime
*) &_result_ref
;
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20241 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20244 wxDateTime::Month arg2
;
20245 wxDateTime
*result
;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "month", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20257 if (SWIG_arg_fail(2)) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20263 result
= (wxDateTime
*) &_result_ref
;
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20276 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20280 wxDateTime
*result
;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "day", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20289 if (SWIG_arg_fail(1)) SWIG_fail
;
20291 arg2
= (int)(SWIG_As_int(obj1
));
20292 if (SWIG_arg_fail(2)) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20298 result
= (wxDateTime
*) &_result_ref
;
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20311 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20315 wxDateTime
*result
;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "hour", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 arg2
= (int)(SWIG_As_int(obj1
));
20327 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20333 result
= (wxDateTime
*) &_result_ref
;
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20346 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20350 wxDateTime
*result
;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "minute", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail
;
20361 arg2
= (int)(SWIG_As_int(obj1
));
20362 if (SWIG_arg_fail(2)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20368 result
= (wxDateTime
*) &_result_ref
;
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20381 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20385 wxDateTime
*result
;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "second", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20396 arg2
= (int)(SWIG_As_int(obj1
));
20397 if (SWIG_arg_fail(2)) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20403 result
= (wxDateTime
*) &_result_ref
;
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20416 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20420 wxDateTime
*result
;
20421 PyObject
* obj0
= 0 ;
20422 PyObject
* obj1
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self",(char *) "millisecond", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20429 if (SWIG_arg_fail(1)) SWIG_fail
;
20431 arg2
= (int)(SWIG_As_int(obj1
));
20432 if (SWIG_arg_fail(2)) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20438 result
= (wxDateTime
*) &_result_ref
;
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20451 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20454 wxDateTime::WeekDay arg2
;
20455 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20456 wxDateTime
*result
;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20466 if (SWIG_arg_fail(1)) SWIG_fail
;
20468 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20469 if (SWIG_arg_fail(2)) SWIG_fail
;
20473 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20474 if (SWIG_arg_fail(3)) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20481 result
= (wxDateTime
*) &_result_ref
;
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20494 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20497 wxDateTime::WeekDay arg2
;
20498 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20516 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20517 if (SWIG_arg_fail(3)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20528 wxDateTime
* resultptr
;
20529 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20538 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
;
20540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20541 wxDateTime::WeekDay arg2
;
20542 wxDateTime
*result
;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self",(char *) "weekday", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20554 if (SWIG_arg_fail(2)) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20560 result
= (wxDateTime
*) &_result_ref
;
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20573 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20576 wxDateTime::WeekDay arg2
;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "weekday", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20589 if (SWIG_arg_fail(2)) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20599 wxDateTime
* resultptr
;
20600 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20609 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20612 wxDateTime::WeekDay arg2
;
20613 wxDateTime
*result
;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "weekday", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20625 if (SWIG_arg_fail(2)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20631 result
= (wxDateTime
*) &_result_ref
;
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20644 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20647 wxDateTime::WeekDay arg2
;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "weekday", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20657 if (SWIG_arg_fail(1)) SWIG_fail
;
20659 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20660 if (SWIG_arg_fail(2)) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20670 wxDateTime
* resultptr
;
20671 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20680 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20683 wxDateTime::WeekDay arg2
;
20684 int arg3
= (int) 1 ;
20685 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20686 int arg5
= (int) wxDateTime::Inv_Year
;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 PyObject
* obj2
= 0 ;
20691 PyObject
* obj3
= 0 ;
20692 PyObject
* obj4
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20702 if (SWIG_arg_fail(2)) SWIG_fail
;
20706 arg3
= (int)(SWIG_As_int(obj2
));
20707 if (SWIG_arg_fail(3)) SWIG_fail
;
20712 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20713 if (SWIG_arg_fail(4)) SWIG_fail
;
20718 arg5
= (int)(SWIG_As_int(obj4
));
20719 if (SWIG_arg_fail(5)) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20738 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20741 wxDateTime::WeekDay arg2
;
20742 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20743 int arg4
= (int) wxDateTime::Inv_Year
;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 PyObject
* obj2
= 0 ;
20748 PyObject
* obj3
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20758 if (SWIG_arg_fail(2)) SWIG_fail
;
20762 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20763 if (SWIG_arg_fail(3)) SWIG_fail
;
20768 arg4
= (int)(SWIG_As_int(obj3
));
20769 if (SWIG_arg_fail(4)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20791 wxDateTime::WeekDay arg2
;
20792 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20793 int arg4
= (int) wxDateTime::Inv_Year
;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 PyObject
* obj2
= 0 ;
20798 PyObject
* obj3
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20805 if (SWIG_arg_fail(1)) SWIG_fail
;
20807 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20808 if (SWIG_arg_fail(2)) SWIG_fail
;
20812 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20813 if (SWIG_arg_fail(3)) SWIG_fail
;
20818 arg4
= (int)(SWIG_As_int(obj3
));
20819 if (SWIG_arg_fail(4)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 wxDateTime
* resultptr
;
20831 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20840 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20844 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20845 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 PyObject
* obj3
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail
;
20859 arg2
= (int)(SWIG_As_int(obj1
));
20860 if (SWIG_arg_fail(2)) SWIG_fail
;
20864 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20865 if (SWIG_arg_fail(3)) SWIG_fail
;
20870 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20871 if (SWIG_arg_fail(4)) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20890 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20894 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20895 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 PyObject
* obj2
= 0 ;
20900 PyObject
* obj3
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20909 arg2
= (int)(SWIG_As_int(obj1
));
20910 if (SWIG_arg_fail(2)) SWIG_fail
;
20914 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20915 if (SWIG_arg_fail(3)) SWIG_fail
;
20920 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20921 if (SWIG_arg_fail(4)) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 wxDateTime
* resultptr
;
20933 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20942 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20946 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 PyObject
* obj2
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20957 arg1
= (int)(SWIG_As_int(obj0
));
20958 if (SWIG_arg_fail(1)) SWIG_fail
;
20961 arg2
= (int)(SWIG_As_int(obj1
));
20962 if (SWIG_arg_fail(2)) SWIG_fail
;
20966 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20967 if (SWIG_arg_fail(3)) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20978 wxDateTime
* resultptr
;
20979 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20988 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20991 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20992 int arg3
= (int) wxDateTime::Inv_Year
;
20993 wxDateTime
*result
;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 PyObject
* obj2
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self",(char *) "month",(char *) "year", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21003 if (SWIG_arg_fail(1)) SWIG_fail
;
21006 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21007 if (SWIG_arg_fail(2)) SWIG_fail
;
21012 arg3
= (int)(SWIG_As_int(obj2
));
21013 if (SWIG_arg_fail(3)) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21020 result
= (wxDateTime
*) &_result_ref
;
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21033 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21036 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21037 int arg3
= (int) wxDateTime::Inv_Year
;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 PyObject
* obj2
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "month",(char *) "year", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21048 if (SWIG_arg_fail(1)) SWIG_fail
;
21051 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21052 if (SWIG_arg_fail(2)) SWIG_fail
;
21057 arg3
= (int)(SWIG_As_int(obj2
));
21058 if (SWIG_arg_fail(3)) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21069 wxDateTime
* resultptr
;
21070 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21079 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21083 wxDateTime
*result
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "yday", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21092 if (SWIG_arg_fail(1)) SWIG_fail
;
21094 arg2
= (int)(SWIG_As_int(obj1
));
21095 if (SWIG_arg_fail(2)) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21101 result
= (wxDateTime
*) &_result_ref
;
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21114 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self",(char *) "yday", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21127 if (SWIG_arg_fail(1)) SWIG_fail
;
21129 arg2
= (int)(SWIG_As_int(obj1
));
21130 if (SWIG_arg_fail(2)) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (arg1
)->GetYearDay(arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 wxDateTime
* resultptr
;
21141 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21150 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21154 PyObject
* obj0
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21161 if (SWIG_arg_fail(1)) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (double)(arg1
)->GetJulianDayNumber();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= SWIG_From_double((double)(result
));
21178 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (double)(arg1
)->GetJDN();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= SWIG_From_double((double)(result
));
21206 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_double((double)(result
));
21234 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21245 if (SWIG_arg_fail(1)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (double)(arg1
)->GetMJD();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_From_double((double)(result
));
21262 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (double)(arg1
)->GetRataDie();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= SWIG_From_double((double)(result
));
21290 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21293 wxDateTime::TimeZone
*arg2
= 0 ;
21294 bool arg3
= (bool) false ;
21296 bool temp2
= false ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 PyObject
* obj2
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail
;
21308 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21313 arg3
= (bool)(SWIG_As_bool(obj2
));
21314 if (SWIG_arg_fail(3)) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 wxDateTime
* resultptr
;
21326 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21330 if (temp2
) delete arg2
;
21335 if (temp2
) delete arg2
;
21341 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21344 wxDateTime::TimeZone
*arg2
= 0 ;
21345 bool arg3
= (bool) false ;
21346 wxDateTime
*result
;
21347 bool temp2
= false ;
21348 PyObject
* obj0
= 0 ;
21349 PyObject
* obj1
= 0 ;
21350 PyObject
* obj2
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21357 if (SWIG_arg_fail(1)) SWIG_fail
;
21359 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21364 arg3
= (bool)(SWIG_As_bool(obj2
));
21365 if (SWIG_arg_fail(3)) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21372 result
= (wxDateTime
*) &_result_ref
;
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21380 if (temp2
) delete arg2
;
21385 if (temp2
) delete arg2
;
21391 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21394 bool arg2
= (bool) false ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "noDST", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21404 if (SWIG_arg_fail(1)) SWIG_fail
;
21407 arg2
= (bool)(SWIG_As_bool(obj1
));
21408 if (SWIG_arg_fail(2)) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (arg1
)->ToGMT(arg2
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21419 wxDateTime
* resultptr
;
21420 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21429 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21432 bool arg2
= (bool) false ;
21433 wxDateTime
*result
;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "noDST", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21445 arg2
= (bool)(SWIG_As_bool(obj1
));
21446 if (SWIG_arg_fail(2)) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21453 result
= (wxDateTime
*) &_result_ref
;
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21466 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21469 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "country", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21479 if (SWIG_arg_fail(1)) SWIG_fail
;
21482 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21483 if (SWIG_arg_fail(2)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_From_int((int)(result
));
21502 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21513 if (SWIG_arg_fail(1)) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21530 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21558 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21561 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21562 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21564 bool temp2
= false ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self",(char *) "tz", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21573 if (SWIG_arg_fail(1)) SWIG_fail
;
21576 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_From_int((int)(result
));
21591 if (temp2
) delete arg2
;
21596 if (temp2
) delete arg2
;
21602 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21605 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21606 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21607 wxDateTime::Month result
;
21608 bool temp2
= false ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "tz", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21617 if (SWIG_arg_fail(1)) SWIG_fail
;
21620 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_From_int((result
));
21633 if (temp2
) delete arg2
;
21638 if (temp2
) delete arg2
;
21644 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21647 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21648 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21650 bool temp2
= false ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "tz", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21659 if (SWIG_arg_fail(1)) SWIG_fail
;
21662 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_From_int((int)(result
));
21677 if (temp2
) delete arg2
;
21682 if (temp2
) delete arg2
;
21688 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21691 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21692 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21693 wxDateTime::WeekDay result
;
21694 bool temp2
= false ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "tz", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21703 if (SWIG_arg_fail(1)) SWIG_fail
;
21706 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_From_int((result
));
21719 if (temp2
) delete arg2
;
21724 if (temp2
) delete arg2
;
21730 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21733 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21734 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21736 bool temp2
= false ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "tz", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= SWIG_From_int((int)(result
));
21763 if (temp2
) delete arg2
;
21768 if (temp2
) delete arg2
;
21774 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21777 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21778 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21780 bool temp2
= false ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "tz", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21789 if (SWIG_arg_fail(1)) SWIG_fail
;
21792 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= SWIG_From_int((int)(result
));
21807 if (temp2
) delete arg2
;
21812 if (temp2
) delete arg2
;
21818 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21821 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21822 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21824 bool temp2
= false ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "tz", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21836 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_From_int((int)(result
));
21851 if (temp2
) delete arg2
;
21856 if (temp2
) delete arg2
;
21862 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21865 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21866 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21868 bool temp2
= false ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "tz", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail
;
21880 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_From_int((int)(result
));
21895 if (temp2
) delete arg2
;
21900 if (temp2
) delete arg2
;
21906 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21909 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21910 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21912 bool temp2
= false ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "tz", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21921 if (SWIG_arg_fail(1)) SWIG_fail
;
21924 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_From_int((int)(result
));
21939 if (temp2
) delete arg2
;
21944 if (temp2
) delete arg2
;
21950 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21953 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21954 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21955 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21957 bool temp3
= false ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "flags",(char *) "tz", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21970 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21971 if (SWIG_arg_fail(2)) SWIG_fail
;
21976 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= SWIG_From_int((int)(result
));
21991 if (temp3
) delete arg3
;
21996 if (temp3
) delete arg3
;
22002 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22005 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22006 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22007 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22009 bool temp3
= false ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 PyObject
* obj2
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self",(char *) "flags",(char *) "tz", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22019 if (SWIG_arg_fail(1)) SWIG_fail
;
22022 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22023 if (SWIG_arg_fail(2)) SWIG_fail
;
22028 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_From_int((int)(result
));
22043 if (temp3
) delete arg3
;
22048 if (temp3
) delete arg3
;
22054 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22057 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self",(char *) "country", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail
;
22070 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22071 if (SWIG_arg_fail(2)) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22090 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22093 wxDateTime
*arg2
= 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "datetime", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22103 if (SWIG_arg_fail(1)) SWIG_fail
;
22105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22106 if (SWIG_arg_fail(2)) SWIG_fail
;
22107 if (arg2
== NULL
) {
22108 SWIG_null_ref("wxDateTime");
22110 if (SWIG_arg_fail(2)) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22128 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22131 wxDateTime
*arg2
= 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "datetime", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22141 if (SWIG_arg_fail(1)) SWIG_fail
;
22143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(2)) SWIG_fail
;
22145 if (arg2
== NULL
) {
22146 SWIG_null_ref("wxDateTime");
22148 if (SWIG_arg_fail(2)) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22166 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22169 wxDateTime
*arg2
= 0 ;
22171 PyObject
* obj0
= 0 ;
22172 PyObject
* obj1
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self",(char *) "datetime", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail
;
22181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22182 if (SWIG_arg_fail(2)) SWIG_fail
;
22183 if (arg2
== NULL
) {
22184 SWIG_null_ref("wxDateTime");
22186 if (SWIG_arg_fail(2)) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22204 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22207 wxDateTime
*arg2
= 0 ;
22208 wxDateTime
*arg3
= 0 ;
22210 PyObject
* obj0
= 0 ;
22211 PyObject
* obj1
= 0 ;
22212 PyObject
* obj2
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "t1",(char *) "t2", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22219 if (SWIG_arg_fail(1)) SWIG_fail
;
22221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22222 if (SWIG_arg_fail(2)) SWIG_fail
;
22223 if (arg2
== NULL
) {
22224 SWIG_null_ref("wxDateTime");
22226 if (SWIG_arg_fail(2)) SWIG_fail
;
22229 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22230 if (SWIG_arg_fail(3)) SWIG_fail
;
22231 if (arg3
== NULL
) {
22232 SWIG_null_ref("wxDateTime");
22234 if (SWIG_arg_fail(3)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22252 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22255 wxDateTime
*arg2
= 0 ;
22256 wxDateTime
*arg3
= 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 PyObject
* obj2
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "t1",(char *) "t2", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22267 if (SWIG_arg_fail(1)) SWIG_fail
;
22269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22270 if (SWIG_arg_fail(2)) SWIG_fail
;
22271 if (arg2
== NULL
) {
22272 SWIG_null_ref("wxDateTime");
22274 if (SWIG_arg_fail(2)) SWIG_fail
;
22277 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(3)) SWIG_fail
;
22279 if (arg3
== NULL
) {
22280 SWIG_null_ref("wxDateTime");
22282 if (SWIG_arg_fail(3)) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22300 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22303 wxDateTime
*arg2
= 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self",(char *) "dt", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22313 if (SWIG_arg_fail(1)) SWIG_fail
;
22315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22316 if (SWIG_arg_fail(2)) SWIG_fail
;
22317 if (arg2
== NULL
) {
22318 SWIG_null_ref("wxDateTime");
22320 if (SWIG_arg_fail(2)) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22338 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22341 wxDateTime
*arg2
= 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "dt", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(2)) SWIG_fail
;
22355 if (arg2
== NULL
) {
22356 SWIG_null_ref("wxDateTime");
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22376 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22379 wxDateTime
*arg2
= 0 ;
22380 wxTimeSpan
*arg3
= 0 ;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 PyObject
* obj2
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "dt",(char *) "ts", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22394 if (SWIG_arg_fail(2)) SWIG_fail
;
22395 if (arg2
== NULL
) {
22396 SWIG_null_ref("wxDateTime");
22398 if (SWIG_arg_fail(2)) SWIG_fail
;
22401 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22402 if (SWIG_arg_fail(3)) SWIG_fail
;
22403 if (arg3
== NULL
) {
22404 SWIG_null_ref("wxTimeSpan");
22406 if (SWIG_arg_fail(3)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22424 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22427 wxTimeSpan
*arg2
= 0 ;
22428 wxDateTime
*result
;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "diff", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22437 if (SWIG_arg_fail(1)) SWIG_fail
;
22439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22440 if (SWIG_arg_fail(2)) SWIG_fail
;
22441 if (arg2
== NULL
) {
22442 SWIG_null_ref("wxTimeSpan");
22444 if (SWIG_arg_fail(2)) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22450 result
= (wxDateTime
*) &_result_ref
;
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22463 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22466 wxDateSpan
*arg2
= 0 ;
22467 wxDateTime
*result
;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "diff", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 if (arg2
== NULL
) {
22481 SWIG_null_ref("wxDateSpan");
22483 if (SWIG_arg_fail(2)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22489 result
= (wxDateTime
*) &_result_ref
;
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22502 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22505 wxTimeSpan
*arg2
= 0 ;
22506 wxDateTime
*result
;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self",(char *) "diff", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22515 if (SWIG_arg_fail(1)) SWIG_fail
;
22517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22518 if (SWIG_arg_fail(2)) SWIG_fail
;
22519 if (arg2
== NULL
) {
22520 SWIG_null_ref("wxTimeSpan");
22522 if (SWIG_arg_fail(2)) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22528 result
= (wxDateTime
*) &_result_ref
;
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22541 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22544 wxDateSpan
*arg2
= 0 ;
22545 wxDateTime
*result
;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "diff", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail
;
22556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(2)) SWIG_fail
;
22558 if (arg2
== NULL
) {
22559 SWIG_null_ref("wxDateSpan");
22561 if (SWIG_arg_fail(2)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22567 result
= (wxDateTime
*) &_result_ref
;
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22580 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22583 wxDateTime
*arg2
= 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "dt", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail
;
22597 if (arg2
== NULL
) {
22598 SWIG_null_ref("wxDateTime");
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 wxTimeSpan
* resultptr
;
22611 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22620 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22621 PyObject
*resultobj
;
22622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22623 wxTimeSpan
*arg2
= 0 ;
22624 wxDateTime
*result
;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22628 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22630 if (SWIG_arg_fail(1)) SWIG_fail
;
22632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(2)) SWIG_fail
;
22634 if (arg2
== NULL
) {
22635 SWIG_null_ref("wxTimeSpan");
22637 if (SWIG_arg_fail(2)) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22643 result
= (wxDateTime
*) &_result_ref
;
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22656 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22657 PyObject
*resultobj
;
22658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22659 wxDateSpan
*arg2
= 0 ;
22660 wxDateTime
*result
;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22664 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22666 if (SWIG_arg_fail(1)) SWIG_fail
;
22668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22669 if (SWIG_arg_fail(2)) SWIG_fail
;
22670 if (arg2
== NULL
) {
22671 SWIG_null_ref("wxDateSpan");
22673 if (SWIG_arg_fail(2)) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22679 result
= (wxDateTime
*) &_result_ref
;
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22692 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22697 argc
= PyObject_Length(args
);
22698 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22699 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22705 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22715 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22723 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22731 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22741 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22749 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22754 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22759 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22760 PyObject
*resultobj
;
22761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22762 wxTimeSpan
*arg2
= 0 ;
22763 wxDateTime
*result
;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22767 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22772 if (SWIG_arg_fail(2)) SWIG_fail
;
22773 if (arg2
== NULL
) {
22774 SWIG_null_ref("wxTimeSpan");
22776 if (SWIG_arg_fail(2)) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22782 result
= (wxDateTime
*) &_result_ref
;
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22795 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22796 PyObject
*resultobj
;
22797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22798 wxDateSpan
*arg2
= 0 ;
22799 wxDateTime
*result
;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22803 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22805 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(2)) SWIG_fail
;
22809 if (arg2
== NULL
) {
22810 SWIG_null_ref("wxDateSpan");
22812 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22818 result
= (wxDateTime
*) &_result_ref
;
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22831 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22836 argc
= PyObject_Length(args
);
22837 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22838 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22844 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22854 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22862 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22870 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22880 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22888 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22893 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22898 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22899 PyObject
*resultobj
;
22900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22901 wxTimeSpan
*arg2
= 0 ;
22903 PyObject
* obj0
= 0 ;
22904 PyObject
* obj1
= 0 ;
22906 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22911 if (SWIG_arg_fail(2)) SWIG_fail
;
22912 if (arg2
== NULL
) {
22913 SWIG_null_ref("wxTimeSpan");
22915 if (SWIG_arg_fail(2)) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22925 wxDateTime
* resultptr
;
22926 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22935 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22936 PyObject
*resultobj
;
22937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22938 wxDateSpan
*arg2
= 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22943 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22945 if (SWIG_arg_fail(1)) SWIG_fail
;
22947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22948 if (SWIG_arg_fail(2)) SWIG_fail
;
22949 if (arg2
== NULL
) {
22950 SWIG_null_ref("wxDateSpan");
22952 if (SWIG_arg_fail(2)) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 wxDateTime
* resultptr
;
22963 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22972 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22977 argc
= PyObject_Length(args
);
22978 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22979 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22985 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22995 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23003 return _wrap_DateTime___add____SWIG_0(self
,args
);
23011 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23021 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23029 return _wrap_DateTime___add____SWIG_1(self
,args
);
23034 Py_INCREF(Py_NotImplemented
);
23035 return Py_NotImplemented
;
23039 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23040 PyObject
*resultobj
;
23041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23042 wxDateTime
*arg2
= 0 ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23047 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23049 if (SWIG_arg_fail(1)) SWIG_fail
;
23051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23052 if (SWIG_arg_fail(2)) SWIG_fail
;
23053 if (arg2
== NULL
) {
23054 SWIG_null_ref("wxDateTime");
23056 if (SWIG_arg_fail(2)) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23066 wxTimeSpan
* resultptr
;
23067 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23076 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23077 PyObject
*resultobj
;
23078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23079 wxTimeSpan
*arg2
= 0 ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23084 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23086 if (SWIG_arg_fail(1)) SWIG_fail
;
23088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23089 if (SWIG_arg_fail(2)) SWIG_fail
;
23090 if (arg2
== NULL
) {
23091 SWIG_null_ref("wxTimeSpan");
23093 if (SWIG_arg_fail(2)) SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23103 wxDateTime
* resultptr
;
23104 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23113 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23114 PyObject
*resultobj
;
23115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23116 wxDateSpan
*arg2
= 0 ;
23118 PyObject
* obj0
= 0 ;
23119 PyObject
* obj1
= 0 ;
23121 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23123 if (SWIG_arg_fail(1)) SWIG_fail
;
23125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23126 if (SWIG_arg_fail(2)) SWIG_fail
;
23127 if (arg2
== NULL
) {
23128 SWIG_null_ref("wxDateSpan");
23130 if (SWIG_arg_fail(2)) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 wxDateTime
* resultptr
;
23141 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23150 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23155 argc
= PyObject_Length(args
);
23156 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23157 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23163 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23173 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23181 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23199 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23207 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23215 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23225 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23233 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23238 Py_INCREF(Py_NotImplemented
);
23239 return Py_NotImplemented
;
23243 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23246 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23248 PyObject
* obj0
= 0 ;
23249 PyObject
* obj1
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self",(char *) "other", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23256 if (SWIG_arg_fail(1)) SWIG_fail
;
23257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23258 if (SWIG_arg_fail(2)) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23275 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23278 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self",(char *) "other", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23288 if (SWIG_arg_fail(1)) SWIG_fail
;
23289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(2)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23307 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23310 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "other", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23320 if (SWIG_arg_fail(1)) SWIG_fail
;
23321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23322 if (SWIG_arg_fail(2)) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23339 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23342 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "other", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23352 if (SWIG_arg_fail(1)) SWIG_fail
;
23353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(2)) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23371 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23374 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self",(char *) "other", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23384 if (SWIG_arg_fail(1)) SWIG_fail
;
23385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23386 if (SWIG_arg_fail(2)) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23403 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23406 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "other", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail
;
23417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23418 if (SWIG_arg_fail(2)) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23435 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23438 wxString
*arg2
= 0 ;
23440 bool temp2
= false ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "date", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail
;
23451 arg2
= wxString_in_helper(obj1
);
23452 if (arg2
== NULL
) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_From_int((int)(result
));
23479 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23482 wxString
*arg2
= 0 ;
23483 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23485 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23486 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23488 bool temp2
= false ;
23489 bool temp3
= false ;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 PyObject
* obj2
= 0 ;
23493 PyObject
* obj3
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail
;
23502 arg2
= wxString_in_helper(obj1
);
23503 if (arg2
== NULL
) SWIG_fail
;
23508 arg3
= wxString_in_helper(obj2
);
23509 if (arg3
== NULL
) SWIG_fail
;
23515 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23516 if (SWIG_arg_fail(4)) SWIG_fail
;
23517 if (arg4
== NULL
) {
23518 SWIG_null_ref("wxDateTime");
23520 if (SWIG_arg_fail(4)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_From_int((int)(result
));
23555 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23558 wxString
*arg2
= 0 ;
23560 bool temp2
= false ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self",(char *) "datetime", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail
;
23571 arg2
= wxString_in_helper(obj1
);
23572 if (arg2
== NULL
) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_From_int((int)(result
));
23599 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23602 wxString
*arg2
= 0 ;
23604 bool temp2
= false ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self",(char *) "date", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail
;
23615 arg2
= wxString_in_helper(obj1
);
23616 if (arg2
== NULL
) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_From_int((int)(result
));
23643 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23646 wxString
*arg2
= 0 ;
23648 bool temp2
= false ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "time", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail
;
23659 arg2
= wxString_in_helper(obj1
);
23660 if (arg2
== NULL
) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_int((int)(result
));
23687 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23690 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23691 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23692 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23693 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23695 bool temp2
= false ;
23696 bool temp3
= false ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 PyObject
* obj2
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self",(char *) "format",(char *) "tz", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 arg2
= wxString_in_helper(obj1
);
23710 if (arg2
== NULL
) SWIG_fail
;
23716 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23739 if (temp3
) delete arg3
;
23748 if (temp3
) delete arg3
;
23754 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23758 PyObject
* obj0
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "self", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23765 if (SWIG_arg_fail(1)) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23786 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23818 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23829 if (SWIG_arg_fail(1)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23850 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23861 if (SWIG_arg_fail(1)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23882 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23885 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23887 return Py_BuildValue((char *)"");
23889 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23893 PyObject
* obj0
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "sec", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23900 arg1
= (long)(SWIG_As_long(obj0
));
23901 if (SWIG_arg_fail(1)) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= wxTimeSpan::Seconds(arg1
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 wxTimeSpan
* resultptr
;
23912 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23921 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23924 char *kwnames
[] = {
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= wxTimeSpan::Second();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 wxTimeSpan
* resultptr
;
23938 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23947 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23951 PyObject
* obj0
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "min", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23958 arg1
= (long)(SWIG_As_long(obj0
));
23959 if (SWIG_arg_fail(1)) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= wxTimeSpan::Minutes(arg1
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 wxTimeSpan
* resultptr
;
23970 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23979 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23982 char *kwnames
[] = {
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= wxTimeSpan::Minute();
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 wxTimeSpan
* resultptr
;
23996 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24005 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24009 PyObject
* obj0
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "hours", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24016 arg1
= (long)(SWIG_As_long(obj0
));
24017 if (SWIG_arg_fail(1)) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= wxTimeSpan::Hours(arg1
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24027 wxTimeSpan
* resultptr
;
24028 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24037 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24040 char *kwnames
[] = {
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= wxTimeSpan::Hour();
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 wxTimeSpan
* resultptr
;
24054 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24063 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "days", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24074 arg1
= (long)(SWIG_As_long(obj0
));
24075 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= wxTimeSpan::Days(arg1
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 wxTimeSpan
* resultptr
;
24086 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24095 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24098 char *kwnames
[] = {
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= wxTimeSpan::Day();
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 wxTimeSpan
* resultptr
;
24112 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24121 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24125 PyObject
* obj0
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "days", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24132 arg1
= (long)(SWIG_As_long(obj0
));
24133 if (SWIG_arg_fail(1)) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= wxTimeSpan::Weeks(arg1
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24143 wxTimeSpan
* resultptr
;
24144 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24153 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24156 char *kwnames
[] = {
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= wxTimeSpan::Week();
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24169 wxTimeSpan
* resultptr
;
24170 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24179 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 long arg1
= (long) 0 ;
24182 long arg2
= (long) 0 ;
24183 long arg3
= (long) 0 ;
24184 long arg4
= (long) 0 ;
24185 wxTimeSpan
*result
;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 PyObject
* obj2
= 0 ;
24189 PyObject
* obj3
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24197 arg1
= (long)(SWIG_As_long(obj0
));
24198 if (SWIG_arg_fail(1)) SWIG_fail
;
24203 arg2
= (long)(SWIG_As_long(obj1
));
24204 if (SWIG_arg_fail(2)) SWIG_fail
;
24209 arg3
= (long)(SWIG_As_long(obj2
));
24210 if (SWIG_arg_fail(3)) SWIG_fail
;
24215 arg4
= (long)(SWIG_As_long(obj3
));
24216 if (SWIG_arg_fail(4)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24233 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24236 PyObject
* obj0
= 0 ;
24237 char *kwnames
[] = {
24238 (char *) "self", NULL
24241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24243 if (SWIG_arg_fail(1)) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 Py_INCREF(Py_None
); resultobj
= Py_None
;
24258 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24261 wxTimeSpan
*arg2
= 0 ;
24262 wxTimeSpan
*result
;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self",(char *) "diff", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24271 if (SWIG_arg_fail(1)) SWIG_fail
;
24273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24274 if (SWIG_arg_fail(2)) SWIG_fail
;
24275 if (arg2
== NULL
) {
24276 SWIG_null_ref("wxTimeSpan");
24278 if (SWIG_arg_fail(2)) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24284 result
= (wxTimeSpan
*) &_result_ref
;
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24297 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24300 wxTimeSpan
*arg2
= 0 ;
24301 wxTimeSpan
*result
;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char *kwnames
[] = {
24305 (char *) "self",(char *) "diff", NULL
24308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24310 if (SWIG_arg_fail(1)) SWIG_fail
;
24312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24313 if (SWIG_arg_fail(2)) SWIG_fail
;
24314 if (arg2
== NULL
) {
24315 SWIG_null_ref("wxTimeSpan");
24317 if (SWIG_arg_fail(2)) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24323 result
= (wxTimeSpan
*) &_result_ref
;
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24336 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24340 wxTimeSpan
*result
;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "n", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24349 if (SWIG_arg_fail(1)) SWIG_fail
;
24351 arg2
= (int)(SWIG_As_int(obj1
));
24352 if (SWIG_arg_fail(2)) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24358 result
= (wxTimeSpan
*) &_result_ref
;
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24371 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24374 wxTimeSpan
*result
;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24382 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24387 result
= (wxTimeSpan
*) &_result_ref
;
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24400 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24404 PyObject
* obj0
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24411 if (SWIG_arg_fail(1)) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 wxTimeSpan
* resultptr
;
24421 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24430 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24433 wxTimeSpan
*arg2
= 0 ;
24434 wxTimeSpan
*result
;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "diff", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24443 if (SWIG_arg_fail(1)) SWIG_fail
;
24445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24446 if (SWIG_arg_fail(2)) SWIG_fail
;
24447 if (arg2
== NULL
) {
24448 SWIG_null_ref("wxTimeSpan");
24450 if (SWIG_arg_fail(2)) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24456 result
= (wxTimeSpan
*) &_result_ref
;
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24469 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24472 wxTimeSpan
*arg2
= 0 ;
24473 wxTimeSpan
*result
;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "diff", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24482 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(2)) SWIG_fail
;
24486 if (arg2
== NULL
) {
24487 SWIG_null_ref("wxTimeSpan");
24489 if (SWIG_arg_fail(2)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24495 result
= (wxTimeSpan
*) &_result_ref
;
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24508 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24512 wxTimeSpan
*result
;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "n", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 arg2
= (int)(SWIG_As_int(obj1
));
24524 if (SWIG_arg_fail(2)) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24530 result
= (wxTimeSpan
*) &_result_ref
;
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24543 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24546 wxTimeSpan
*result
;
24547 PyObject
* obj0
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24559 result
= (wxTimeSpan
*) &_result_ref
;
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24572 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
;
24574 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24575 wxTimeSpan
*arg2
= 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "other", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail
;
24587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(2)) SWIG_fail
;
24589 if (arg2
== NULL
) {
24590 SWIG_null_ref("wxTimeSpan");
24592 if (SWIG_arg_fail(2)) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 wxTimeSpan
* resultptr
;
24603 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24612 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24615 wxTimeSpan
*arg2
= 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "other", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24625 if (SWIG_arg_fail(1)) SWIG_fail
;
24627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24628 if (SWIG_arg_fail(2)) SWIG_fail
;
24629 if (arg2
== NULL
) {
24630 SWIG_null_ref("wxTimeSpan");
24632 if (SWIG_arg_fail(2)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 wxTimeSpan
* resultptr
;
24643 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24652 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self",(char *) "n", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24667 arg2
= (int)(SWIG_As_int(obj1
));
24668 if (SWIG_arg_fail(2)) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= wxTimeSpan___mul__(arg1
,arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 wxTimeSpan
* resultptr
;
24679 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24688 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "n", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail
;
24703 arg2
= (int)(SWIG_As_int(obj1
));
24704 if (SWIG_arg_fail(2)) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 wxTimeSpan
* resultptr
;
24715 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24724 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24727 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "other", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24737 if (SWIG_arg_fail(1)) SWIG_fail
;
24738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24739 if (SWIG_arg_fail(2)) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24756 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24759 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 char *kwnames
[] = {
24764 (char *) "self",(char *) "other", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24769 if (SWIG_arg_fail(1)) SWIG_fail
;
24770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24771 if (SWIG_arg_fail(2)) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24788 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24791 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "other", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail
;
24802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24803 if (SWIG_arg_fail(2)) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24820 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24823 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 PyObject
* obj1
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self",(char *) "other", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24833 if (SWIG_arg_fail(1)) SWIG_fail
;
24834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24835 if (SWIG_arg_fail(2)) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24852 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24855 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 char *kwnames
[] = {
24860 (char *) "self",(char *) "other", NULL
24863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24865 if (SWIG_arg_fail(1)) SWIG_fail
;
24866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24867 if (SWIG_arg_fail(2)) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24884 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24887 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "other", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail
;
24898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24899 if (SWIG_arg_fail(2)) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24916 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24927 if (SWIG_arg_fail(1)) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24944 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24948 PyObject
* obj0
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24955 if (SWIG_arg_fail(1)) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24972 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 char *kwnames
[] = {
24978 (char *) "self", NULL
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24983 if (SWIG_arg_fail(1)) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25000 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25003 wxTimeSpan
*arg2
= 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "ts", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25013 if (SWIG_arg_fail(1)) SWIG_fail
;
25015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(2)) SWIG_fail
;
25017 if (arg2
== NULL
) {
25018 SWIG_null_ref("wxTimeSpan");
25020 if (SWIG_arg_fail(2)) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25038 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25041 wxTimeSpan
*arg2
= 0 ;
25043 PyObject
* obj0
= 0 ;
25044 PyObject
* obj1
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self",(char *) "ts", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25051 if (SWIG_arg_fail(1)) SWIG_fail
;
25053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(2)) SWIG_fail
;
25055 if (arg2
== NULL
) {
25056 SWIG_null_ref("wxTimeSpan");
25058 if (SWIG_arg_fail(2)) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25076 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25079 wxTimeSpan
*arg2
= 0 ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "t", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25089 if (SWIG_arg_fail(1)) SWIG_fail
;
25091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25092 if (SWIG_arg_fail(2)) SWIG_fail
;
25093 if (arg2
== NULL
) {
25094 SWIG_null_ref("wxTimeSpan");
25096 if (SWIG_arg_fail(2)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25114 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= SWIG_From_int((int)(result
));
25142 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25153 if (SWIG_arg_fail(1)) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_From_int((int)(result
));
25170 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_From_int((int)(result
));
25198 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(1)) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_From_int((int)(result
));
25226 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25230 PyObject
* obj0
= 0 ;
25231 char *kwnames
[] = {
25232 (char *) "self", NULL
25235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25237 if (SWIG_arg_fail(1)) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25247 hi
= PyLong_FromLong( (&result
)->GetHi() );
25248 lo
= PyLong_FromLong( (&result
)->GetLo() );
25249 shifter
= PyLong_FromLong(32);
25250 shifted
= PyNumber_Lshift(hi
, shifter
);
25251 resultobj
= PyNumber_Or(shifted
, lo
);
25254 Py_DECREF(shifter
);
25255 Py_DECREF(shifted
);
25263 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25284 hi
= PyLong_FromLong( (&result
)->GetHi() );
25285 lo
= PyLong_FromLong( (&result
)->GetLo() );
25286 shifter
= PyLong_FromLong(32);
25287 shifted
= PyNumber_Lshift(hi
, shifter
);
25288 resultobj
= PyNumber_Or(shifted
, lo
);
25291 Py_DECREF(shifter
);
25292 Py_DECREF(shifted
);
25300 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25303 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25304 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25306 bool temp2
= false ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "self",(char *) "format", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25315 if (SWIG_arg_fail(1)) SWIG_fail
;
25318 arg2
= wxString_in_helper(obj1
);
25319 if (arg2
== NULL
) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25351 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25354 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25356 return Py_BuildValue((char *)"");
25358 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 int arg1
= (int) 0 ;
25361 int arg2
= (int) 0 ;
25362 int arg3
= (int) 0 ;
25363 int arg4
= (int) 0 ;
25364 wxDateSpan
*result
;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 PyObject
* obj3
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25376 arg1
= (int)(SWIG_As_int(obj0
));
25377 if (SWIG_arg_fail(1)) SWIG_fail
;
25382 arg2
= (int)(SWIG_As_int(obj1
));
25383 if (SWIG_arg_fail(2)) SWIG_fail
;
25388 arg3
= (int)(SWIG_As_int(obj2
));
25389 if (SWIG_arg_fail(3)) SWIG_fail
;
25394 arg4
= (int)(SWIG_As_int(obj3
));
25395 if (SWIG_arg_fail(4)) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25412 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25415 PyObject
* obj0
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25422 if (SWIG_arg_fail(1)) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 Py_INCREF(Py_None
); resultobj
= Py_None
;
25437 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25441 PyObject
* obj0
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "days", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25448 arg1
= (int)(SWIG_As_int(obj0
));
25449 if (SWIG_arg_fail(1)) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= wxDateSpan::Days(arg1
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 wxDateSpan
* resultptr
;
25460 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25469 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25472 char *kwnames
[] = {
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= wxDateSpan::Day();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 wxDateSpan
* resultptr
;
25486 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25495 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25499 PyObject
* obj0
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "weeks", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25506 arg1
= (int)(SWIG_As_int(obj0
));
25507 if (SWIG_arg_fail(1)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= wxDateSpan::Weeks(arg1
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 wxDateSpan
* resultptr
;
25518 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25527 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25530 char *kwnames
[] = {
25534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= wxDateSpan::Week();
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25543 wxDateSpan
* resultptr
;
25544 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25553 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25557 PyObject
* obj0
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "mon", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25564 arg1
= (int)(SWIG_As_int(obj0
));
25565 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= wxDateSpan::Months(arg1
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 wxDateSpan
* resultptr
;
25576 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25585 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
;
25588 char *kwnames
[] = {
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= wxDateSpan::Month();
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 wxDateSpan
* resultptr
;
25602 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25611 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "years", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25622 arg1
= (int)(SWIG_As_int(obj0
));
25623 if (SWIG_arg_fail(1)) SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 result
= wxDateSpan::Years(arg1
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25633 wxDateSpan
* resultptr
;
25634 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25643 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25646 char *kwnames
[] = {
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= wxDateSpan::Year();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25659 wxDateSpan
* resultptr
;
25660 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25669 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25673 wxDateSpan
*result
;
25674 PyObject
* obj0
= 0 ;
25675 PyObject
* obj1
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self",(char *) "n", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25682 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 arg2
= (int)(SWIG_As_int(obj1
));
25685 if (SWIG_arg_fail(2)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25691 result
= (wxDateSpan
*) &_result_ref
;
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25704 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25708 wxDateSpan
*result
;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "n", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25717 if (SWIG_arg_fail(1)) SWIG_fail
;
25719 arg2
= (int)(SWIG_As_int(obj1
));
25720 if (SWIG_arg_fail(2)) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25726 result
= (wxDateSpan
*) &_result_ref
;
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25739 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25743 wxDateSpan
*result
;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "n", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail
;
25754 arg2
= (int)(SWIG_As_int(obj1
));
25755 if (SWIG_arg_fail(2)) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25761 result
= (wxDateSpan
*) &_result_ref
;
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25774 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25778 wxDateSpan
*result
;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "n", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 arg2
= (int)(SWIG_As_int(obj1
));
25790 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25796 result
= (wxDateSpan
*) &_result_ref
;
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25809 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_From_int((int)(result
));
25837 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_From_int((int)(result
));
25865 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25876 if (SWIG_arg_fail(1)) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_From_int((int)(result
));
25893 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25897 PyObject
* obj0
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_From_int((int)(result
));
25921 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25941 resultobj
= SWIG_From_int((int)(result
));
25949 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25950 PyObject
*resultobj
;
25951 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25952 wxDateSpan
*arg2
= 0 ;
25953 wxDateSpan
*result
;
25954 PyObject
* obj0
= 0 ;
25955 PyObject
* obj1
= 0 ;
25956 char *kwnames
[] = {
25957 (char *) "self",(char *) "other", NULL
25960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25962 if (SWIG_arg_fail(1)) SWIG_fail
;
25964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(2)) SWIG_fail
;
25966 if (arg2
== NULL
) {
25967 SWIG_null_ref("wxDateSpan");
25969 if (SWIG_arg_fail(2)) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25975 result
= (wxDateSpan
*) &_result_ref
;
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25988 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25991 wxDateSpan
*arg2
= 0 ;
25992 wxDateSpan
*result
;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self",(char *) "other", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
26000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26001 if (SWIG_arg_fail(1)) SWIG_fail
;
26003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(2)) SWIG_fail
;
26005 if (arg2
== NULL
) {
26006 SWIG_null_ref("wxDateSpan");
26008 if (SWIG_arg_fail(2)) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26014 result
= (wxDateSpan
*) &_result_ref
;
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26027 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26030 wxDateSpan
*result
;
26031 PyObject
* obj0
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26043 result
= (wxDateSpan
*) &_result_ref
;
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26056 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
;
26058 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26060 wxDateSpan
*result
;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "factor", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(1)) SWIG_fail
;
26071 arg2
= (int)(SWIG_As_int(obj1
));
26072 if (SWIG_arg_fail(2)) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26078 result
= (wxDateSpan
*) &_result_ref
;
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26091 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26094 wxDateSpan
*arg2
= 0 ;
26095 wxDateSpan
*result
;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "other", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26107 if (SWIG_arg_fail(2)) SWIG_fail
;
26108 if (arg2
== NULL
) {
26109 SWIG_null_ref("wxDateSpan");
26111 if (SWIG_arg_fail(2)) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26117 result
= (wxDateSpan
*) &_result_ref
;
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26130 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26133 wxDateSpan
*arg2
= 0 ;
26134 wxDateSpan
*result
;
26135 PyObject
* obj0
= 0 ;
26136 PyObject
* obj1
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self",(char *) "other", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26143 if (SWIG_arg_fail(1)) SWIG_fail
;
26145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(2)) SWIG_fail
;
26147 if (arg2
== NULL
) {
26148 SWIG_null_ref("wxDateSpan");
26150 if (SWIG_arg_fail(2)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26156 result
= (wxDateSpan
*) &_result_ref
;
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26169 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26172 wxDateSpan
*result
;
26173 PyObject
* obj0
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26180 if (SWIG_arg_fail(1)) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26185 result
= (wxDateSpan
*) &_result_ref
;
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26198 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26199 PyObject
*resultobj
;
26200 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26202 wxDateSpan
*result
;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self",(char *) "factor", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26211 if (SWIG_arg_fail(1)) SWIG_fail
;
26213 arg2
= (int)(SWIG_As_int(obj1
));
26214 if (SWIG_arg_fail(2)) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26220 result
= (wxDateSpan
*) &_result_ref
;
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26233 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26236 wxDateSpan
*arg2
= 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self",(char *) "other", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(1)) SWIG_fail
;
26248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26249 if (SWIG_arg_fail(2)) SWIG_fail
;
26250 if (arg2
== NULL
) {
26251 SWIG_null_ref("wxDateSpan");
26253 if (SWIG_arg_fail(2)) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26263 wxDateSpan
* resultptr
;
26264 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26273 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26276 wxDateSpan
*arg2
= 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "other", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail
;
26288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26289 if (SWIG_arg_fail(2)) SWIG_fail
;
26290 if (arg2
== NULL
) {
26291 SWIG_null_ref("wxDateSpan");
26293 if (SWIG_arg_fail(2)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 wxDateSpan
* resultptr
;
26304 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26313 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "n", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(1)) SWIG_fail
;
26328 arg2
= (int)(SWIG_As_int(obj1
));
26329 if (SWIG_arg_fail(2)) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= wxDateSpan___mul__(arg1
,arg2
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26339 wxDateSpan
* resultptr
;
26340 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26349 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self",(char *) "n", NULL
26360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26362 if (SWIG_arg_fail(1)) SWIG_fail
;
26364 arg2
= (int)(SWIG_As_int(obj1
));
26365 if (SWIG_arg_fail(2)) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= wxDateSpan___rmul__(arg1
,arg2
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 wxDateSpan
* resultptr
;
26376 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26385 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26388 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "other", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26398 if (SWIG_arg_fail(1)) SWIG_fail
;
26399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26400 if (SWIG_arg_fail(2)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26417 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26420 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 char *kwnames
[] = {
26425 (char *) "self",(char *) "other", NULL
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26430 if (SWIG_arg_fail(1)) SWIG_fail
;
26431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(2)) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26449 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26452 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26454 return Py_BuildValue((char *)"");
26456 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26459 char *kwnames
[] = {
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (long)wxGetLocalTime();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_From_long((long)(result
));
26480 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
;
26483 char *kwnames
[] = {
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (long)wxGetUTCTime();
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_From_long((long)(result
));
26504 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26507 char *kwnames
[] = {
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= (long)wxGetCurrentTime();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_From_long((long)(result
));
26528 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26531 char *kwnames
[] = {
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= wxGetLocalTimeMillis();
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26544 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26545 hi
= PyLong_FromLong( (&result
)->GetHi() );
26546 lo
= PyLong_FromLong( (&result
)->GetLo() );
26547 shifter
= PyLong_FromLong(32);
26548 shifted
= PyNumber_Lshift(hi
, shifter
);
26549 resultobj
= PyNumber_Or(shifted
, lo
);
26552 Py_DECREF(shifter
);
26553 Py_DECREF(shifted
);
26561 static int _wrap_DefaultDateTime_set(PyObject
*) {
26562 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26567 static PyObject
*_wrap_DefaultDateTime_get(void) {
26570 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26575 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxDataFormatId arg1
;
26578 wxDataFormat
*result
;
26579 PyObject
* obj0
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "type", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26586 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26587 if (SWIG_arg_fail(1)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26603 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxString
*arg1
= 0 ;
26606 wxDataFormat
*result
;
26607 bool temp1
= false ;
26608 PyObject
* obj0
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "format", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26615 arg1
= wxString_in_helper(obj0
);
26616 if (arg1
== NULL
) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26641 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26666 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26667 PyObject
*resultobj
;
26668 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26669 wxDataFormatId arg2
;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26674 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26676 if (SWIG_arg_fail(1)) SWIG_fail
;
26678 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26679 if (SWIG_arg_fail(2)) SWIG_fail
;
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26697 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26698 PyObject
*resultobj
;
26699 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26700 wxDataFormatId arg2
;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26705 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26707 if (SWIG_arg_fail(1)) SWIG_fail
;
26709 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26710 if (SWIG_arg_fail(2)) SWIG_fail
;
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26728 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26729 PyObject
*resultobj
;
26730 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26731 wxDataFormat
*arg2
= 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26736 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(1)) SWIG_fail
;
26740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26741 if (SWIG_arg_fail(2)) SWIG_fail
;
26742 if (arg2
== NULL
) {
26743 SWIG_null_ref("wxDataFormat");
26745 if (SWIG_arg_fail(2)) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26763 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26768 argc
= PyObject_Length(args
);
26769 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26770 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26776 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26786 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26794 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26802 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26810 _v
= SWIG_Check_int(argv
[1]);
26812 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26817 Py_INCREF(Py_NotImplemented
);
26818 return Py_NotImplemented
;
26822 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26823 PyObject
*resultobj
;
26824 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26825 wxDataFormat
*arg2
= 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26830 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26832 if (SWIG_arg_fail(1)) SWIG_fail
;
26834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26835 if (SWIG_arg_fail(2)) SWIG_fail
;
26836 if (arg2
== NULL
) {
26837 SWIG_null_ref("wxDataFormat");
26839 if (SWIG_arg_fail(2)) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26857 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26862 argc
= PyObject_Length(args
);
26863 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26864 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26870 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26880 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26888 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26896 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26904 _v
= SWIG_Check_int(argv
[1]);
26906 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26911 Py_INCREF(Py_NotImplemented
);
26912 return Py_NotImplemented
;
26916 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
;
26918 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26919 wxDataFormatId arg2
;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "format", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail
;
26930 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26931 if (SWIG_arg_fail(2)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 (arg1
)->SetType((wxDataFormatId
)arg2
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 Py_INCREF(Py_None
); resultobj
= Py_None
;
26947 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26950 wxDataFormatId result
;
26951 PyObject
* obj0
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= SWIG_From_int((result
));
26973 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26984 if (SWIG_arg_fail(1)) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= ((wxDataFormat
const *)arg1
)->GetId();
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27005 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27008 wxString
*arg2
= 0 ;
27009 bool temp2
= false ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "format", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail
;
27020 arg2
= wxString_in_helper(obj1
);
27021 if (arg2
== NULL
) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 (arg1
)->SetId((wxString
const &)*arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 Py_INCREF(Py_None
); resultobj
= Py_None
;
27046 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27049 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27051 return Py_BuildValue((char *)"");
27053 static int _wrap_FormatInvalid_set(PyObject
*) {
27054 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27059 static PyObject
*_wrap_FormatInvalid_get(void) {
27062 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27067 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27070 PyObject
* obj0
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27077 if (SWIG_arg_fail(1)) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 Py_INCREF(Py_None
); resultobj
= Py_None
;
27092 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27095 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27096 SwigValueWrapper
<wxDataFormat
> result
;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self",(char *) "dir", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27105 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27109 if (SWIG_arg_fail(2)) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 wxDataFormat
* resultptr
;
27121 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27130 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27133 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "dir", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27146 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27147 if (SWIG_arg_fail(2)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27166 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27169 wxDataFormat
*arg2
= 0 ;
27170 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 PyObject
* obj2
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "format",(char *) "dir", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(1)) SWIG_fail
;
27183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27184 if (SWIG_arg_fail(2)) SWIG_fail
;
27185 if (arg2
== NULL
) {
27186 SWIG_null_ref("wxDataFormat");
27188 if (SWIG_arg_fail(2)) SWIG_fail
;
27192 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27193 if (SWIG_arg_fail(3)) SWIG_fail
;
27197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27198 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27200 wxPyEndAllowThreads(__tstate
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27212 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27215 wxDataFormat
*arg2
= 0 ;
27217 PyObject
* obj0
= 0 ;
27218 PyObject
* obj1
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self",(char *) "format", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27225 if (SWIG_arg_fail(1)) SWIG_fail
;
27227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27228 if (SWIG_arg_fail(2)) SWIG_fail
;
27229 if (arg2
== NULL
) {
27230 SWIG_null_ref("wxDataFormat");
27232 if (SWIG_arg_fail(2)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27250 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
;
27252 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27253 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "dir", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27267 if (SWIG_arg_fail(2)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= result
;
27284 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27287 wxDataFormat
*arg2
= 0 ;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "self",(char *) "format", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27297 if (SWIG_arg_fail(1)) SWIG_fail
;
27299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27300 if (SWIG_arg_fail(2)) SWIG_fail
;
27301 if (arg2
== NULL
) {
27302 SWIG_null_ref("wxDataFormat");
27304 if (SWIG_arg_fail(2)) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= result
;
27320 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27323 wxDataFormat
*arg2
= 0 ;
27324 PyObject
*arg3
= (PyObject
*) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 PyObject
* obj2
= 0 ;
27329 char *kwnames
[] = {
27330 (char *) "self",(char *) "format",(char *) "data", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27335 if (SWIG_arg_fail(1)) SWIG_fail
;
27337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27338 if (SWIG_arg_fail(2)) SWIG_fail
;
27339 if (arg2
== NULL
) {
27340 SWIG_null_ref("wxDataFormat");
27342 if (SWIG_arg_fail(2)) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27364 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27366 return Py_BuildValue((char *)"");
27368 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27371 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27372 wxDataObjectSimple
*result
;
27373 PyObject
* obj0
= 0 ;
27374 char *kwnames
[] = {
27375 (char *) "format", NULL
27378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail
;
27383 if (arg1
== NULL
) {
27384 SWIG_null_ref("wxDataFormat");
27386 if (SWIG_arg_fail(1)) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27403 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27405 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27406 wxDataFormat
*result
;
27407 PyObject
* obj0
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(1)) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27419 result
= (wxDataFormat
*) &_result_ref
;
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27432 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27435 wxDataFormat
*arg2
= 0 ;
27436 PyObject
* obj0
= 0 ;
27437 PyObject
* obj1
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self",(char *) "format", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27444 if (SWIG_arg_fail(1)) SWIG_fail
;
27446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27447 if (SWIG_arg_fail(2)) SWIG_fail
;
27448 if (arg2
== NULL
) {
27449 SWIG_null_ref("wxDataFormat");
27451 if (SWIG_arg_fail(2)) SWIG_fail
;
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 Py_INCREF(Py_None
); resultobj
= Py_None
;
27467 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
;
27469 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27471 PyObject
* obj0
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "self", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27478 if (SWIG_arg_fail(1)) SWIG_fail
;
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27487 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27495 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27496 PyObject
*resultobj
;
27497 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27499 PyObject
* obj0
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= result
;
27521 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27524 PyObject
*arg2
= (PyObject
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "data", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27552 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27555 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27557 return Py_BuildValue((char *)"");
27559 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27562 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27563 wxPyDataObjectSimple
*result
;
27564 PyObject
* obj0
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "format", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27573 if (SWIG_arg_fail(1)) SWIG_fail
;
27574 if (arg1
== NULL
) {
27575 SWIG_null_ref("wxDataFormat");
27577 if (SWIG_arg_fail(1)) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27584 wxPyEndAllowThreads(__tstate
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27594 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27597 PyObject
*arg2
= (PyObject
*) 0 ;
27598 PyObject
*arg3
= (PyObject
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 char *kwnames
[] = {
27603 (char *) "self",(char *) "self",(char *) "_class", NULL
27606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27608 if (SWIG_arg_fail(1)) SWIG_fail
;
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27615 wxPyEndAllowThreads(__tstate
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 Py_INCREF(Py_None
); resultobj
= Py_None
;
27625 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27628 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27630 return Py_BuildValue((char *)"");
27632 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxDataObjectComposite
*result
;
27635 char *kwnames
[] = {
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27654 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27657 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27658 bool arg3
= (bool) false ;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 PyObject
* obj2
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27668 if (SWIG_arg_fail(1)) SWIG_fail
;
27669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27670 if (SWIG_arg_fail(2)) SWIG_fail
;
27673 arg3
= (bool)(SWIG_As_bool(obj2
));
27674 if (SWIG_arg_fail(3)) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->Add(arg2
,arg3
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27694 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27696 return Py_BuildValue((char *)"");
27698 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27701 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27702 wxTextDataObject
*result
;
27703 bool temp1
= false ;
27704 PyObject
* obj0
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "text", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27712 arg1
= wxString_in_helper(obj0
);
27713 if (arg1
== NULL
) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27739 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27743 PyObject
* obj0
= 0 ;
27744 char *kwnames
[] = {
27745 (char *) "self", NULL
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27750 if (SWIG_arg_fail(1)) SWIG_fail
;
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 result
= (size_t)(arg1
)->GetTextLength();
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27767 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27771 PyObject
* obj0
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27778 if (SWIG_arg_fail(1)) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (arg1
)->GetText();
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27799 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27802 wxString
*arg2
= 0 ;
27803 bool temp2
= false ;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "text", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail
;
27814 arg2
= wxString_in_helper(obj1
);
27815 if (arg2
== NULL
) SWIG_fail
;
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 (arg1
)->SetText((wxString
const &)*arg2
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27843 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27845 return Py_BuildValue((char *)"");
27847 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27850 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27851 wxPyTextDataObject
*result
;
27852 bool temp1
= false ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "text", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27861 arg1
= wxString_in_helper(obj0
);
27862 if (arg1
== NULL
) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27888 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27891 PyObject
*arg2
= (PyObject
*) 0 ;
27892 PyObject
*arg3
= (PyObject
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 PyObject
* obj1
= 0 ;
27895 PyObject
* obj2
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "self",(char *) "self",(char *) "_class", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27902 if (SWIG_arg_fail(1)) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27912 Py_INCREF(Py_None
); resultobj
= Py_None
;
27919 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27922 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27924 return Py_BuildValue((char *)"");
27926 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
;
27928 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27929 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27930 wxBitmapDataObject
*result
;
27931 PyObject
* obj0
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "bitmap", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail
;
27941 if (arg1
== NULL
) {
27942 SWIG_null_ref("wxBitmap");
27944 if (SWIG_arg_fail(1)) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27961 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27972 if (SWIG_arg_fail(1)) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27981 wxBitmap
* resultptr
;
27982 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27991 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
;
27993 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27994 wxBitmap
*arg2
= 0 ;
27995 PyObject
* obj0
= 0 ;
27996 PyObject
* obj1
= 0 ;
27997 char *kwnames
[] = {
27998 (char *) "self",(char *) "bitmap", NULL
28001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28003 if (SWIG_arg_fail(1)) SWIG_fail
;
28005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28006 if (SWIG_arg_fail(2)) SWIG_fail
;
28007 if (arg2
== NULL
) {
28008 SWIG_null_ref("wxBitmap");
28010 if (SWIG_arg_fail(2)) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 Py_INCREF(Py_None
); resultobj
= Py_None
;
28026 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28029 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28031 return Py_BuildValue((char *)"");
28033 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28036 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28037 wxPyBitmapDataObject
*result
;
28038 PyObject
* obj0
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "bitmap", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28047 if (SWIG_arg_fail(1)) SWIG_fail
;
28048 if (arg1
== NULL
) {
28049 SWIG_null_ref("wxBitmap");
28051 if (SWIG_arg_fail(1)) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28068 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28071 PyObject
*arg2
= (PyObject
*) 0 ;
28072 PyObject
*arg3
= (PyObject
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 PyObject
* obj2
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "self",(char *) "self",(char *) "_class", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28082 if (SWIG_arg_fail(1)) SWIG_fail
;
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 Py_INCREF(Py_None
); resultobj
= Py_None
;
28099 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28102 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28104 return Py_BuildValue((char *)"");
28106 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxFileDataObject
*result
;
28109 char *kwnames
[] = {
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (wxFileDataObject
*)new wxFileDataObject();
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28128 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28131 wxArrayString
*result
;
28132 PyObject
* obj0
= 0 ;
28133 char *kwnames
[] = {
28134 (char *) "self", NULL
28137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28139 if (SWIG_arg_fail(1)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28144 result
= (wxArrayString
*) &_result_ref
;
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= wxArrayString2PyList_helper(*result
);
28159 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28162 wxString
*arg2
= 0 ;
28163 bool temp2
= false ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "filename", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28172 if (SWIG_arg_fail(1)) SWIG_fail
;
28174 arg2
= wxString_in_helper(obj1
);
28175 if (arg2
== NULL
) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 (arg1
)->AddFile((wxString
const &)*arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 Py_INCREF(Py_None
); resultobj
= Py_None
;
28200 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28203 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28205 return Py_BuildValue((char *)"");
28207 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28208 PyObject
*resultobj
;
28209 wxDataFormat
*arg1
= 0 ;
28210 wxCustomDataObject
*result
;
28211 PyObject
* obj0
= 0 ;
28213 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28216 if (SWIG_arg_fail(1)) SWIG_fail
;
28217 if (arg1
== NULL
) {
28218 SWIG_null_ref("wxDataFormat");
28220 if (SWIG_arg_fail(1)) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28236 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28237 PyObject
*resultobj
;
28238 wxString
*arg1
= 0 ;
28239 wxCustomDataObject
*result
;
28240 bool temp1
= false ;
28241 PyObject
* obj0
= 0 ;
28243 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28245 arg1
= wxString_in_helper(obj0
);
28246 if (arg1
== NULL
) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28271 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28272 PyObject
*resultobj
;
28273 wxCustomDataObject
*result
;
28275 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28290 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28295 argc
= PyObject_Length(args
);
28296 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28297 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28300 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28305 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28308 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28315 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28323 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28327 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28332 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28335 PyObject
*arg2
= (PyObject
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self",(char *) "data", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28363 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
;
28365 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28367 PyObject
* obj0
= 0 ;
28368 char *kwnames
[] = {
28369 (char *) "self", NULL
28372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28374 if (SWIG_arg_fail(1)) SWIG_fail
;
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 result
= (size_t)(arg1
)->GetSize();
28379 wxPyEndAllowThreads(__tstate
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28391 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
;
28393 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28395 PyObject
* obj0
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "self", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28402 if (SWIG_arg_fail(1)) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= result
;
28417 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28420 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28422 return Py_BuildValue((char *)"");
28424 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxURLDataObject
*result
;
28427 char *kwnames
[] = {
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (wxURLDataObject
*)new wxURLDataObject();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28446 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28448 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28450 PyObject
* obj0
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28457 if (SWIG_arg_fail(1)) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (arg1
)->GetURL();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28478 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28481 wxString
*arg2
= 0 ;
28482 bool temp2
= false ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "url", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28491 if (SWIG_arg_fail(1)) SWIG_fail
;
28493 arg2
= wxString_in_helper(obj1
);
28494 if (arg2
== NULL
) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 (arg1
)->SetURL((wxString
const &)*arg2
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 Py_INCREF(Py_None
); resultobj
= Py_None
;
28519 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28522 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28524 return Py_BuildValue((char *)"");
28526 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
;
28528 wxMetafileDataObject
*result
;
28529 char *kwnames
[] = {
28533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28548 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28551 wxMetafile
*arg2
= 0 ;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 char *kwnames
[] = {
28555 (char *) "self",(char *) "metafile", NULL
28558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28560 if (SWIG_arg_fail(1)) SWIG_fail
;
28562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28563 if (SWIG_arg_fail(2)) SWIG_fail
;
28564 if (arg2
== NULL
) {
28565 SWIG_null_ref("wxMetafile");
28567 if (SWIG_arg_fail(2)) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28583 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28587 PyObject
* obj0
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28594 if (SWIG_arg_fail(1)) SWIG_fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28603 wxMetafile
* resultptr
;
28604 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28613 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28616 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28618 return Py_BuildValue((char *)"");
28620 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxDragResult arg1
;
28624 PyObject
* obj0
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "res", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28631 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28632 if (SWIG_arg_fail(1)) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28650 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
;
28652 wxWindow
*arg1
= (wxWindow
*) 0 ;
28653 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28654 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28655 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28656 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28657 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28658 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28659 wxPyDropSource
*result
;
28660 PyObject
* obj0
= 0 ;
28661 PyObject
* obj1
= 0 ;
28662 PyObject
* obj2
= 0 ;
28663 PyObject
* obj3
= 0 ;
28664 char *kwnames
[] = {
28665 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28670 if (SWIG_arg_fail(1)) SWIG_fail
;
28673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28674 if (SWIG_arg_fail(2)) SWIG_fail
;
28675 if (arg2
== NULL
) {
28676 SWIG_null_ref("wxCursor");
28678 if (SWIG_arg_fail(2)) SWIG_fail
;
28683 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28684 if (SWIG_arg_fail(3)) SWIG_fail
;
28685 if (arg3
== NULL
) {
28686 SWIG_null_ref("wxCursor");
28688 if (SWIG_arg_fail(3)) SWIG_fail
;
28693 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28694 if (SWIG_arg_fail(4)) SWIG_fail
;
28695 if (arg4
== NULL
) {
28696 SWIG_null_ref("wxCursor");
28698 if (SWIG_arg_fail(4)) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28715 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28718 PyObject
*arg2
= (PyObject
*) 0 ;
28719 PyObject
*arg3
= (PyObject
*) 0 ;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 PyObject
* obj2
= 0 ;
28724 PyObject
* obj3
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail
;
28735 arg4
= (int)(SWIG_As_int(obj3
));
28736 if (SWIG_arg_fail(4)) SWIG_fail
;
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28742 wxPyEndAllowThreads(__tstate
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 Py_INCREF(Py_None
); resultobj
= Py_None
;
28752 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
;
28754 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28755 PyObject
* obj0
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28762 if (SWIG_arg_fail(1)) SWIG_fail
;
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28770 Py_INCREF(Py_None
); resultobj
= Py_None
;
28777 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28780 wxDataObject
*arg2
= 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "data", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28789 if (SWIG_arg_fail(1)) SWIG_fail
;
28791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(2)) SWIG_fail
;
28793 if (arg2
== NULL
) {
28794 SWIG_null_ref("wxDataObject");
28796 if (SWIG_arg_fail(2)) SWIG_fail
;
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 (arg1
)->SetData(*arg2
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28805 Py_INCREF(Py_None
); resultobj
= Py_None
;
28812 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
;
28814 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28815 wxDataObject
*result
;
28816 PyObject
* obj0
= 0 ;
28817 char *kwnames
[] = {
28818 (char *) "self", NULL
28821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28823 if (SWIG_arg_fail(1)) SWIG_fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28838 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
;
28840 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28841 wxDragResult arg2
;
28842 wxCursor
*arg3
= 0 ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "self",(char *) "res",(char *) "cursor", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28852 if (SWIG_arg_fail(1)) SWIG_fail
;
28854 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28855 if (SWIG_arg_fail(2)) SWIG_fail
;
28858 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28859 if (SWIG_arg_fail(3)) SWIG_fail
;
28860 if (arg3
== NULL
) {
28861 SWIG_null_ref("wxCursor");
28863 if (SWIG_arg_fail(3)) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 Py_INCREF(Py_None
); resultobj
= Py_None
;
28879 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28882 int arg2
= (int) wxDrag_CopyOnly
;
28883 wxDragResult result
;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self",(char *) "flags", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28892 if (SWIG_arg_fail(1)) SWIG_fail
;
28895 arg2
= (int)(SWIG_As_int(obj1
));
28896 if (SWIG_arg_fail(2)) SWIG_fail
;
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_From_int((result
));
28913 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28916 wxDragResult arg2
;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 char *kwnames
[] = {
28921 (char *) "self",(char *) "effect", NULL
28924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28926 if (SWIG_arg_fail(1)) SWIG_fail
;
28928 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28929 if (SWIG_arg_fail(2)) SWIG_fail
;
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28947 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28950 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28952 return Py_BuildValue((char *)"");
28954 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
;
28956 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28957 wxPyDropTarget
*result
;
28958 PyObject
* obj0
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "dataObject", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28966 if (SWIG_arg_fail(1)) SWIG_fail
;
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28982 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28983 PyObject
*resultobj
;
28984 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28985 PyObject
*arg2
= (PyObject
*) 0 ;
28986 PyObject
*arg3
= (PyObject
*) 0 ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 PyObject
* obj2
= 0 ;
28990 char *kwnames
[] = {
28991 (char *) "self",(char *) "self",(char *) "_class", NULL
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29006 Py_INCREF(Py_None
); resultobj
= Py_None
;
29013 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29014 PyObject
*resultobj
;
29015 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29016 PyObject
* obj0
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29023 if (SWIG_arg_fail(1)) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29038 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29041 wxDataObject
*result
;
29042 PyObject
* obj0
= 0 ;
29043 char *kwnames
[] = {
29044 (char *) "self", NULL
29047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29049 if (SWIG_arg_fail(1)) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29064 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29067 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 char *kwnames
[] = {
29071 (char *) "self",(char *) "dataObject", NULL
29074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29076 if (SWIG_arg_fail(1)) SWIG_fail
;
29077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29078 if (SWIG_arg_fail(2)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 (arg1
)->SetDataObject(arg2
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 Py_INCREF(Py_None
); resultobj
= Py_None
;
29093 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
;
29095 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29098 wxDragResult arg4
;
29099 wxDragResult result
;
29100 PyObject
* obj0
= 0 ;
29101 PyObject
* obj1
= 0 ;
29102 PyObject
* obj2
= 0 ;
29103 PyObject
* obj3
= 0 ;
29104 char *kwnames
[] = {
29105 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29110 if (SWIG_arg_fail(1)) SWIG_fail
;
29112 arg2
= (int)(SWIG_As_int(obj1
));
29113 if (SWIG_arg_fail(2)) SWIG_fail
;
29116 arg3
= (int)(SWIG_As_int(obj2
));
29117 if (SWIG_arg_fail(3)) SWIG_fail
;
29120 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29121 if (SWIG_arg_fail(4)) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= SWIG_From_int((result
));
29137 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
;
29139 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29142 wxDragResult arg4
;
29143 wxDragResult result
;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 PyObject
* obj2
= 0 ;
29147 PyObject
* obj3
= 0 ;
29148 char *kwnames
[] = {
29149 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29154 if (SWIG_arg_fail(1)) SWIG_fail
;
29156 arg2
= (int)(SWIG_As_int(obj1
));
29157 if (SWIG_arg_fail(2)) SWIG_fail
;
29160 arg3
= (int)(SWIG_As_int(obj2
));
29161 if (SWIG_arg_fail(3)) SWIG_fail
;
29164 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29165 if (SWIG_arg_fail(4)) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_From_int((result
));
29181 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29184 PyObject
* obj0
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(1)) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 (arg1
)->base_OnLeave();
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 Py_INCREF(Py_None
); resultobj
= Py_None
;
29206 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 PyObject
* obj2
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self",(char *) "x",(char *) "y", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail
;
29223 arg2
= (int)(SWIG_As_int(obj1
));
29224 if (SWIG_arg_fail(2)) SWIG_fail
;
29227 arg3
= (int)(SWIG_As_int(obj2
));
29228 if (SWIG_arg_fail(3)) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29246 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29250 PyObject
* obj0
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)(arg1
)->GetData();
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29274 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29277 wxDragResult arg2
;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "action", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29286 if (SWIG_arg_fail(1)) SWIG_fail
;
29288 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29289 if (SWIG_arg_fail(2)) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 Py_INCREF(Py_None
); resultobj
= Py_None
;
29305 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29308 wxDragResult result
;
29309 PyObject
* obj0
= 0 ;
29310 char *kwnames
[] = {
29311 (char *) "self", NULL
29314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29316 if (SWIG_arg_fail(1)) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= SWIG_From_int((result
));
29331 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29334 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29336 return Py_BuildValue((char *)"");
29338 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29339 PyObject
*resultobj
;
29340 wxPyTextDropTarget
*result
;
29341 char *kwnames
[] = {
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29360 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29363 PyObject
*arg2
= (PyObject
*) 0 ;
29364 PyObject
*arg3
= (PyObject
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 PyObject
* obj2
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "self",(char *) "_class", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29374 if (SWIG_arg_fail(1)) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 Py_INCREF(Py_None
); resultobj
= Py_None
;
29391 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
;
29393 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29396 wxDragResult arg4
;
29397 wxDragResult result
;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 PyObject
* obj3
= 0 ;
29402 char *kwnames
[] = {
29403 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29408 if (SWIG_arg_fail(1)) SWIG_fail
;
29410 arg2
= (int)(SWIG_As_int(obj1
));
29411 if (SWIG_arg_fail(2)) SWIG_fail
;
29414 arg3
= (int)(SWIG_As_int(obj2
));
29415 if (SWIG_arg_fail(3)) SWIG_fail
;
29418 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29419 if (SWIG_arg_fail(4)) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_From_int((result
));
29435 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29440 wxDragResult arg4
;
29441 wxDragResult result
;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 PyObject
* obj2
= 0 ;
29445 PyObject
* obj3
= 0 ;
29446 char *kwnames
[] = {
29447 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29452 if (SWIG_arg_fail(1)) SWIG_fail
;
29454 arg2
= (int)(SWIG_As_int(obj1
));
29455 if (SWIG_arg_fail(2)) SWIG_fail
;
29458 arg3
= (int)(SWIG_As_int(obj2
));
29459 if (SWIG_arg_fail(3)) SWIG_fail
;
29462 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29463 if (SWIG_arg_fail(4)) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29472 resultobj
= SWIG_From_int((result
));
29479 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
;
29481 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29482 PyObject
* obj0
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "self", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29489 if (SWIG_arg_fail(1)) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 (arg1
)->base_OnLeave();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 Py_INCREF(Py_None
); resultobj
= Py_None
;
29504 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29510 PyObject
* obj0
= 0 ;
29511 PyObject
* obj1
= 0 ;
29512 PyObject
* obj2
= 0 ;
29513 char *kwnames
[] = {
29514 (char *) "self",(char *) "x",(char *) "y", NULL
29517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29519 if (SWIG_arg_fail(1)) SWIG_fail
;
29521 arg2
= (int)(SWIG_As_int(obj1
));
29522 if (SWIG_arg_fail(2)) SWIG_fail
;
29525 arg3
= (int)(SWIG_As_int(obj2
));
29526 if (SWIG_arg_fail(3)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29544 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
;
29546 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29549 wxDragResult arg4
;
29550 wxDragResult result
;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 PyObject
* obj2
= 0 ;
29554 PyObject
* obj3
= 0 ;
29555 char *kwnames
[] = {
29556 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29561 if (SWIG_arg_fail(1)) SWIG_fail
;
29563 arg2
= (int)(SWIG_As_int(obj1
));
29564 if (SWIG_arg_fail(2)) SWIG_fail
;
29567 arg3
= (int)(SWIG_As_int(obj2
));
29568 if (SWIG_arg_fail(3)) SWIG_fail
;
29571 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29572 if (SWIG_arg_fail(4)) SWIG_fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= SWIG_From_int((result
));
29588 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29591 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29593 return Py_BuildValue((char *)"");
29595 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
;
29597 wxPyFileDropTarget
*result
;
29598 char *kwnames
[] = {
29602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29617 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
;
29619 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29620 PyObject
*arg2
= (PyObject
*) 0 ;
29621 PyObject
*arg3
= (PyObject
*) 0 ;
29622 PyObject
* obj0
= 0 ;
29623 PyObject
* obj1
= 0 ;
29624 PyObject
* obj2
= 0 ;
29625 char *kwnames
[] = {
29626 (char *) "self",(char *) "self",(char *) "_class", NULL
29629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29631 if (SWIG_arg_fail(1)) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 Py_INCREF(Py_None
); resultobj
= Py_None
;
29648 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29653 wxDragResult arg4
;
29654 wxDragResult result
;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 PyObject
* obj2
= 0 ;
29658 PyObject
* obj3
= 0 ;
29659 char *kwnames
[] = {
29660 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29665 if (SWIG_arg_fail(1)) SWIG_fail
;
29667 arg2
= (int)(SWIG_As_int(obj1
));
29668 if (SWIG_arg_fail(2)) SWIG_fail
;
29671 arg3
= (int)(SWIG_As_int(obj2
));
29672 if (SWIG_arg_fail(3)) SWIG_fail
;
29675 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29676 if (SWIG_arg_fail(4)) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= SWIG_From_int((result
));
29692 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29697 wxDragResult arg4
;
29698 wxDragResult result
;
29699 PyObject
* obj0
= 0 ;
29700 PyObject
* obj1
= 0 ;
29701 PyObject
* obj2
= 0 ;
29702 PyObject
* obj3
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(1)) SWIG_fail
;
29711 arg2
= (int)(SWIG_As_int(obj1
));
29712 if (SWIG_arg_fail(2)) SWIG_fail
;
29715 arg3
= (int)(SWIG_As_int(obj2
));
29716 if (SWIG_arg_fail(3)) SWIG_fail
;
29719 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29720 if (SWIG_arg_fail(4)) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= SWIG_From_int((result
));
29736 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29739 PyObject
* obj0
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 (arg1
)->base_OnLeave();
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 Py_INCREF(Py_None
); resultobj
= Py_None
;
29761 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
;
29763 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29767 PyObject
* obj0
= 0 ;
29768 PyObject
* obj1
= 0 ;
29769 PyObject
* obj2
= 0 ;
29770 char *kwnames
[] = {
29771 (char *) "self",(char *) "x",(char *) "y", NULL
29774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29776 if (SWIG_arg_fail(1)) SWIG_fail
;
29778 arg2
= (int)(SWIG_As_int(obj1
));
29779 if (SWIG_arg_fail(2)) SWIG_fail
;
29782 arg3
= (int)(SWIG_As_int(obj2
));
29783 if (SWIG_arg_fail(3)) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29801 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29806 wxDragResult arg4
;
29807 wxDragResult result
;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 PyObject
* obj2
= 0 ;
29811 PyObject
* obj3
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29818 if (SWIG_arg_fail(1)) SWIG_fail
;
29820 arg2
= (int)(SWIG_As_int(obj1
));
29821 if (SWIG_arg_fail(2)) SWIG_fail
;
29824 arg3
= (int)(SWIG_As_int(obj2
));
29825 if (SWIG_arg_fail(3)) SWIG_fail
;
29828 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29829 if (SWIG_arg_fail(4)) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= SWIG_From_int((result
));
29845 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29848 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29850 return Py_BuildValue((char *)"");
29852 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
;
29854 wxClipboard
*result
;
29855 char *kwnames
[] = {
29859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 result
= (wxClipboard
*)new wxClipboard();
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29874 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29877 PyObject
* obj0
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29884 if (SWIG_arg_fail(1)) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 Py_INCREF(Py_None
); resultobj
= Py_None
;
29899 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29903 PyObject
* obj0
= 0 ;
29904 char *kwnames
[] = {
29905 (char *) "self", NULL
29908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29910 if (SWIG_arg_fail(1)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= (bool)(arg1
)->Open();
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29927 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
;
29929 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29930 PyObject
* obj0
= 0 ;
29931 char *kwnames
[] = {
29932 (char *) "self", NULL
29935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29937 if (SWIG_arg_fail(1)) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 Py_INCREF(Py_None
); resultobj
= Py_None
;
29952 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
;
29954 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29956 PyObject
* obj0
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29963 if (SWIG_arg_fail(1)) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29980 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29983 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "data", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29993 if (SWIG_arg_fail(1)) SWIG_fail
;
29994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29995 if (SWIG_arg_fail(2)) SWIG_fail
;
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (bool)(arg1
)->AddData(arg2
);
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30012 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30015 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 char *kwnames
[] = {
30020 (char *) "self",(char *) "data", NULL
30023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30025 if (SWIG_arg_fail(1)) SWIG_fail
;
30026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30027 if (SWIG_arg_fail(2)) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= (bool)(arg1
)->SetData(arg2
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30044 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30045 PyObject
*resultobj
;
30046 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30047 wxDataFormat
*arg2
= 0 ;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "format", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(1)) SWIG_fail
;
30059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30060 if (SWIG_arg_fail(2)) SWIG_fail
;
30061 if (arg2
== NULL
) {
30062 SWIG_null_ref("wxDataFormat");
30064 if (SWIG_arg_fail(2)) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30082 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30085 wxDataObject
*arg2
= 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "data", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(1)) SWIG_fail
;
30097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30098 if (SWIG_arg_fail(2)) SWIG_fail
;
30099 if (arg2
== NULL
) {
30100 SWIG_null_ref("wxDataObject");
30102 if (SWIG_arg_fail(2)) SWIG_fail
;
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 result
= (bool)(arg1
)->GetData(*arg2
);
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30120 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
;
30122 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30123 PyObject
* obj0
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 Py_INCREF(Py_None
); resultobj
= Py_None
;
30145 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
;
30147 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30149 PyObject
* obj0
= 0 ;
30150 char *kwnames
[] = {
30151 (char *) "self", NULL
30154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30156 if (SWIG_arg_fail(1)) SWIG_fail
;
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 result
= (bool)(arg1
)->Flush();
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30173 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
;
30175 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30176 bool arg2
= (bool) true ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self",(char *) "primary", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30185 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 arg2
= (bool)(SWIG_As_bool(obj1
));
30189 if (SWIG_arg_fail(2)) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 (arg1
)->UsePrimarySelection(arg2
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 Py_INCREF(Py_None
); resultobj
= Py_None
;
30206 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
;
30208 wxClipboard
*result
;
30209 char *kwnames
[] = {
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (wxClipboard
*)wxClipboard::Get();
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30228 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30231 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30233 return Py_BuildValue((char *)"");
30235 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30238 wxClipboardLocker
*result
;
30239 PyObject
* obj0
= 0 ;
30240 char *kwnames
[] = {
30241 (char *) "clipboard", NULL
30244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30263 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30273 if (SWIG_arg_fail(1)) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30316 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30319 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30321 return Py_BuildValue((char *)"");
30323 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
;
30325 int arg1
= (int) 0 ;
30326 int arg2
= (int) 0 ;
30327 int arg3
= (int) 0 ;
30328 int arg4
= (int) 0 ;
30329 wxVideoMode
*result
;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 PyObject
* obj2
= 0 ;
30333 PyObject
* obj3
= 0 ;
30334 char *kwnames
[] = {
30335 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30341 arg1
= (int)(SWIG_As_int(obj0
));
30342 if (SWIG_arg_fail(1)) SWIG_fail
;
30347 arg2
= (int)(SWIG_As_int(obj1
));
30348 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 arg3
= (int)(SWIG_As_int(obj2
));
30354 if (SWIG_arg_fail(3)) SWIG_fail
;
30359 arg4
= (int)(SWIG_As_int(obj3
));
30360 if (SWIG_arg_fail(4)) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30377 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
;
30379 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30380 PyObject
* obj0
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 Py_INCREF(Py_None
); resultobj
= Py_None
;
30402 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
;
30404 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30405 wxVideoMode
*arg2
= 0 ;
30407 PyObject
* obj0
= 0 ;
30408 PyObject
* obj1
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self",(char *) "other", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail
;
30417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30418 if (SWIG_arg_fail(2)) SWIG_fail
;
30419 if (arg2
== NULL
) {
30420 SWIG_null_ref("wxVideoMode");
30422 if (SWIG_arg_fail(2)) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30440 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_From_int((int)(result
));
30468 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30479 if (SWIG_arg_fail(1)) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= SWIG_From_int((int)(result
));
30496 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30500 PyObject
* obj0
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30516 resultobj
= SWIG_From_int((int)(result
));
30524 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
;
30526 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30528 PyObject
* obj0
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "self", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30535 if (SWIG_arg_fail(1)) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30552 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30555 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char *kwnames
[] = {
30560 (char *) "self",(char *) "other", NULL
30563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30565 if (SWIG_arg_fail(1)) SWIG_fail
;
30566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30567 if (SWIG_arg_fail(2)) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30584 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
;
30586 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30587 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30589 PyObject
* obj0
= 0 ;
30590 PyObject
* obj1
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self",(char *) "other", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail
;
30598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30599 if (SWIG_arg_fail(2)) SWIG_fail
;
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30616 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
;
30618 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 char *kwnames
[] = {
30623 (char *) "self",(char *) "w", NULL
30626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30628 if (SWIG_arg_fail(1)) SWIG_fail
;
30630 arg2
= (int)(SWIG_As_int(obj1
));
30631 if (SWIG_arg_fail(2)) SWIG_fail
;
30633 if (arg1
) (arg1
)->w
= arg2
;
30635 Py_INCREF(Py_None
); resultobj
= Py_None
;
30642 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30646 PyObject
* obj0
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30654 result
= (int) ((arg1
)->w
);
30657 resultobj
= SWIG_From_int((int)(result
));
30665 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "self",(char *) "h", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30677 if (SWIG_arg_fail(1)) SWIG_fail
;
30679 arg2
= (int)(SWIG_As_int(obj1
));
30680 if (SWIG_arg_fail(2)) SWIG_fail
;
30682 if (arg1
) (arg1
)->h
= arg2
;
30684 Py_INCREF(Py_None
); resultobj
= Py_None
;
30691 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail
;
30703 result
= (int) ((arg1
)->h
);
30706 resultobj
= SWIG_From_int((int)(result
));
30714 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30718 PyObject
* obj0
= 0 ;
30719 PyObject
* obj1
= 0 ;
30720 char *kwnames
[] = {
30721 (char *) "self",(char *) "bpp", NULL
30724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30726 if (SWIG_arg_fail(1)) SWIG_fail
;
30728 arg2
= (int)(SWIG_As_int(obj1
));
30729 if (SWIG_arg_fail(2)) SWIG_fail
;
30731 if (arg1
) (arg1
)->bpp
= arg2
;
30733 Py_INCREF(Py_None
); resultobj
= Py_None
;
30740 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
;
30742 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30744 PyObject
* obj0
= 0 ;
30745 char *kwnames
[] = {
30746 (char *) "self", NULL
30749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30751 if (SWIG_arg_fail(1)) SWIG_fail
;
30752 result
= (int) ((arg1
)->bpp
);
30755 resultobj
= SWIG_From_int((int)(result
));
30763 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
;
30765 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self",(char *) "refresh", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30775 if (SWIG_arg_fail(1)) SWIG_fail
;
30777 arg2
= (int)(SWIG_As_int(obj1
));
30778 if (SWIG_arg_fail(2)) SWIG_fail
;
30780 if (arg1
) (arg1
)->refresh
= arg2
;
30782 Py_INCREF(Py_None
); resultobj
= Py_None
;
30789 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail
;
30801 result
= (int) ((arg1
)->refresh
);
30804 resultobj
= SWIG_From_int((int)(result
));
30812 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30815 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30817 return Py_BuildValue((char *)"");
30819 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30820 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30825 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30828 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30833 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
;
30835 size_t arg1
= (size_t) 0 ;
30837 PyObject
* obj0
= 0 ;
30838 char *kwnames
[] = {
30839 (char *) "index", NULL
30842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30845 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30846 if (SWIG_arg_fail(1)) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (wxDisplay
*)new wxDisplay(arg1
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30863 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
;
30865 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30866 PyObject
* obj0
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "self", NULL
30871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30873 if (SWIG_arg_fail(1)) SWIG_fail
;
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 Py_INCREF(Py_None
); resultobj
= Py_None
;
30888 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
;
30891 char *kwnames
[] = {
30895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 result
= (size_t)wxDisplay::GetCount();
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30912 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
;
30914 wxPoint
*arg1
= 0 ;
30917 PyObject
* obj0
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "pt", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30925 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_From_int((int)(result
));
30943 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxWindow
*arg1
= (wxWindow
*) 0 ;
30947 PyObject
* obj0
= 0 ;
30948 char *kwnames
[] = {
30949 (char *) "window", NULL
30952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30954 if (SWIG_arg_fail(1)) SWIG_fail
;
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30957 result
= (int)wxDisplay::GetFromWindow(arg1
);
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= SWIG_From_int((int)(result
));
30971 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
;
30973 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30975 PyObject
* obj0
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "self", NULL
30980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30982 if (SWIG_arg_fail(1)) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30999 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 char *kwnames
[] = {
31005 (char *) "self", NULL
31008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
31009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31010 if (SWIG_arg_fail(1)) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31019 wxRect
* resultptr
;
31020 resultptr
= new wxRect((wxRect
&)(result
));
31021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31029 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
;
31031 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31033 PyObject
* obj0
= 0 ;
31034 char *kwnames
[] = {
31035 (char *) "self", NULL
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31040 if (SWIG_arg_fail(1)) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= ((wxDisplay
const *)arg1
)->GetName();
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31061 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
;
31063 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31065 PyObject
* obj0
= 0 ;
31066 char *kwnames
[] = {
31067 (char *) "self", NULL
31070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31072 if (SWIG_arg_fail(1)) SWIG_fail
;
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31089 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31090 PyObject
*resultobj
;
31091 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31092 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31093 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 char *kwnames
[] = {
31098 (char *) "self",(char *) "mode", NULL
31101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31103 if (SWIG_arg_fail(1)) SWIG_fail
;
31106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31107 if (SWIG_arg_fail(2)) SWIG_fail
;
31108 if (arg2
== NULL
) {
31109 SWIG_null_ref("wxVideoMode");
31111 if (SWIG_arg_fail(2)) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= result
;
31128 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
;
31130 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31131 wxVideoMode result
;
31132 PyObject
* obj0
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31139 if (SWIG_arg_fail(1)) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31148 wxVideoMode
* resultptr
;
31149 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31158 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31159 PyObject
*resultobj
;
31160 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31161 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31162 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31164 PyObject
* obj0
= 0 ;
31165 PyObject
* obj1
= 0 ;
31166 char *kwnames
[] = {
31167 (char *) "self",(char *) "mode", NULL
31170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31172 if (SWIG_arg_fail(1)) SWIG_fail
;
31175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31176 if (SWIG_arg_fail(2)) SWIG_fail
;
31177 if (arg2
== NULL
) {
31178 SWIG_null_ref("wxVideoMode");
31180 if (SWIG_arg_fail(2)) SWIG_fail
;
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31199 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
;
31201 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(1)) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 (arg1
)->ResetMode();
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 Py_INCREF(Py_None
); resultobj
= Py_None
;
31224 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31227 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31229 return Py_BuildValue((char *)"");
31231 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
;
31233 wxStandardPaths
*result
;
31234 char *kwnames
[] = {
31238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 result
= (wxStandardPaths
*)StandardPaths_Get();
31243 wxPyEndAllowThreads(__tstate
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31253 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31257 PyObject
* obj0
= 0 ;
31258 char *kwnames
[] = {
31259 (char *) "self", NULL
31262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail
;
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31285 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 char *kwnames
[] = {
31291 (char *) "self", NULL
31294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31296 if (SWIG_arg_fail(1)) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31317 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31328 if (SWIG_arg_fail(1)) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31349 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31353 PyObject
* obj0
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31360 if (SWIG_arg_fail(1)) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31381 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31392 if (SWIG_arg_fail(1)) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31413 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31417 PyObject
* obj0
= 0 ;
31418 char *kwnames
[] = {
31419 (char *) "self", NULL
31422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31445 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 char *kwnames
[] = {
31451 (char *) "self", NULL
31454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31456 if (SWIG_arg_fail(1)) SWIG_fail
;
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31477 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
;
31479 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31480 wxString
*arg2
= 0 ;
31481 bool temp2
= false ;
31482 PyObject
* obj0
= 0 ;
31483 PyObject
* obj1
= 0 ;
31484 char *kwnames
[] = {
31485 (char *) "self",(char *) "prefix", NULL
31488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31490 if (SWIG_arg_fail(1)) SWIG_fail
;
31492 arg2
= wxString_in_helper(obj1
);
31493 if (arg2
== NULL
) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31503 Py_INCREF(Py_None
); resultobj
= Py_None
;
31518 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31519 PyObject
*resultobj
;
31520 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31522 PyObject
* obj0
= 0 ;
31523 char *kwnames
[] = {
31524 (char *) "self", NULL
31527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31529 if (SWIG_arg_fail(1)) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31550 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31553 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31555 return Py_BuildValue((char *)"");
31557 static PyMethodDef SwigMethods
[] = {
31558 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31573 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31638 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31646 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31664 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31667 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31670 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31679 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31693 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31699 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31705 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31708 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31726 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31729 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31756 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31758 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31760 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31762 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31769 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
31779 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31793 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31800 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31817 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31825 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31872 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31890 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31900 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31932 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31946 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31956 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
32002 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
32005 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32102 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32103 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32104 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32105 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32167 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32201 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32209 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32210 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32215 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32224 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32234 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32237 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32242 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32245 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32249 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32252 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32256 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32257 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32261 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32265 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32269 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32279 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32292 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32300 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32308 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32322 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32326 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32344 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32358 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32369 { NULL
, NULL
, 0, NULL
}
32373 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32375 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32376 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32378 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32379 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32381 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32382 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32384 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32385 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32387 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32388 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32390 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32393 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32396 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32399 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32402 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32405 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32408 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32409 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32411 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32412 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32414 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32417 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32418 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32420 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32421 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32423 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32424 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32426 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32427 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32429 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32430 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32432 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32433 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32435 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32438 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32439 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32441 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32442 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32444 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32445 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32447 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32448 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32450 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32451 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32453 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32454 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32456 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32457 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32459 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32460 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32462 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32463 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32465 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32468 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32469 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32471 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32472 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32474 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32475 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32477 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32480 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32483 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32484 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32486 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32487 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32489 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32490 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32492 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32493 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32495 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32496 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32498 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32499 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32501 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32502 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32504 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32505 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32507 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32508 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32510 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32511 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32513 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32514 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32516 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32517 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32519 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32520 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32522 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32523 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32525 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32526 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32528 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32529 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32531 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32532 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32534 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32535 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32537 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32538 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32540 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32541 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32543 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32544 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32546 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32547 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32549 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32550 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32552 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32553 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32555 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32556 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32558 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32559 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32561 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32562 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32564 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32565 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32567 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32568 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32570 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32573 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32574 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32576 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32577 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32579 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32580 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32582 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32583 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32585 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32586 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32588 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32589 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32591 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32592 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32594 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32595 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32600 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32603 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32606 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32609 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32612 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32615 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32618 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) ((wxSizer
*) x
));
32621 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32624 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32627 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32630 static void *_p_wxEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) ((wxEvent
*) x
));
32633 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32636 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32639 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32642 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32645 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32648 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32651 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32654 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32657 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32660 static void *_p_wxControlTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32663 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32666 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32669 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32672 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32675 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32678 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32681 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32684 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32687 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32690 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32693 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32696 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32699 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32702 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32705 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32708 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32711 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32714 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32717 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32720 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32723 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32726 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32729 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32732 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32735 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32738 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32741 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32744 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32747 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32750 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32753 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32756 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32759 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32762 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32765 static void *_p_wxImageTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) ((wxImage
*) x
));
32768 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32771 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32774 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32777 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32780 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32783 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32786 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32789 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32792 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32795 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32798 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32801 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32804 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32807 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32810 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32813 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32816 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32819 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32822 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32825 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32828 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32831 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32834 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32837 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32840 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32843 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32846 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32849 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32852 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
32853 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
32855 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32856 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32858 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32859 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32861 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32862 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32864 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32865 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32867 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32868 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32870 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32871 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32873 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32874 return (void *)((wxWindow
*) ((wxControl
*) x
));
32876 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32877 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32879 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32880 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32882 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32883 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32885 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32886 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog
, 0, 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 static swig_type_info _swigt__p_wxMemorySize
[] = {{"_p_wxMemorySize", 0, "wxMemorySize *", 0, 0, 0, 0},{"_p_wxMemorySize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32954 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}};
32955 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}};
32956 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}};
32957 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}};
32958 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}};
32959 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}};
32960 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}};
32961 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}};
32962 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}};
32963 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}};
32964 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}};
32965 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}};
32966 static swig_type_info _swigt__p_wxLogBuffer
[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32967 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}};
32968 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}};
32969 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}};
32970 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}};
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32977 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}};
32978 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}};
32979 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}};
32980 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}};
32981 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}};
32982 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}};
32983 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}};
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32989 static swig_type_info
*swig_types_initial
[] = {
32990 _swigt__p_wxLogChain
,
32991 _swigt__p_wxMutexGuiLocker
,
32992 _swigt__p_wxMetafile
,
32993 _swigt__p_wxFileHistory
,
32997 _swigt__p_wxDateTime__TimeZone
,
32998 _swigt__p_wxConfigBase
,
32999 _swigt__p_wxDisplay
,
33000 _swigt__p_wxFileType
,
33001 _swigt__p_wxLogGui
,
33002 _swigt__p_wxMemorySize
,
33004 _swigt__p_wxDataFormat
,
33005 _swigt__p_wxTimerEvent
,
33008 _swigt__std__ptrdiff_t
,
33012 _swigt__p_wxClipboard
,
33013 _swigt__p_wxStopWatch
,
33015 _swigt__p_wxClipboardLocker
,
33017 _swigt__p_wxLogStderr
,
33018 _swigt__p_wxLogTextCtrl
,
33019 _swigt__p_wxTextCtrl
,
33020 _swigt__p_wxBusyCursor
,
33021 _swigt__p_wxBitmapDataObject
,
33022 _swigt__p_wxTextDataObject
,
33023 _swigt__p_wxDataObject
,
33024 _swigt__p_wxPyTextDataObject
,
33025 _swigt__p_wxPyBitmapDataObject
,
33026 _swigt__p_wxFileDataObject
,
33027 _swigt__p_wxCustomDataObject
,
33028 _swigt__p_wxURLDataObject
,
33029 _swigt__p_wxMetafileDataObject
,
33031 _swigt__p_wxTimerRunner
,
33032 _swigt__p_wxLogWindow
,
33033 _swigt__p_wxTimeSpan
,
33034 _swigt__p_wxArrayString
,
33035 _swigt__p_wxWindowDisabler
,
33036 _swigt__p_form_ops_t
,
33037 _swigt__p_wxToolTip
,
33038 _swigt__p_wxDataObjectComposite
,
33039 _swigt__p_wxSystemSettings
,
33040 _swigt__p_wxFileConfig
,
33041 _swigt__p_wxVideoMode
,
33042 _swigt__p_wxDataObjectSimple
,
33043 _swigt__p_wxPyDataObjectSimple
,
33044 _swigt__p_wxDuplexMode
,
33045 _swigt__p_wxEvtHandler
,
33048 _swigt__p_wxSingleInstanceChecker
,
33049 _swigt__p_wxStandardPaths
,
33050 _swigt__p_wxFileTypeInfo
,
33053 _swigt__p_wxPaperSize
,
33054 _swigt__p_wxMimeTypesManager
,
33055 _swigt__p_wxPyTipProvider
,
33056 _swigt__p_wxTipProvider
,
33057 _swigt__p_wxJoystick
,
33058 _swigt__p_wxSystemOptions
,
33059 _swigt__p_wxPyArtProvider
,
33061 _swigt__p_wxJoystickEvent
,
33062 _swigt__p_wxCursor
,
33063 _swigt__p_wxObject
,
33064 _swigt__p_wxOutputStream
,
33065 _swigt__p_wxDateTime
,
33066 _swigt__p_wxPyDropSource
,
33067 _swigt__p_unsigned_long
,
33068 _swigt__p_wxLogBuffer
,
33069 _swigt__p_wxKillError
,
33070 _swigt__p_wxWindow
,
33071 _swigt__p_wxString
,
33072 _swigt__p_wxPyProcess
,
33073 _swigt__p_wxBitmap
,
33074 _swigt__unsigned_int
,
33075 _swigt__p_unsigned_int
,
33076 _swigt__p_wxConfig
,
33077 _swigt__p_unsigned_char
,
33079 _swigt__p_wxBusyInfo
,
33080 _swigt__p_wxPyDropTarget
,
33081 _swigt__p_wxPyTextDropTarget
,
33082 _swigt__p_wxPyFileDropTarget
,
33083 _swigt__p_wxProcessEvent
,
33085 _swigt__p_wxLogNull
,
33086 _swigt__p_wxColour
,
33087 _swigt__p_wxPyTimer
,
33088 _swigt__p_wxConfigPathChanger
,
33089 _swigt__p_wxDateSpan
,
33094 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33096 static swig_const_info swig_const_table
[] = {
33097 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33098 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33099 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33100 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33101 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33102 {0, 0, 0, 0.0, 0, 0}};
33113 /* Python-specific SWIG API */
33114 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33115 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33116 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33118 /* -----------------------------------------------------------------------------
33119 * global variable support code.
33120 * ----------------------------------------------------------------------------- */
33122 typedef struct swig_globalvar
{
33123 char *name
; /* Name of global variable */
33124 PyObject
*(*get_attr
)(); /* Return the current value */
33125 int (*set_attr
)(PyObject
*); /* Set the value */
33126 struct swig_globalvar
*next
;
33129 typedef struct swig_varlinkobject
{
33131 swig_globalvar
*vars
;
33132 } swig_varlinkobject
;
33135 swig_varlink_repr(swig_varlinkobject
*v
) {
33137 return PyString_FromString("<Swig global variables>");
33141 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33142 swig_globalvar
*var
;
33144 fprintf(fp
,"Swig global variables { ");
33145 for (var
= v
->vars
; var
; var
=var
->next
) {
33146 fprintf(fp
,"%s", var
->name
);
33147 if (var
->next
) fprintf(fp
,", ");
33149 fprintf(fp
," }\n");
33154 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33155 swig_globalvar
*var
= v
->vars
;
33157 if (strcmp(var
->name
,n
) == 0) {
33158 return (*var
->get_attr
)();
33162 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33167 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33168 swig_globalvar
*var
= v
->vars
;
33170 if (strcmp(var
->name
,n
) == 0) {
33171 return (*var
->set_attr
)(p
);
33175 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33179 static PyTypeObject varlinktype
= {
33180 PyObject_HEAD_INIT(0)
33181 0, /* Number of items in variable part (ob_size) */
33182 (char *)"swigvarlink", /* Type name (tp_name) */
33183 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33184 0, /* Itemsize (tp_itemsize) */
33185 0, /* Deallocator (tp_dealloc) */
33186 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33187 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33188 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33189 0, /* tp_compare */
33190 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33191 0, /* tp_as_number */
33192 0, /* tp_as_sequence */
33193 0, /* tp_as_mapping */
33197 0, /* tp_getattro */
33198 0, /* tp_setattro */
33199 0, /* tp_as_buffer */
33202 #if PY_VERSION_HEX >= 0x02000000
33203 0, /* tp_traverse */
33206 #if PY_VERSION_HEX >= 0x02010000
33207 0, /* tp_richcompare */
33208 0, /* tp_weaklistoffset */
33210 #if PY_VERSION_HEX >= 0x02020000
33211 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33213 #if PY_VERSION_HEX >= 0x02030000
33216 #ifdef COUNT_ALLOCS
33217 0,0,0,0 /* tp_alloc -> tp_next */
33221 /* Create a variable linking object for use later */
33223 SWIG_Python_newvarlink(void) {
33224 swig_varlinkobject
*result
= 0;
33225 result
= PyMem_NEW(swig_varlinkobject
,1);
33226 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33227 result
->ob_type
= &varlinktype
;
33229 result
->ob_refcnt
= 0;
33230 Py_XINCREF((PyObject
*) result
);
33231 return ((PyObject
*) result
);
33235 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33236 swig_varlinkobject
*v
;
33237 swig_globalvar
*gv
;
33238 v
= (swig_varlinkobject
*) p
;
33239 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33240 gv
->name
= (char *) malloc(strlen(name
)+1);
33241 strcpy(gv
->name
,name
);
33242 gv
->get_attr
= get_attr
;
33243 gv
->set_attr
= set_attr
;
33244 gv
->next
= v
->vars
;
33248 /* -----------------------------------------------------------------------------
33249 * constants/methods manipulation
33250 * ----------------------------------------------------------------------------- */
33252 /* Install Constants */
33254 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33257 for (i
= 0; constants
[i
].type
; i
++) {
33258 switch(constants
[i
].type
) {
33260 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33262 case SWIG_PY_FLOAT
:
33263 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33265 case SWIG_PY_STRING
:
33266 if (constants
[i
].pvalue
) {
33267 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33269 Py_INCREF(Py_None
);
33273 case SWIG_PY_POINTER
:
33274 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33276 case SWIG_PY_BINARY
:
33277 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33284 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33290 /* -----------------------------------------------------------------------------*/
33291 /* Fix SwigMethods to carry the callback ptrs when needed */
33292 /* -----------------------------------------------------------------------------*/
33295 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33296 swig_const_info
*const_table
,
33297 swig_type_info
**types
,
33298 swig_type_info
**types_initial
) {
33300 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33301 char *c
= methods
[i
].ml_doc
;
33302 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33304 swig_const_info
*ci
= 0;
33305 char *name
= c
+ 10;
33306 for (j
= 0; const_table
[j
].type
; j
++) {
33307 if (strncmp(const_table
[j
].name
, name
,
33308 strlen(const_table
[j
].name
)) == 0) {
33309 ci
= &(const_table
[j
]);
33314 size_t shift
= (ci
->ptype
) - types
;
33315 swig_type_info
*ty
= types_initial
[shift
];
33316 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33317 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33318 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33320 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33321 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33323 strncpy(buff
, "swig_ptr: ", 10);
33325 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33326 methods
[i
].ml_doc
= ndoc
;
33332 /* -----------------------------------------------------------------------------*
33333 * Initialize type list
33334 * -----------------------------------------------------------------------------*/
33336 #if PY_MAJOR_VERSION < 2
33337 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33338 is copied out of Python/modsupport.c in python version 2.3.4 */
33340 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33343 if (!PyModule_Check(m
)) {
33344 PyErr_SetString(PyExc_TypeError
,
33345 "PyModule_AddObject() needs module as first arg");
33349 PyErr_SetString(PyExc_TypeError
,
33350 "PyModule_AddObject() needs non-NULL value");
33354 dict
= PyModule_GetDict(m
);
33355 if (dict
== NULL
) {
33356 /* Internal error -- modules must have a dict! */
33357 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33358 PyModule_GetName(m
));
33361 if (PyDict_SetItemString(dict
, name
, o
))
33368 static swig_type_info
**
33369 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33370 static PyMethodDef swig_empty_runtime_method_table
[] = {
33372 NULL
, NULL
, 0, NULL
33376 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33377 swig_empty_runtime_method_table
);
33378 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33379 if (pointer
&& module) {
33380 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33382 return type_list_handle
;
33385 static swig_type_info
**
33386 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33387 swig_type_info
**type_pointer
;
33389 /* first check if module already created */
33390 type_pointer
= SWIG_Python_GetTypeListHandle();
33391 if (type_pointer
) {
33392 return type_pointer
;
33394 /* create a new module and variable */
33395 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33403 /* -----------------------------------------------------------------------------*
33404 * Partial Init method
33405 * -----------------------------------------------------------------------------*/
33407 #ifdef SWIG_LINK_RUNTIME
33411 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33417 SWIGEXPORT(void) SWIG_init(void) {
33418 static PyObject
*SWIG_globals
= 0;
33419 static int typeinit
= 0;
33422 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33424 /* Fix SwigMethods to carry the callback ptrs when needed */
33425 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33427 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33428 d
= PyModule_GetDict(m
);
33431 #ifdef SWIG_LINK_RUNTIME
33432 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33434 # ifndef SWIG_STATIC_RUNTIME
33435 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33438 for (i
= 0; swig_types_initial
[i
]; i
++) {
33439 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33443 SWIG_InstallConstants(d
,swig_const_table
);
33446 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33449 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33452 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33455 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33458 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33461 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33464 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33467 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33470 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33473 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33476 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33479 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33482 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33485 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33488 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33491 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33494 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33497 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33500 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33503 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33506 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33509 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33512 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33515 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33518 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33521 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33524 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33527 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33530 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33533 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33536 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33539 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33542 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33545 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33548 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33551 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33554 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33557 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33560 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33563 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33566 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33569 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33572 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33575 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33578 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33581 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33584 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33587 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33590 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33593 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33596 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33599 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33602 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33605 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33608 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33611 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33614 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33617 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33620 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33623 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33626 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33629 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33632 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33635 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33638 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33641 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33644 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33647 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33650 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33653 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33656 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33659 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33662 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33665 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33668 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33671 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33674 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33677 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33680 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33683 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33686 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33689 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33692 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33695 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33698 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33701 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33704 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33707 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33710 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33713 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33716 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33718 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33719 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33720 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33721 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33722 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33724 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33727 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33730 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33733 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33735 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33737 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33740 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33743 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33746 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33749 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33752 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33755 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33758 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33761 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33764 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33767 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33770 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33772 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33773 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33774 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33775 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33776 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33778 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33781 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33784 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33787 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33790 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33793 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33796 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33799 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33802 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33805 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33808 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33811 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33814 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33817 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33820 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33823 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33826 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33829 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33832 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33835 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33838 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33841 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33844 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33847 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33850 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33853 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33856 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33859 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33862 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33865 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33868 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33870 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33872 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33875 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33878 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33881 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33884 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33887 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33890 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33893 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33896 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33899 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33902 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33905 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33908 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33910 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33911 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33912 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33913 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33915 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33918 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33921 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33924 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33927 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33930 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33933 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33936 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33938 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
33990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33996 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33999 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
34002 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
34005 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
34008 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
34011 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34014 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34017 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34020 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34023 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34025 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34026 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34028 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34031 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34034 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34037 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34040 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34043 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34046 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34049 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34052 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34055 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34058 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34061 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34064 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34067 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34070 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34073 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34076 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34079 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34082 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34085 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34088 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34091 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34094 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34097 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34100 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34103 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34106 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34109 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34112 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34115 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34118 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34121 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34124 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34127 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34130 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34133 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34136 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34139 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34142 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34145 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34148 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34151 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34154 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34157 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34160 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34163 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34166 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34169 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34172 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34175 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34178 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34181 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34184 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34187 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34190 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34193 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34196 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34199 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34202 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34205 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34208 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34211 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34214 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34217 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34220 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34223 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34226 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34229 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34232 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34235 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34238 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34241 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34244 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34247 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34250 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34253 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34256 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34259 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34262 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34265 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34268 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34271 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34274 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34277 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34280 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34283 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34286 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34289 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34292 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34295 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34298 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34301 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34304 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34307 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34310 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34313 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34316 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34319 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34322 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34325 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34328 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34331 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34334 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34337 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34340 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34343 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34346 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34349 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34352 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34355 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34358 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34361 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34364 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34367 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34370 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34373 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34376 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34379 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34382 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34385 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34388 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34391 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34394 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34397 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34400 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34403 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34406 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34409 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34412 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34415 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34418 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34421 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34424 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34427 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34430 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34433 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34436 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34439 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34442 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34445 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34448 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34451 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34454 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34457 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34460 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34463 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34466 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34469 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34472 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34475 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34478 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34481 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34484 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34487 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34490 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34492 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34494 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34497 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34500 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34503 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34506 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34509 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34512 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34515 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34518 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34521 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34524 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34527 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34530 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34533 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34536 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34539 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34542 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34545 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34548 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34551 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34553 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34555 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34558 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34561 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34564 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34567 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34570 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34573 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34576 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34579 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34582 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34585 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34588 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34591 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34592 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34593 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34594 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34596 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);