1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxMetafile swig_types[2]
1345 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1346 #define SWIGTYPE_p_wxLog swig_types[4]
1347 #define SWIGTYPE_p_wxMenu swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1351 #define SWIGTYPE_p_wxDisplay swig_types[9]
1352 #define SWIGTYPE_p_wxFileType swig_types[10]
1353 #define SWIGTYPE_p_wxLogGui swig_types[11]
1354 #define SWIGTYPE_p_wxFont swig_types[12]
1355 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1356 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1357 #define SWIGTYPE_p_wxCaret swig_types[15]
1358 #define SWIGTYPE_ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_p_void swig_types[18]
1361 #define SWIGTYPE_p_int swig_types[19]
1362 #define SWIGTYPE_p_wxSize swig_types[20]
1363 #define SWIGTYPE_p_wxClipboard swig_types[21]
1364 #define SWIGTYPE_p_wxStopWatch swig_types[22]
1365 #define SWIGTYPE_p_wxDC swig_types[23]
1366 #define SWIGTYPE_p_wxClipboardLocker swig_types[24]
1367 #define SWIGTYPE_p_wxIcon swig_types[25]
1368 #define SWIGTYPE_p_wxLogStderr swig_types[26]
1369 #define SWIGTYPE_p_wxLogTextCtrl swig_types[27]
1370 #define SWIGTYPE_p_wxTextCtrl swig_types[28]
1371 #define SWIGTYPE_p_wxBusyCursor swig_types[29]
1372 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxPyTextDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxFileDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxCustomDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxURLDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxMetafileDataObject swig_types[38]
1381 #define SWIGTYPE_p_wxSound swig_types[39]
1382 #define SWIGTYPE_p_wxTimerRunner swig_types[40]
1383 #define SWIGTYPE_p_wxLogWindow swig_types[41]
1384 #define SWIGTYPE_p_wxTimeSpan swig_types[42]
1385 #define SWIGTYPE_p_wxArrayString swig_types[43]
1386 #define SWIGTYPE_p_wxWindowDisabler swig_types[44]
1387 #define SWIGTYPE_p_form_ops_t swig_types[45]
1388 #define SWIGTYPE_p_wxToolTip swig_types[46]
1389 #define SWIGTYPE_p_wxDataObjectComposite swig_types[47]
1390 #define SWIGTYPE_p_wxSystemSettings swig_types[48]
1391 #define SWIGTYPE_p_wxFileConfig swig_types[49]
1392 #define SWIGTYPE_p_wxVideoMode swig_types[50]
1393 #define SWIGTYPE_p_wxDataObjectSimple swig_types[51]
1394 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[52]
1395 #define SWIGTYPE_p_wxDuplexMode swig_types[53]
1396 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
1397 #define SWIGTYPE_p_wxRect swig_types[55]
1398 #define SWIGTYPE_p_char swig_types[56]
1399 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[57]
1400 #define SWIGTYPE_p_wxStandardPaths swig_types[58]
1401 #define SWIGTYPE_p_wxFileTypeInfo swig_types[59]
1402 #define SWIGTYPE_p_wxFrame swig_types[60]
1403 #define SWIGTYPE_p_wxTimer swig_types[61]
1404 #define SWIGTYPE_p_wxPaperSize swig_types[62]
1405 #define SWIGTYPE_p_wxMimeTypesManager swig_types[63]
1406 #define SWIGTYPE_p_wxPyArtProvider swig_types[64]
1407 #define SWIGTYPE_p_wxPyTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxTipProvider swig_types[66]
1409 #define SWIGTYPE_p_wxJoystick swig_types[67]
1410 #define SWIGTYPE_p_wxSystemOptions swig_types[68]
1411 #define SWIGTYPE_p_wxPoint swig_types[69]
1412 #define SWIGTYPE_p_wxJoystickEvent swig_types[70]
1413 #define SWIGTYPE_p_wxCursor swig_types[71]
1414 #define SWIGTYPE_p_wxObject swig_types[72]
1415 #define SWIGTYPE_p_wxOutputStream swig_types[73]
1416 #define SWIGTYPE_p_wxDateTime swig_types[74]
1417 #define SWIGTYPE_p_wxPyDropSource swig_types[75]
1418 #define SWIGTYPE_p_unsigned_long swig_types[76]
1419 #define SWIGTYPE_p_wxKillError swig_types[77]
1420 #define SWIGTYPE_p_wxWindow swig_types[78]
1421 #define SWIGTYPE_p_wxString swig_types[79]
1422 #define SWIGTYPE_p_wxPyProcess swig_types[80]
1423 #define SWIGTYPE_p_wxBitmap swig_types[81]
1424 #define SWIGTYPE_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_wxConfig swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxChar swig_types[86]
1429 #define SWIGTYPE_p_wxBusyInfo swig_types[87]
1430 #define SWIGTYPE_p_wxPyDropTarget swig_types[88]
1431 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[89]
1432 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[90]
1433 #define SWIGTYPE_p_wxProcessEvent swig_types[91]
1434 #define SWIGTYPE_p_wxPyLog swig_types[92]
1435 #define SWIGTYPE_p_wxLogNull swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxPyTimer swig_types[95]
1438 #define SWIGTYPE_p_wxConfigPathChanger swig_types[96]
1439 #define SWIGTYPE_p_wxDateSpan swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _misc_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_misc_
1450 #define SWIG_name "_misc_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1454 #include "wx/wxPython/pyistream.h"
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1460 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1550 SWIG_Check_int(PyObject
* obj
)
1552 return SWIG_AsVal_int(obj
, (int*)0);
1555 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1557 #include <wx/stockitem.h>
1559 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1560 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1561 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1563 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1564 #define SWIG_From_long PyInt_FromLong
1568 SWIGINTERNSHORT
long
1569 SWIG_As_long(PyObject
* obj
)
1572 if (!SWIG_AsVal_long(obj
, &v
)) {
1574 this is needed to make valgrind/purify happier.
1576 memset((void*)&v
, 0, sizeof(long));
1583 SWIG_Check_long(PyObject
* obj
)
1585 return SWIG_AsVal_long(obj
, (long*)0);
1590 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1592 if (obj
== Py_True
) {
1593 if (val
) *val
= true;
1596 if (obj
== Py_False
) {
1597 if (val
) *val
= false;
1601 if (SWIG_AsVal_int(obj
, &res
)) {
1602 if (val
) *val
= res
? true : false;
1608 SWIG_type_error("bool", obj
);
1614 SWIGINTERNSHORT
bool
1615 SWIG_As_bool(PyObject
* obj
)
1618 if (!SWIG_AsVal_bool(obj
, &v
)) {
1620 this is needed to make valgrind/purify happier.
1622 memset((void*)&v
, 0, sizeof(bool));
1629 SWIG_Check_bool(PyObject
* obj
)
1631 return SWIG_AsVal_bool(obj
, (bool*)0);
1635 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1641 } else if (target
== Py_None
) {
1645 if (!PyTuple_Check(target
)) {
1647 target
= PyTuple_New(1);
1648 PyTuple_SetItem(target
, 0, o2
);
1650 o3
= PyTuple_New(1);
1651 PyTuple_SetItem(o3
, 0, o
);
1654 target
= PySequence_Concat(o2
, o3
);
1664 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1667 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1668 SWIG_type_error("unsigned number", obj
);
1671 *val
= (unsigned long)v
;
1676 SWIGINTERNSHORT
unsigned long
1677 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1680 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1682 this is needed to make valgrind/purify happier.
1684 memset((void*)&v
, 0, sizeof(unsigned long));
1691 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1693 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1697 SWIGINTERNSHORT PyObject
*
1698 SWIG_From_unsigned_SS_long(unsigned long value
)
1700 return (value
> LONG_MAX
) ?
1701 PyLong_FromUnsignedLong(value
)
1702 : PyInt_FromLong((long)(value
));
1706 void* wxGetXDisplay()
1709 return wxGetDisplay();
1716 bool wxThread_IsMain() {
1717 #ifdef WXP_WITH_THREAD
1718 return wxThread::IsMain();
1724 static void wxCaret_Destroy(wxCaret
*self
){
1728 #include <wx/snglinst.h>
1732 #include <wx/msw/private.h>
1733 #include <wx/dynload.h>
1738 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1749 // This one only partially works. Appears to be an undocumented
1750 // "standard" convention that not all widgets adhear to. For
1751 // example, for some widgets backgrounds or non-client areas may
1753 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1758 // This one works much better, nearly all widgets and their
1759 // children are captured correctly[**]. Prior to the big
1760 // background erase changes that Vadim did in 2004-2005 this
1761 // method failed badly on XP with Themes activated, most native
1762 // widgets draw only partially, if at all. Without themes it
1763 // worked just like on Win2k. After those changes this method
1766 // ** For example the radio buttons in a wxRadioBox are not its
1767 // children by default, but you can capture it via the panel
1768 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1769 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1770 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1771 PRF_ERASEBKGND
| PRF_OWNED
);
1777 // This one is only defined in the latest SDK and is only
1778 // available on XP. MSDN says it is similar to sending WM_PRINT
1779 // so I expect that it will work similar to the above. Since it
1780 // is avaialble only on XP, it can't be compiled like this and
1781 // will have to be loaded dynamically.
1782 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1787 // Use PrintWindow if available, or fallback to WM_PRINT
1788 // otherwise. Unfortunately using PrintWindow is even worse than
1789 // WM_PRINT. For most native widgets nothing is drawn to the dc
1790 // at all, with or without Themes.
1791 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1792 static bool s_triedToLoad
= false;
1793 static PrintWindow_t pfnPrintWindow
= NULL
;
1794 if ( !s_triedToLoad
)
1797 s_triedToLoad
= true;
1798 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1799 if ( dllUser32
.IsLoaded() )
1801 wxLogNull nolog
; // Don't report errors here
1802 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1807 //printf("Using PrintWindow\n");
1808 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1812 //printf("Using WM_PRINT\n");
1813 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1814 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1815 PRF_ERASEBKGND
| PRF_OWNED
);
1826 #include <wx/tipdlg.h>
1829 class wxPyTipProvider
: public wxTipProvider
{
1831 wxPyTipProvider(size_t currentTip
)
1832 : wxTipProvider(currentTip
) {}
1834 DEC_PYCALLBACK_STRING__pure(GetTip
);
1835 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1839 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1840 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1843 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1845 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1847 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1848 : wxTimer(owner
, id
)
1850 if (owner
== NULL
) SetOwner(this);
1854 void wxPyTimer::Notify() {
1856 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1857 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1858 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1859 wxPyEndBlockThreads(blocked
);
1863 void wxPyTimer::base_Notify() {
1869 SWIGINTERN PyObject
*
1870 SWIG_FromCharPtr(const char* cptr
)
1873 size_t size
= strlen(cptr
);
1874 if (size
> INT_MAX
) {
1875 return SWIG_NewPointerObj((char*)(cptr
),
1876 SWIG_TypeQuery("char *"), 0);
1879 return PyString_FromStringAndSize(cptr
, size
);
1881 return PyString_FromString(cptr
);
1891 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1892 unsigned long max_value
,
1895 if (value
> max_value
) {
1897 PyErr_Format(PyExc_OverflowError
,
1898 "value %lu is greater than '%s' minimum %lu",
1899 value
, errmsg
, max_value
);
1907 #if UINT_MAX != ULONG_MAX
1909 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1911 const char* errmsg
= val
? "unsigned int" : (char*)0;
1913 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1914 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1915 if (val
) *val
= (unsigned int)(v
);
1922 SWIG_type_error(errmsg
, obj
);
1927 SWIGINTERNSHORT
unsigned int
1928 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1930 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1935 SWIGINTERNSHORT
unsigned int
1936 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1939 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1941 this is needed to make valgrind/purify happier.
1943 memset((void*)&v
, 0, sizeof(unsigned int));
1950 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1952 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1955 static wxString
Log_TimeStamp(){
1957 wxLog::TimeStamp(&msg
);
1960 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1961 // Make somce wrappers that double any % signs so they are 'escaped'
1962 void wxPyLogFatalError(const wxString
& msg
)
1965 m
.Replace(wxT("%"), wxT("%%"));
1969 void wxPyLogError(const wxString
& msg
)
1972 m
.Replace(wxT("%"), wxT("%%"));
1976 void wxPyLogWarning(const wxString
& msg
)
1979 m
.Replace(wxT("%"), wxT("%%"));
1983 void wxPyLogMessage(const wxString
& msg
)
1986 m
.Replace(wxT("%"), wxT("%%"));
1990 void wxPyLogInfo(const wxString
& msg
)
1993 m
.Replace(wxT("%"), wxT("%%"));
1997 void wxPyLogDebug(const wxString
& msg
)
2000 m
.Replace(wxT("%"), wxT("%%"));
2004 void wxPyLogVerbose(const wxString
& msg
)
2007 m
.Replace(wxT("%"), wxT("%%"));
2011 void wxPyLogStatus(const wxString
& msg
)
2014 m
.Replace(wxT("%"), wxT("%%"));
2018 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2021 m
.Replace(wxT("%"), wxT("%%"));
2022 wxLogStatus(pFrame
, m
);
2025 void wxPyLogSysError(const wxString
& msg
)
2028 m
.Replace(wxT("%"), wxT("%%"));
2032 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2035 m
.Replace(wxT("%"), wxT("%%"));
2036 wxLogGeneric(level
, m
);
2039 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2042 m
.Replace(wxT("%"), wxT("%%"));
2043 wxLogTrace(mask
, m
);
2046 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2049 m
.Replace(wxT("%"), wxT("%%"));
2050 wxLogTrace(mask
, m
);
2055 // A wxLog class that can be derived from in wxPython
2056 class wxPyLog
: public wxLog
{
2058 wxPyLog() : wxLog() {}
2060 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2063 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2064 PyObject
* s
= wx2PyString(szString
);
2065 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2068 wxPyEndBlockThreads(blocked
);
2070 wxLog::DoLog(level
, szString
, t
);
2073 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2075 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2076 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2077 PyObject
* s
= wx2PyString(szString
);
2078 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2081 wxPyEndBlockThreads(blocked
);
2083 wxLog::DoLogString(szString
, t
);
2092 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2095 #include <wx/joystick.h>
2098 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2099 // A C++ stub class for wxJoystick for platforms that don't have it.
2100 class wxJoystick
: public wxObject
{
2102 wxJoystick(int joystick
= wxJOYSTICK1
) {
2103 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2104 PyErr_SetString(PyExc_NotImplementedError
,
2105 "wxJoystick is not available on this platform.");
2106 wxPyEndBlockThreads(blocked
);
2108 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2109 int GetZPosition() { return -1; }
2110 int GetButtonState() { return -1; }
2111 int GetPOVPosition() { return -1; }
2112 int GetPOVCTSPosition() { return -1; }
2113 int GetRudderPosition() { return -1; }
2114 int GetUPosition() { return -1; }
2115 int GetVPosition() { return -1; }
2116 int GetMovementThreshold() { return -1; }
2117 void SetMovementThreshold(int threshold
) {}
2119 bool IsOk(void) { return false; }
2120 int GetNumberJoysticks() { return -1; }
2121 int GetManufacturerId() { return -1; }
2122 int GetProductId() { return -1; }
2123 wxString
GetProductName() { return wxEmptyString
; }
2124 int GetXMin() { return -1; }
2125 int GetYMin() { return -1; }
2126 int GetZMin() { return -1; }
2127 int GetXMax() { return -1; }
2128 int GetYMax() { return -1; }
2129 int GetZMax() { return -1; }
2130 int GetNumberButtons() { return -1; }
2131 int GetNumberAxes() { return -1; }
2132 int GetMaxButtons() { return -1; }
2133 int GetMaxAxes() { return -1; }
2134 int GetPollingMin() { return -1; }
2135 int GetPollingMax() { return -1; }
2136 int GetRudderMin() { return -1; }
2137 int GetRudderMax() { return -1; }
2138 int GetUMin() { return -1; }
2139 int GetUMax() { return -1; }
2140 int GetVMin() { return -1; }
2141 int GetVMax() { return -1; }
2143 bool HasRudder() { return false; }
2144 bool HasZ() { return false; }
2145 bool HasU() { return false; }
2146 bool HasV() { return false; }
2147 bool HasPOV() { return false; }
2148 bool HasPOV4Dir() { return false; }
2149 bool HasPOVCTS() { return false; }
2151 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2152 bool ReleaseCapture() { return false; }
2157 #include <wx/sound.h>
2161 // A C++ stub class for wxWave for platforms that don't have it.
2162 class wxSound
: public wxObject
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2171 wxSound(const wxString
&/*, bool*/) {
2172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2173 PyErr_SetString(PyExc_NotImplementedError
,
2174 "wxSound is not available on this platform.");
2175 wxPyEndBlockThreads(blocked
);
2177 wxSound(int, const wxByte
*) {
2178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2179 PyErr_SetString(PyExc_NotImplementedError
,
2180 "wxSound is not available on this platform.");
2181 wxPyEndBlockThreads(blocked
);
2186 bool Create(const wxString
&/*, bool*/) { return false; }
2187 bool Create(int, const wxByte
*) { return false; };
2188 bool IsOk() { return false; };
2189 bool Play(unsigned) const { return false; }
2190 static bool Play(const wxString
&, unsigned) { return false; }
2191 static void Stop() {}
2196 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2197 if (fileName
.Length() == 0)
2200 return new wxSound(fileName
);
2202 static wxSound
*new_wxSound(PyObject
*data
){
2203 unsigned char* buffer
; int size
;
2204 wxSound
*sound
= NULL
;
2206 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2207 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2209 sound
= new wxSound(size
, buffer
);
2211 wxPyEndBlockThreads(blocked
);
2214 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2216 unsigned char* buffer
;
2220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2221 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2223 rv
= self
->Create(size
, buffer
);
2225 wxPyEndBlockThreads(blocked
);
2228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2229 PyErr_SetString(PyExc_NotImplementedError
,
2230 "Create from data is not available on this platform.");
2231 wxPyEndBlockThreads(blocked
);
2236 #include <wx/mimetype.h>
2238 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2240 if (self
->GetMimeType(&str
))
2241 return wx2PyString(str
);
2245 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2247 if (self
->GetMimeTypes(arr
))
2248 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2254 if (self
->GetExtensions(arr
))
2255 return wxArrayString2PyList_helper(arr
);
2259 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2261 if (self
->GetIcon(&loc
))
2262 return new wxIcon(loc
);
2266 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2268 if (self
->GetIcon(&loc
)) {
2269 wxString iconFile
= loc
.GetFileName();
2274 // Make a tuple and put the values in it
2275 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2276 PyObject
* tuple
= PyTuple_New(3);
2277 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2278 wxT("wxIcon"), true));
2279 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2280 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2281 wxPyEndBlockThreads(blocked
);
2287 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2289 if (self
->GetDescription(&str
))
2290 return wx2PyString(str
);
2294 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2296 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2297 return wx2PyString(str
);
2301 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2304 return wx2PyString(str
);
2308 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2309 wxArrayString verbs
;
2310 wxArrayString commands
;
2311 if (self
->GetAllCommands(&verbs
, &commands
,
2312 wxFileType::MessageParameters(filename
, mimetype
))) {
2313 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2314 PyObject
* tuple
= PyTuple_New(2);
2315 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2316 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2317 wxPyEndBlockThreads(blocked
);
2323 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2324 return wxFileType::ExpandCommand(command
,
2325 wxFileType::MessageParameters(filename
, mimetype
));
2327 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2329 self
->EnumAllFileTypes(arr
);
2330 return wxArrayString2PyList_helper(arr
);
2333 #include <wx/artprov.h>
2335 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2336 static const wxString
wxPyART_MENU(wxART_MENU
);
2337 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2338 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2339 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2340 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2341 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2342 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2343 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2344 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2345 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2346 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2347 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2348 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2349 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2350 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2351 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2352 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2353 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2354 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2355 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2356 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2357 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2358 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2359 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2360 static const wxString
wxPyART_HELP(wxART_HELP
);
2361 static const wxString
wxPyART_TIP(wxART_TIP
);
2362 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2363 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2364 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2365 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2366 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2367 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2368 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2369 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2370 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2371 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2372 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2373 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2374 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2375 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2376 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2377 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2378 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2379 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2380 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2381 static const wxString
wxPyART_COPY(wxART_COPY
);
2382 static const wxString
wxPyART_CUT(wxART_CUT
);
2383 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2384 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2385 static const wxString
wxPyART_NEW(wxART_NEW
);
2386 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2387 static const wxString
wxPyART_REDO(wxART_REDO
);
2388 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2389 static const wxString
wxPyART_FIND(wxART_FIND
);
2390 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2391 // Python aware wxArtProvider
2392 class wxPyArtProvider
: public wxArtProvider
{
2395 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2396 const wxArtClient
& client
,
2397 const wxSize
& size
) {
2398 wxBitmap rval
= wxNullBitmap
;
2399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2400 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2401 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2405 s1
= wx2PyString(id
);
2406 s2
= wx2PyString(client
);
2407 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2412 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2417 wxPyEndBlockThreads(blocked
);
2424 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2428 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2429 PyObject
* ret
= PyTuple_New(3);
2431 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2432 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2433 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2438 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2443 cont
= self
->GetFirstGroup(value
, index
);
2444 return __EnumerationHelper(cont
, value
, index
);
2446 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2450 cont
= self
->GetNextGroup(value
, index
);
2451 return __EnumerationHelper(cont
, value
, index
);
2453 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2458 cont
= self
->GetFirstEntry(value
, index
);
2459 return __EnumerationHelper(cont
, value
, index
);
2461 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2465 cont
= self
->GetNextEntry(value
, index
);
2466 return __EnumerationHelper(cont
, value
, index
);
2468 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2470 self
->Read(key
, &rv
, defaultVal
);
2475 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2477 if (PyNumber_Check(obj
)) {
2478 if (val
) *val
= PyFloat_AsDouble(obj
);
2482 SWIG_type_error("number", obj
);
2488 SWIGINTERNSHORT
double
2489 SWIG_As_double(PyObject
* obj
)
2492 if (!SWIG_AsVal_double(obj
, &v
)) {
2494 this is needed to make valgrind/purify happier.
2496 memset((void*)&v
, 0, sizeof(double));
2503 SWIG_Check_double(PyObject
* obj
)
2505 return SWIG_AsVal_double(obj
, (double*)0);
2508 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2510 self
->Read(key
, &rv
, defaultVal
);
2514 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2515 #define SWIG_From_double PyFloat_FromDouble
2518 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2520 self
->Read(key
, &rv
, defaultVal
);
2524 #include <wx/datetime.h>
2526 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2527 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2529 #define LOCAL_TZ wxDateTime::Local
2531 static PyObject
*DateTime_GetAmPmStrings(){
2534 wxDateTime::GetAmPmStrings(&am
, &pm
);
2535 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2536 PyObject
* tup
= PyTuple_New(2);
2537 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2538 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2539 wxPyEndBlockThreads(blocked
);
2543 #if UINT_MAX < LONG_MAX
2544 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2545 #define SWIG_From_unsigned_SS_int SWIG_From_long
2548 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2549 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2553 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2554 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2555 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2556 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2557 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2558 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2559 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2560 return (*self
< *other
);
2562 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2563 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2564 return (*self
<= *other
);
2566 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2567 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2568 return (*self
> *other
);
2570 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2571 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2572 return (*self
>= *other
);
2574 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2575 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2576 return (*self
== *other
);
2578 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2579 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2580 return (*self
!= *other
);
2582 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2584 const wxChar
* _date
= date
;
2585 rv
= self
->ParseRfc822Date(_date
);
2586 if (rv
== NULL
) return -1;
2589 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2591 const wxChar
* _date
= date
;
2592 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2593 if (rv
== NULL
) return -1;
2596 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2598 const wxChar
* _datetime
= datetime
;
2599 rv
= self
->ParseDateTime(_datetime
);
2600 if (rv
== NULL
) return -1;
2601 return rv
- _datetime
;
2603 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2605 const wxChar
* _date
= date
;
2606 rv
= self
->ParseDate(_date
);
2607 if (rv
== NULL
) return -1;
2610 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2612 const wxChar
* _time
= time
;
2613 rv
= self
->ParseTime(_time
);
2614 if (rv
== NULL
) return -1;
2617 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2618 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2619 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2620 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2621 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2622 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2623 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2624 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2625 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2626 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2627 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2628 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2629 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2630 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2631 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2632 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2634 #include <wx/dataobj.h>
2636 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2637 size_t count
= self
->GetFormatCount(dir
);
2638 wxDataFormat
* formats
= new wxDataFormat
[count
];
2639 self
->GetAllFormats(formats
, dir
);
2641 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2642 PyObject
* list
= PyList_New(count
);
2643 for (size_t i
=0; i
<count
; i
++) {
2644 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2645 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2646 PyList_Append(list
, obj
);
2649 wxPyEndBlockThreads(blocked
);
2653 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2654 PyObject
* rval
= NULL
;
2655 size_t size
= self
->GetDataSize(format
);
2656 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2658 char* buf
= new char[size
];
2659 if (self
->GetDataHere(format
, buf
))
2660 rval
= PyString_FromStringAndSize(buf
, size
);
2667 wxPyEndBlockThreads(blocked
);
2670 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2672 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2673 if (PyString_Check(data
)) {
2674 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2677 // raise a TypeError if not a string
2678 PyErr_SetString(PyExc_TypeError
, "String expected.");
2681 wxPyEndBlockThreads(blocked
);
2684 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2685 PyObject
* rval
= NULL
;
2686 size_t size
= self
->GetDataSize();
2687 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2689 char* buf
= new char[size
];
2690 if (self
->GetDataHere(buf
))
2691 rval
= PyString_FromStringAndSize(buf
, size
);
2698 wxPyEndBlockThreads(blocked
);
2701 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2703 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2704 if (PyString_Check(data
)) {
2705 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2708 // raise a TypeError if not a string
2709 PyErr_SetString(PyExc_TypeError
, "String expected.");
2712 wxPyEndBlockThreads(blocked
);
2715 // Create a new class for wxPython to use
2716 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2718 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2719 : wxDataObjectSimple(format
) {}
2721 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2722 bool GetDataHere(void *buf
) const;
2723 bool SetData(size_t len
, const void *buf
) const;
2727 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2729 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2730 // We need to get the data for this object and write it to buf. I think
2731 // the best way to do this for wxPython is to have the Python method
2732 // return either a string or None and then act appropriately with the
2736 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2737 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2739 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2741 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2743 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2747 wxPyEndBlockThreads(blocked
);
2751 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2752 // For this one we simply need to make a string from buf and len
2753 // and send it to the Python method.
2755 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2756 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2757 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2758 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2761 wxPyEndBlockThreads(blocked
);
2765 // Create a new class for wxPython to use
2766 class wxPyTextDataObject
: public wxTextDataObject
{
2768 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2769 : wxTextDataObject(text
) {}
2771 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2772 DEC_PYCALLBACK_STRING__const(GetText
);
2773 DEC_PYCALLBACK__STRING(SetText
);
2777 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2778 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2779 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2782 // Create a new class for wxPython to use
2783 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2785 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2786 : wxBitmapDataObject(bitmap
) {}
2788 wxBitmap
GetBitmap() const;
2789 void SetBitmap(const wxBitmap
& bitmap
);
2793 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2794 wxBitmap
* rval
= &wxNullBitmap
;
2795 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2796 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2799 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2801 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2806 wxPyEndBlockThreads(blocked
);
2810 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2811 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2812 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2813 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2814 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2817 wxPyEndBlockThreads(blocked
);
2820 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2821 return new wxCustomDataObject(wxDataFormat(formatName
));
2823 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2826 if (PyString_Check(data
)) {
2827 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2830 // raise a TypeError if not a string
2831 PyErr_SetString(PyExc_TypeError
, "String expected.");
2834 wxPyEndBlockThreads(blocked
);
2837 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2839 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2840 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2841 wxPyEndBlockThreads(blocked
);
2845 #include <wx/metafile.h>
2848 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2851 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2852 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2853 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2854 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2855 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2858 class wxPyTextDropTarget
: public wxTextDropTarget
{
2860 wxPyTextDropTarget() {}
2862 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2864 DEC_PYCALLBACK__(OnLeave
);
2865 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2866 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2867 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2868 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2873 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2874 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2875 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2876 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2877 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2878 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2882 class wxPyFileDropTarget
: public wxFileDropTarget
{
2884 wxPyFileDropTarget() {}
2886 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2888 DEC_PYCALLBACK__(OnLeave
);
2889 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2890 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2891 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2892 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2897 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2898 const wxArrayString
& filenames
) {
2900 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2901 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2902 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2903 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2906 wxPyEndBlockThreads(blocked
);
2912 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2913 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2914 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2915 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2916 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2921 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2923 #include <wx/display.h>
2925 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2926 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2928 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2930 #include <wx/dynarray.h>
2931 #include <wx/vidmode.h>
2933 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2934 #include "wx/arrimpl.cpp"
2935 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2936 const wxVideoMode wxDefaultVideoMode
;
2941 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2944 static size_t GetCount()
2945 { wxPyRaiseNotImplemented(); return 0; }
2947 static int GetFromPoint(const wxPoint
& pt
)
2948 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2949 static int GetFromWindow(wxWindow
*window
)
2950 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2952 virtual bool IsOk() const { return false; }
2953 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2954 virtual wxString
GetName() const { return wxEmptyString
; }
2955 bool IsPrimary() const { return false; }
2957 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2958 { wxArrayVideoModes a
; return a
; }
2960 virtual wxVideoMode
GetCurrentMode() const
2961 { return wxDefaultVideoMode
; }
2963 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2970 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2971 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2972 PyObject
* pyList
= NULL
;
2973 wxArrayVideoModes arr
= self
->GetModes(mode
);
2974 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2975 pyList
= PyList_New(0);
2976 for (int i
=0; i
< arr
.GetCount(); i
++) {
2977 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2978 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2979 PyList_Append(pyList
, pyObj
);
2982 wxPyEndBlockThreads(blocked
);
2986 #include <wx/stdpaths.h>
2988 static wxStandardPaths
*StandardPaths_Get(){
2989 return (wxStandardPaths
*) &wxStandardPaths::Get();
2991 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2992 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2996 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxSystemColour arg1
;
3000 PyObject
* obj0
= 0 ;
3002 (char *) "index", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3007 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3008 if (SWIG_arg_fail(1)) SWIG_fail
;
3011 if (!wxPyCheckForApp()) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3019 wxColour
* resultptr
;
3020 resultptr
= new wxColour((wxColour
&)(result
));
3021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3029 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3033 PyObject
* obj0
= 0 ;
3035 (char *) "index", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3040 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3041 if (SWIG_arg_fail(1)) SWIG_fail
;
3044 if (!wxPyCheckForApp()) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3053 resultptr
= new wxFont((wxFont
&)(result
));
3054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3062 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxSystemMetric arg1
;
3065 wxWindow
*arg2
= (wxWindow
*) NULL
;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3070 (char *) "index",(char *) "win", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3076 if (SWIG_arg_fail(1)) SWIG_fail
;
3079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(2)) SWIG_fail
;
3083 if (!wxPyCheckForApp()) SWIG_fail
;
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3091 resultobj
= SWIG_From_int((int)(result
));
3099 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxSystemFeature arg1
;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "index", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3110 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3111 if (SWIG_arg_fail(1)) SWIG_fail
;
3114 if (!wxPyCheckForApp()) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3130 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxSystemScreenType result
;
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3139 if (!wxPyCheckForApp()) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= SWIG_From_int((result
));
3153 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxSystemScreenType arg1
;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "screen", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3163 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3164 if (SWIG_arg_fail(1)) SWIG_fail
;
3167 if (!wxPyCheckForApp()) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3184 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3186 return Py_BuildValue((char *)"");
3188 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3189 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3194 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3199 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3201 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3208 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxSystemOptions
*result
;
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (wxSystemOptions
*)new wxSystemOptions();
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3230 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxString
*arg1
= 0 ;
3233 wxString
*arg2
= 0 ;
3234 bool temp1
= false ;
3235 bool temp2
= false ;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3239 (char *) "name",(char *) "value", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 arg1
= wxString_in_helper(obj0
);
3245 if (arg1
== NULL
) SWIG_fail
;
3249 arg2
= wxString_in_helper(obj1
);
3250 if (arg2
== NULL
) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxString
*arg1
= 0 ;
3287 bool temp1
= false ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "name",(char *) "value", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3296 arg1
= wxString_in_helper(obj0
);
3297 if (arg1
== NULL
) SWIG_fail
;
3301 arg2
= (int)(SWIG_As_int(obj1
));
3302 if (SWIG_arg_fail(2)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3326 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxString
*arg1
= 0 ;
3330 bool temp1
= false ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "name", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3338 arg1
= wxString_in_helper(obj0
);
3339 if (arg1
== NULL
) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3370 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxString
*arg1
= 0 ;
3374 bool temp1
= false ;
3375 PyObject
* obj0
= 0 ;
3377 (char *) "name", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3382 arg1
= wxString_in_helper(obj0
);
3383 if (arg1
== NULL
) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= SWIG_From_int((int)(result
));
3410 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxString
*arg1
= 0 ;
3414 bool temp1
= false ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "name", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3422 arg1
= wxString_in_helper(obj0
);
3423 if (arg1
== NULL
) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3450 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxString
*arg1
= 0 ;
3454 bool temp1
= false ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "name", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3462 arg1
= wxString_in_helper(obj0
);
3463 if (arg1
== NULL
) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3490 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3493 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3495 return Py_BuildValue((char *)"");
3497 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3498 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3503 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3508 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3510 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3517 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3518 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3523 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3528 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3530 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3537 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3538 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3543 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3548 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3550 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3557 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (long)wxNewId();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_From_long((long)(result
));
3581 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3584 PyObject
* obj0
= 0 ;
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3591 arg1
= (long)(SWIG_As_long(obj0
));
3592 if (SWIG_arg_fail(1)) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (long)wxGetCurrentId();
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= SWIG_From_long((long)(result
));
3632 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3636 PyObject
* obj0
= 0 ;
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3643 arg1
= (int)(SWIG_As_int(obj0
));
3644 if (SWIG_arg_fail(1)) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= (bool)wxIsStockID(arg1
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3662 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3665 wxString
*arg2
= 0 ;
3667 bool temp2
= false ;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3671 (char *) "id",(char *) "label", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3676 arg1
= (int)(SWIG_As_int(obj0
));
3677 if (SWIG_arg_fail(1)) SWIG_fail
;
3680 arg2
= wxString_in_helper(obj1
);
3681 if (arg2
== NULL
) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3708 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3711 bool arg2
= (bool) true ;
3712 wxString arg3
= (wxString
) wxPyEmptyString
;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 PyObject
* obj2
= 0 ;
3718 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3723 arg1
= (int)(SWIG_As_int(obj0
));
3724 if (SWIG_arg_fail(1)) SWIG_fail
;
3728 arg2
= (bool)(SWIG_As_bool(obj1
));
3729 if (SWIG_arg_fail(2)) SWIG_fail
;
3734 wxString
* sptr
= wxString_in_helper(obj2
);
3735 if (sptr
== NULL
) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3760 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3768 if (!wxPyCheckForApp()) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3790 if (!wxPyCheckForApp()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 bool arg1
= (bool) true ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "resetTimer", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3816 arg1
= (bool)(SWIG_As_bool(obj0
));
3817 if (SWIG_arg_fail(1)) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (long)wxGetElapsedTime(arg1
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_From_long((long)(result
));
3836 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 int *arg1
= (int *) 0 ;
3839 int *arg2
= (int *) 0 ;
3848 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3849 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3852 if (!wxPyCheckForApp()) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 wxGetMousePosition(arg1
,arg2
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 Py_INCREF(Py_None
); resultobj
= Py_None
;
3860 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3861 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3862 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3863 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3870 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (bool)wxIsBusy();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3894 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3922 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3925 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3927 bool temp1
= false ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "command", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3936 arg1
= wxString_in_helper(obj0
);
3937 if (arg1
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)wxShell((wxString
const &)*arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3965 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 int *arg1
= (int *) 0 ;
3989 int *arg2
= (int *) 0 ;
3999 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4000 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 result
= (int)wxGetOsVersion(arg1
,arg2
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_From_int((int)(result
));
4012 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4013 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4014 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4015 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4022 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= wxGetOsDescription();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4050 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (long)wxGetFreeMemory();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_From_long((long)(result
));
4074 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxShutdownFlags arg1
;
4078 PyObject
* obj0
= 0 ;
4080 (char *) "wFlags", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4085 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4086 if (SWIG_arg_fail(1)) SWIG_fail
;
4089 if (!wxPyCheckForApp()) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4105 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "secs", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4115 arg1
= (int)(SWIG_As_int(obj0
));
4116 if (SWIG_arg_fail(1)) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 Py_INCREF(Py_None
); resultobj
= Py_None
;
4132 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 unsigned long arg1
;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "milliseconds", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4142 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4143 if (SWIG_arg_fail(1)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 unsigned long arg1
;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "microseconds", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4169 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4170 if (SWIG_arg_fail(1)) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "enable", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4196 arg1
= (bool)(SWIG_As_bool(obj0
));
4197 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 wxEnableTopLevelWindows(arg1
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxString
*arg1
= 0 ;
4217 bool temp1
= false ;
4218 PyObject
* obj0
= 0 ;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4225 arg1
= wxString_in_helper(obj0
);
4226 if (arg1
== NULL
) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4257 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= wxGetEmailAddress();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4285 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= wxGetHostName();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4313 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= wxGetFullHostName();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4341 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= wxGetUserId();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4369 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= wxGetUserName();
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4397 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= wxGetHomeDir();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4425 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4428 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4430 bool temp1
= false ;
4431 PyObject
* obj0
= 0 ;
4433 (char *) "user", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4439 arg1
= wxString_in_helper(obj0
);
4440 if (arg1
== NULL
) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxGetUserHome((wxString
const &)*arg1
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4472 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 unsigned long result
;
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (unsigned long)wxGetProcessId();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4496 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
;
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4520 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4521 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4522 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4527 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4528 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4529 int arg6
= (int) 0 ;
4530 wxWindow
*arg7
= (wxWindow
*) NULL
;
4531 int arg8
= (int) -1 ;
4532 int arg9
= (int) -1 ;
4534 bool temp1
= false ;
4535 bool temp2
= false ;
4536 bool temp3
= false ;
4537 bool temp4
= false ;
4538 bool temp5
= false ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4541 PyObject
* obj2
= 0 ;
4542 PyObject
* obj3
= 0 ;
4543 PyObject
* obj4
= 0 ;
4544 PyObject
* obj5
= 0 ;
4545 PyObject
* obj6
= 0 ;
4546 PyObject
* obj7
= 0 ;
4547 PyObject
* obj8
= 0 ;
4549 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4555 arg1
= wxString_in_helper(obj0
);
4556 if (arg1
== NULL
) SWIG_fail
;
4562 arg2
= wxString_in_helper(obj1
);
4563 if (arg2
== NULL
) SWIG_fail
;
4569 arg3
= wxString_in_helper(obj2
);
4570 if (arg3
== NULL
) SWIG_fail
;
4576 arg4
= wxString_in_helper(obj3
);
4577 if (arg4
== NULL
) SWIG_fail
;
4583 arg5
= wxString_in_helper(obj4
);
4584 if (arg5
== NULL
) SWIG_fail
;
4590 arg6
= (int)(SWIG_As_int(obj5
));
4591 if (SWIG_arg_fail(6)) SWIG_fail
;
4595 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4596 if (SWIG_arg_fail(7)) SWIG_fail
;
4600 arg8
= (int)(SWIG_As_int(obj7
));
4601 if (SWIG_arg_fail(8)) SWIG_fail
;
4606 arg9
= (int)(SWIG_As_int(obj8
));
4607 if (SWIG_arg_fail(9)) SWIG_fail
;
4611 if (!wxPyCheckForApp()) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4671 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxString
*arg1
= 0 ;
4674 wxString
*arg2
= 0 ;
4675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4677 wxWindow
*arg4
= (wxWindow
*) NULL
;
4679 bool temp1
= false ;
4680 bool temp2
= false ;
4681 bool temp3
= false ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 PyObject
* obj2
= 0 ;
4685 PyObject
* obj3
= 0 ;
4687 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4692 arg1
= wxString_in_helper(obj0
);
4693 if (arg1
== NULL
) SWIG_fail
;
4697 arg2
= wxString_in_helper(obj1
);
4698 if (arg2
== NULL
) SWIG_fail
;
4703 arg3
= wxString_in_helper(obj2
);
4704 if (arg3
== NULL
) SWIG_fail
;
4709 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4710 if (SWIG_arg_fail(4)) SWIG_fail
;
4713 if (!wxPyCheckForApp()) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4757 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxString
*arg1
= 0 ;
4760 wxString
*arg2
= 0 ;
4761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4763 wxWindow
*arg4
= (wxWindow
*) NULL
;
4765 bool temp1
= false ;
4766 bool temp2
= false ;
4767 bool temp3
= false ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4770 PyObject
* obj2
= 0 ;
4771 PyObject
* obj3
= 0 ;
4773 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4778 arg1
= wxString_in_helper(obj0
);
4779 if (arg1
== NULL
) SWIG_fail
;
4783 arg2
= wxString_in_helper(obj1
);
4784 if (arg2
== NULL
) SWIG_fail
;
4789 arg3
= wxString_in_helper(obj2
);
4790 if (arg3
== NULL
) SWIG_fail
;
4795 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4796 if (SWIG_arg_fail(4)) SWIG_fail
;
4799 if (!wxPyCheckForApp()) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4843 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4846 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4847 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4848 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4849 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4852 wxWindow
*arg5
= (wxWindow
*) NULL
;
4854 bool temp1
= false ;
4855 bool temp2
= false ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 PyObject
* obj4
= 0 ;
4863 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4869 arg1
= wxString_in_helper(obj0
);
4870 if (arg1
== NULL
) SWIG_fail
;
4876 arg2
= wxString_in_helper(obj1
);
4877 if (arg2
== NULL
) SWIG_fail
;
4883 arg3
= (long)(SWIG_As_long(obj2
));
4884 if (SWIG_arg_fail(3)) SWIG_fail
;
4890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4894 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4895 if (SWIG_arg_fail(5)) SWIG_fail
;
4898 if (!wxPyCheckForApp()) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4934 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxString
*arg1
= 0 ;
4937 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4938 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4941 wxWindow
*arg4
= (wxWindow
*) NULL
;
4942 int arg5
= (int) -1 ;
4943 int arg6
= (int) -1 ;
4944 bool arg7
= (bool) true ;
4946 bool temp1
= false ;
4947 bool temp2
= false ;
4948 bool temp3
= false ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4952 PyObject
* obj3
= 0 ;
4953 PyObject
* obj4
= 0 ;
4954 PyObject
* obj5
= 0 ;
4955 PyObject
* obj6
= 0 ;
4957 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4962 arg1
= wxString_in_helper(obj0
);
4963 if (arg1
== NULL
) SWIG_fail
;
4968 arg2
= wxString_in_helper(obj1
);
4969 if (arg2
== NULL
) SWIG_fail
;
4975 arg3
= wxString_in_helper(obj2
);
4976 if (arg3
== NULL
) SWIG_fail
;
4981 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(4)) SWIG_fail
;
4986 arg5
= (int)(SWIG_As_int(obj4
));
4987 if (SWIG_arg_fail(5)) SWIG_fail
;
4992 arg6
= (int)(SWIG_As_int(obj5
));
4993 if (SWIG_arg_fail(6)) SWIG_fail
;
4998 arg7
= (bool)(SWIG_As_bool(obj6
));
4999 if (SWIG_arg_fail(7)) SWIG_fail
;
5003 if (!wxPyCheckForApp()) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5047 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxString
*arg1
= 0 ;
5050 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5051 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5054 wxWindow
*arg4
= (wxWindow
*) NULL
;
5056 bool temp1
= false ;
5057 bool temp2
= false ;
5058 bool temp3
= false ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 PyObject
* obj2
= 0 ;
5062 PyObject
* obj3
= 0 ;
5064 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5069 arg1
= wxString_in_helper(obj0
);
5070 if (arg1
== NULL
) SWIG_fail
;
5075 arg2
= wxString_in_helper(obj1
);
5076 if (arg2
== NULL
) SWIG_fail
;
5082 arg3
= wxString_in_helper(obj2
);
5083 if (arg3
== NULL
) SWIG_fail
;
5088 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(4)) SWIG_fail
;
5092 if (!wxPyCheckForApp()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5136 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxString
*arg1
= 0 ;
5139 wxString
*arg2
= 0 ;
5141 wxString
*arg4
= (wxString
*) 0 ;
5142 wxWindow
*arg5
= (wxWindow
*) NULL
;
5143 int arg6
= (int) -1 ;
5144 int arg7
= (int) -1 ;
5145 bool arg8
= (bool) true ;
5146 int arg9
= (int) 150 ;
5147 int arg10
= (int) 200 ;
5149 bool temp1
= false ;
5150 bool temp2
= false ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 PyObject
* obj2
= 0 ;
5154 PyObject
* obj3
= 0 ;
5155 PyObject
* obj4
= 0 ;
5156 PyObject
* obj5
= 0 ;
5157 PyObject
* obj6
= 0 ;
5158 PyObject
* obj7
= 0 ;
5159 PyObject
* obj8
= 0 ;
5161 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5166 arg1
= wxString_in_helper(obj0
);
5167 if (arg1
== NULL
) SWIG_fail
;
5171 arg2
= wxString_in_helper(obj1
);
5172 if (arg2
== NULL
) SWIG_fail
;
5176 arg3
= PyList_Size(obj2
);
5177 arg4
= wxString_LIST_helper(obj2
);
5178 if (arg4
== NULL
) SWIG_fail
;
5181 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5182 if (SWIG_arg_fail(5)) SWIG_fail
;
5186 arg6
= (int)(SWIG_As_int(obj4
));
5187 if (SWIG_arg_fail(6)) SWIG_fail
;
5192 arg7
= (int)(SWIG_As_int(obj5
));
5193 if (SWIG_arg_fail(7)) SWIG_fail
;
5198 arg8
= (bool)(SWIG_As_bool(obj6
));
5199 if (SWIG_arg_fail(8)) SWIG_fail
;
5204 arg9
= (int)(SWIG_As_int(obj7
));
5205 if (SWIG_arg_fail(9)) SWIG_fail
;
5210 arg10
= (int)(SWIG_As_int(obj8
));
5211 if (SWIG_arg_fail(10)) SWIG_fail
;
5215 if (!wxPyCheckForApp()) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5238 if (arg4
) delete [] arg4
;
5251 if (arg4
) delete [] arg4
;
5257 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxString
*arg1
= 0 ;
5260 wxString
*arg2
= 0 ;
5262 wxString
*arg4
= (wxString
*) 0 ;
5263 wxWindow
*arg5
= (wxWindow
*) NULL
;
5264 int arg6
= (int) -1 ;
5265 int arg7
= (int) -1 ;
5266 bool arg8
= (bool) true ;
5267 int arg9
= (int) 150 ;
5268 int arg10
= (int) 200 ;
5270 bool temp1
= false ;
5271 bool temp2
= false ;
5272 PyObject
* obj0
= 0 ;
5273 PyObject
* obj1
= 0 ;
5274 PyObject
* obj2
= 0 ;
5275 PyObject
* obj3
= 0 ;
5276 PyObject
* obj4
= 0 ;
5277 PyObject
* obj5
= 0 ;
5278 PyObject
* obj6
= 0 ;
5279 PyObject
* obj7
= 0 ;
5280 PyObject
* obj8
= 0 ;
5282 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5287 arg1
= wxString_in_helper(obj0
);
5288 if (arg1
== NULL
) SWIG_fail
;
5292 arg2
= wxString_in_helper(obj1
);
5293 if (arg2
== NULL
) SWIG_fail
;
5297 arg3
= PyList_Size(obj2
);
5298 arg4
= wxString_LIST_helper(obj2
);
5299 if (arg4
== NULL
) SWIG_fail
;
5302 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5303 if (SWIG_arg_fail(5)) SWIG_fail
;
5307 arg6
= (int)(SWIG_As_int(obj4
));
5308 if (SWIG_arg_fail(6)) SWIG_fail
;
5313 arg7
= (int)(SWIG_As_int(obj5
));
5314 if (SWIG_arg_fail(7)) SWIG_fail
;
5319 arg8
= (bool)(SWIG_As_bool(obj6
));
5320 if (SWIG_arg_fail(8)) SWIG_fail
;
5325 arg9
= (int)(SWIG_As_int(obj7
));
5326 if (SWIG_arg_fail(9)) SWIG_fail
;
5331 arg10
= (int)(SWIG_As_int(obj8
));
5332 if (SWIG_arg_fail(10)) SWIG_fail
;
5336 if (!wxPyCheckForApp()) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_From_int((int)(result
));
5355 if (arg4
) delete [] arg4
;
5368 if (arg4
) delete [] arg4
;
5374 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxString
*arg1
= 0 ;
5377 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5378 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5379 int arg3
= (int) wxOK
|wxCENTRE
;
5380 wxWindow
*arg4
= (wxWindow
*) NULL
;
5381 int arg5
= (int) -1 ;
5382 int arg6
= (int) -1 ;
5384 bool temp1
= false ;
5385 bool temp2
= false ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 PyObject
* obj2
= 0 ;
5389 PyObject
* obj3
= 0 ;
5390 PyObject
* obj4
= 0 ;
5391 PyObject
* obj5
= 0 ;
5393 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5398 arg1
= wxString_in_helper(obj0
);
5399 if (arg1
== NULL
) SWIG_fail
;
5404 arg2
= wxString_in_helper(obj1
);
5405 if (arg2
== NULL
) SWIG_fail
;
5411 arg3
= (int)(SWIG_As_int(obj2
));
5412 if (SWIG_arg_fail(3)) SWIG_fail
;
5416 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(4)) SWIG_fail
;
5421 arg5
= (int)(SWIG_As_int(obj4
));
5422 if (SWIG_arg_fail(5)) SWIG_fail
;
5427 arg6
= (int)(SWIG_As_int(obj5
));
5428 if (SWIG_arg_fail(6)) SWIG_fail
;
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_From_int((int)(result
));
5464 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxString
*arg1
= 0 ;
5467 wxString
*arg2
= 0 ;
5468 wxString
*arg3
= 0 ;
5470 long arg5
= (long) 0 ;
5471 long arg6
= (long) 100 ;
5472 wxWindow
*arg7
= (wxWindow
*) NULL
;
5473 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5474 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5476 bool temp1
= false ;
5477 bool temp2
= false ;
5478 bool temp3
= false ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5482 PyObject
* obj2
= 0 ;
5483 PyObject
* obj3
= 0 ;
5484 PyObject
* obj4
= 0 ;
5485 PyObject
* obj5
= 0 ;
5486 PyObject
* obj6
= 0 ;
5487 PyObject
* obj7
= 0 ;
5489 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5494 arg1
= wxString_in_helper(obj0
);
5495 if (arg1
== NULL
) SWIG_fail
;
5499 arg2
= wxString_in_helper(obj1
);
5500 if (arg2
== NULL
) SWIG_fail
;
5504 arg3
= wxString_in_helper(obj2
);
5505 if (arg3
== NULL
) SWIG_fail
;
5509 arg4
= (long)(SWIG_As_long(obj3
));
5510 if (SWIG_arg_fail(4)) SWIG_fail
;
5514 arg5
= (long)(SWIG_As_long(obj4
));
5515 if (SWIG_arg_fail(5)) SWIG_fail
;
5520 arg6
= (long)(SWIG_As_long(obj5
));
5521 if (SWIG_arg_fail(6)) SWIG_fail
;
5525 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(7)) SWIG_fail
;
5531 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5535 if (!wxPyCheckForApp()) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_From_long((long)(result
));
5575 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5584 if (!wxPyCheckForApp()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (bool)wxColourDisplay();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5600 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5609 if (!wxPyCheckForApp()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)wxDisplayDepth();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_From_int((int)(result
));
5625 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5634 if (!wxPyCheckForApp()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (int)wxGetDisplayDepth();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_From_int((int)(result
));
5650 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 int *arg1
= (int *) 0 ;
5653 int *arg2
= (int *) 0 ;
5662 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5663 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5666 if (!wxPyCheckForApp()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxDisplaySize(arg1
,arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 Py_INCREF(Py_None
); resultobj
= Py_None
;
5674 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5675 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5676 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5677 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5684 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5693 if (!wxPyCheckForApp()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= wxGetDisplaySize();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5702 resultptr
= new wxSize((wxSize
&)(result
));
5703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5711 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 int *arg1
= (int *) 0 ;
5714 int *arg2
= (int *) 0 ;
5723 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5724 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5727 if (!wxPyCheckForApp()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxDisplaySizeMM(arg1
,arg2
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5735 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5736 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5737 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5738 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5745 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5754 if (!wxPyCheckForApp()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= wxGetDisplaySizeMM();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5763 resultptr
= new wxSize((wxSize
&)(result
));
5764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5772 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 int *arg1
= (int *) 0 ;
5775 int *arg2
= (int *) 0 ;
5776 int *arg3
= (int *) 0 ;
5777 int *arg4
= (int *) 0 ;
5790 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5791 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5792 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5793 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5796 if (!wxPyCheckForApp()) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5805 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5806 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5807 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5808 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5809 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5810 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5811 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5818 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5827 if (!wxPyCheckForApp()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= wxGetClientDisplayRect();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5836 resultptr
= new wxRect((wxRect
&)(result
));
5837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5845 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxCursor
*arg1
= 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "cursor", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5858 SWIG_null_ref("wxCursor");
5860 if (SWIG_arg_fail(1)) SWIG_fail
;
5863 if (!wxPyCheckForApp()) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5886 if (!wxPyCheckForApp()) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (void *)wxGetXDisplay();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5900 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "cursor", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail
;
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxBeginBusyCursor(arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5928 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5937 if (!wxPyCheckForApp()) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (wxWindow
*)wxGetActiveWindow();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= wxPyMake_wxObject(result
, 0);
5953 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5958 PyObject
* obj0
= 0 ;
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5966 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5969 if (!wxPyCheckForApp()) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= wxPyMake_wxObject(result
, 0);
5985 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5990 PyObject
* obj0
= 0 ;
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5998 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6001 if (!wxPyCheckForApp()) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= wxPyMake_wxObject(result
, 0);
6017 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxWindow
*arg1
= (wxWindow
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6023 (char *) "win", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6028 if (SWIG_arg_fail(1)) SWIG_fail
;
6030 if (!wxPyCheckForApp()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= wxPyMake_wxObject(result
, 0);
6046 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxString
*arg1
= 0 ;
6050 bool temp1
= false ;
6051 PyObject
* obj0
= 0 ;
6053 (char *) "url", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6058 arg1
= wxString_in_helper(obj0
);
6059 if (arg1
== NULL
) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6086 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "key", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6097 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6098 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 if (!wxPyCheckForApp()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6117 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6125 if (!wxPyCheckForApp()) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 wxWakeUpMainThread();
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6147 if (!wxPyCheckForApp()) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6169 if (!wxPyCheckForApp()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxMutexGuiLocker
*result
;
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6192 if (!wxPyCheckForApp()) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6206 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6216 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6236 return Py_BuildValue((char *)"");
6238 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (bool)wxThread_IsMain();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6262 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxString
*arg1
= 0 ;
6266 bool temp1
= false ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "tip", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6274 arg1
= wxString_in_helper(obj0
);
6275 if (arg1
== NULL
) SWIG_fail
;
6279 if (!wxPyCheckForApp()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= wxPyMake_wxObject(result
, 1);
6303 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6306 wxString
*arg2
= 0 ;
6307 bool temp2
= false ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6311 (char *) "self",(char *) "tip", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6318 arg2
= wxString_in_helper(obj1
);
6319 if (arg2
== NULL
) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetTip((wxString
const &)*arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6344 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (arg1
)->GetTip();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6376 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (wxWindow
*)(arg1
)->GetWindow();
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= wxPyMake_wxObject(result
, 0);
6404 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "flag", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6414 arg1
= (bool)(SWIG_As_bool(obj0
));
6415 if (SWIG_arg_fail(1)) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxToolTip::Enable(arg1
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "milliseconds", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6441 arg1
= (long)(SWIG_As_long(obj0
));
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 wxToolTip::SetDelay(arg1
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6463 return Py_BuildValue((char *)"");
6465 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxWindow
*arg1
= (wxWindow
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "window",(char *) "size", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6485 if (!wxPyCheckForApp()) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6499 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxCaret
*arg1
= (wxCaret
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6509 if (SWIG_arg_fail(1)) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 wxCaret_Destroy(arg1
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 Py_INCREF(Py_None
); resultobj
= Py_None
;
6524 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxCaret
*arg1
= (wxCaret
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6530 (char *) "self", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6535 if (SWIG_arg_fail(1)) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (bool)(arg1
)->IsOk();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6552 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxCaret
*arg1
= (wxCaret
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6558 (char *) "self", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6563 if (SWIG_arg_fail(1)) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (bool)(arg1
)->IsVisible();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6580 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxCaret
*arg1
= (wxCaret
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6591 if (SWIG_arg_fail(1)) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (arg1
)->GetPosition();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 wxPoint
* resultptr
;
6601 resultptr
= new wxPoint((wxPoint
&)(result
));
6602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6610 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxCaret
*arg1
= (wxCaret
*) 0 ;
6613 int *arg2
= (int *) 0 ;
6614 int *arg3
= (int *) 0 ;
6619 PyObject
* obj0
= 0 ;
6621 (char *) "self", NULL
6624 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6625 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->GetPosition(arg2
,arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6638 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6639 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6640 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6647 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxCaret
*arg1
= (wxCaret
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (arg1
)->GetSize();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6668 resultptr
= new wxSize((wxSize
&)(result
));
6669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6677 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxCaret
*arg1
= (wxCaret
*) 0 ;
6680 int *arg2
= (int *) 0 ;
6681 int *arg3
= (int *) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6692 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->GetSize(arg2
,arg3
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6704 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6705 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6706 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6707 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6714 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxCaret
*arg1
= (wxCaret
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxWindow
*)(arg1
)->GetWindow();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= wxPyMake_wxObject(result
, 0);
6742 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxCaret
*arg1
= (wxCaret
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6749 PyObject
* obj2
= 0 ;
6751 (char *) "self",(char *) "x",(char *) "y", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 arg2
= (int)(SWIG_As_int(obj1
));
6759 if (SWIG_arg_fail(2)) SWIG_fail
;
6762 arg3
= (int)(SWIG_As_int(obj2
));
6763 if (SWIG_arg_fail(3)) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->Move(arg2
,arg3
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxCaret
*arg1
= (wxCaret
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "pt", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6792 if (SWIG_arg_fail(1)) SWIG_fail
;
6795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 (arg1
)->Move((wxPoint
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6811 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxCaret
*arg1
= (wxCaret
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6818 PyObject
* obj2
= 0 ;
6820 (char *) "self",(char *) "width",(char *) "height", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6825 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 arg2
= (int)(SWIG_As_int(obj1
));
6828 if (SWIG_arg_fail(2)) SWIG_fail
;
6831 arg3
= (int)(SWIG_As_int(obj2
));
6832 if (SWIG_arg_fail(3)) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 (arg1
)->SetSize(arg2
,arg3
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 Py_INCREF(Py_None
); resultobj
= Py_None
;
6848 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxCaret
*arg1
= (wxCaret
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "size", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6861 if (SWIG_arg_fail(1)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->SetSize((wxSize
const &)*arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCaret
*arg1
= (wxCaret
*) 0 ;
6883 int arg2
= (int) true ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "show", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 arg2
= (int)(SWIG_As_int(obj1
));
6896 if (SWIG_arg_fail(2)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxCaret
*arg1
= (wxCaret
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6923 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (int)wxCaret::GetBlinkTime();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_From_int((int)(result
));
6962 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "milliseconds", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6972 arg1
= (int)(SWIG_As_int(obj0
));
6973 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxCaret::SetBlinkTime(arg1
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6992 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6994 return Py_BuildValue((char *)"");
6996 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6999 wxBusyCursor
*result
;
7000 PyObject
* obj0
= 0 ;
7002 (char *) "cursor", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7008 if (SWIG_arg_fail(1)) SWIG_fail
;
7011 if (!wxPyCheckForApp()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7025 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7053 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7055 return Py_BuildValue((char *)"");
7057 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxWindow
*arg1
= (wxWindow
*) NULL
;
7060 wxWindowDisabler
*result
;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "winToSkip", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 if (!wxPyCheckForApp()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7086 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7091 (char *) "self", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7111 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7114 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7116 return Py_BuildValue((char *)"");
7118 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxString
*arg1
= 0 ;
7122 bool temp1
= false ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "message", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7130 arg1
= wxString_in_helper(obj0
);
7131 if (arg1
== NULL
) SWIG_fail
;
7135 if (!wxPyCheckForApp()) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7157 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7162 (char *) "self", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 Py_INCREF(Py_None
); resultobj
= Py_None
;
7182 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7185 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7187 return Py_BuildValue((char *)"");
7189 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxStopWatch
*result
;
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (wxStopWatch
*)new wxStopWatch();
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7211 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7214 long arg2
= (long) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "t0", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail
;
7226 arg2
= (long)(SWIG_As_long(obj1
));
7227 if (SWIG_arg_fail(2)) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 (arg1
)->Start(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7254 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "self", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7279 if (SWIG_arg_fail(1)) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_From_long((long)(result
));
7322 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7325 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7327 return Py_BuildValue((char *)"");
7329 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 int arg1
= (int) 9 ;
7332 int arg2
= (int) wxID_FILE1
;
7333 wxFileHistory
*result
;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7337 (char *) "maxFiles",(char *) "idBase", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7343 arg1
= (int)(SWIG_As_int(obj0
));
7344 if (SWIG_arg_fail(1)) SWIG_fail
;
7349 arg2
= (int)(SWIG_As_int(obj1
));
7350 if (SWIG_arg_fail(2)) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7367 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7372 (char *) "self", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7377 if (SWIG_arg_fail(1)) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7395 wxString
*arg2
= 0 ;
7396 bool temp2
= false ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7400 (char *) "self",(char *) "file", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7405 if (SWIG_arg_fail(1)) SWIG_fail
;
7407 arg2
= wxString_in_helper(obj1
);
7408 if (arg2
== NULL
) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7440 (char *) "self",(char *) "i", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail
;
7447 arg2
= (int)(SWIG_As_int(obj1
));
7448 if (SWIG_arg_fail(2)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->RemoveFileFromHistory(arg2
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7470 (char *) "self", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= SWIG_From_int((int)(result
));
7492 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7495 wxMenu
*arg2
= (wxMenu
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "menu", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(2)) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->UseMenu(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7524 wxMenu
*arg2
= (wxMenu
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "menu", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7535 if (SWIG_arg_fail(2)) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->RemoveMenu(arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7553 wxConfigBase
*arg2
= 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "config", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(2)) SWIG_fail
;
7567 SWIG_null_ref("wxConfigBase");
7569 if (SWIG_arg_fail(2)) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 (arg1
)->Load(*arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 Py_INCREF(Py_None
); resultobj
= Py_None
;
7585 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7588 wxConfigBase
*arg2
= 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "config", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7597 if (SWIG_arg_fail(1)) SWIG_fail
;
7599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7600 if (SWIG_arg_fail(2)) SWIG_fail
;
7602 SWIG_null_ref("wxConfigBase");
7604 if (SWIG_arg_fail(2)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->Save(*arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 (arg1
)->AddFilesToMenu();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7645 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7648 wxMenu
*arg2
= (wxMenu
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "menu", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(1)) SWIG_fail
;
7658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(2)) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->AddFilesToMenu(arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 Py_INCREF(Py_None
); resultobj
= Py_None
;
7674 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7682 (char *) "self",(char *) "i", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 arg2
= (int)(SWIG_As_int(obj1
));
7690 if (SWIG_arg_fail(2)) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7712 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_From_int((int)(result
));
7740 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7745 return Py_BuildValue((char *)"");
7747 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxString
*arg1
= 0 ;
7750 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7751 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7752 wxSingleInstanceChecker
*result
;
7753 bool temp1
= false ;
7754 bool temp2
= false ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "name",(char *) "path", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 arg1
= wxString_in_helper(obj0
);
7764 if (arg1
== NULL
) SWIG_fail
;
7769 arg2
= wxString_in_helper(obj1
);
7770 if (arg2
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7804 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxSingleInstanceChecker
*result
;
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7826 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7831 (char *) "self", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 Py_INCREF(Py_None
); resultobj
= Py_None
;
7851 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7854 wxString
*arg2
= 0 ;
7855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7858 bool temp2
= false ;
7859 bool temp3
= false ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 PyObject
* obj2
= 0 ;
7864 (char *) "self",(char *) "name",(char *) "path", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail
;
7871 arg2
= wxString_in_helper(obj1
);
7872 if (arg2
== NULL
) SWIG_fail
;
7877 arg3
= wxString_in_helper(obj2
);
7878 if (arg3
== NULL
) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7925 if (SWIG_arg_fail(1)) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7942 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7945 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7947 return Py_BuildValue((char *)"");
7949 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxWindow
*arg1
= (wxWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "window",(char *) "dc", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7962 if (SWIG_arg_fail(1)) SWIG_fail
;
7964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(2)) SWIG_fail
;
7967 SWIG_null_ref("wxDC");
7969 if (SWIG_arg_fail(2)) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7987 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7997 if (SWIG_arg_fail(1)) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (arg1
)->GetTip();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8044 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (size_t)(arg1
)->GetCurrentTip();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8072 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8075 wxString
*arg2
= 0 ;
8077 bool temp2
= false ;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8081 (char *) "self",(char *) "tip", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 arg2
= wxString_in_helper(obj1
);
8089 if (arg2
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8120 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8123 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8125 return Py_BuildValue((char *)"");
8127 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8130 wxPyTipProvider
*result
;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "currentTip", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8138 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8139 if (SWIG_arg_fail(1)) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8155 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8158 PyObject
*arg2
= (PyObject
*) 0 ;
8159 PyObject
*arg3
= (PyObject
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8164 (char *) "self",(char *) "self",(char *) "_class", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8169 if (SWIG_arg_fail(1)) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8189 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8191 return Py_BuildValue((char *)"");
8193 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxWindow
*arg1
= (wxWindow
*) 0 ;
8196 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8197 bool arg3
= (bool) true ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8203 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8208 if (SWIG_arg_fail(1)) SWIG_fail
;
8209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(2)) SWIG_fail
;
8213 arg3
= (bool)(SWIG_As_bool(obj2
));
8214 if (SWIG_arg_fail(3)) SWIG_fail
;
8218 if (!wxPyCheckForApp()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8234 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxString
*arg1
= 0 ;
8238 wxTipProvider
*result
;
8239 bool temp1
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8243 (char *) "filename",(char *) "currentTip", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8248 arg1
= wxString_in_helper(obj0
);
8249 if (arg1
== NULL
) SWIG_fail
;
8253 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8254 if (SWIG_arg_fail(2)) SWIG_fail
;
8257 if (!wxPyCheckForApp()) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8279 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8282 int arg2
= (int) -1 ;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "owner",(char *) "id", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8297 arg2
= (int)(SWIG_As_int(obj1
));
8298 if (SWIG_arg_fail(2)) SWIG_fail
;
8302 if (!wxPyCheckForApp()) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8316 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8326 if (SWIG_arg_fail(1)) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8344 PyObject
*arg2
= (PyObject
*) 0 ;
8345 PyObject
*arg3
= (PyObject
*) 0 ;
8346 int arg4
= (int) 1 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8352 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8357 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 arg4
= (int)(SWIG_As_int(obj3
));
8363 if (SWIG_arg_fail(4)) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8380 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8383 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8384 int arg3
= (int) -1 ;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8387 PyObject
* obj2
= 0 ;
8389 (char *) "self",(char *) "owner",(char *) "id", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8394 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8396 if (SWIG_arg_fail(2)) SWIG_fail
;
8399 arg3
= (int)(SWIG_As_int(obj2
));
8400 if (SWIG_arg_fail(3)) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 (arg1
)->SetOwner(arg2
,arg3
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8420 wxEvtHandler
*result
;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8428 if (SWIG_arg_fail(1)) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= wxPyMake_wxObject(result
, 0);
8445 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8448 int arg2
= (int) -1 ;
8449 bool arg3
= (bool) false ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8455 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 arg2
= (int)(SWIG_As_int(obj1
));
8464 if (SWIG_arg_fail(2)) SWIG_fail
;
8469 arg3
= (bool)(SWIG_As_bool(obj2
));
8470 if (SWIG_arg_fail(3)) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8489 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8525 if (SWIG_arg_fail(1)) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_From_int((int)(result
));
8570 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8576 (char *) "self", NULL
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8581 if (SWIG_arg_fail(1)) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_From_int((int)(result
));
8626 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8629 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8631 return Py_BuildValue((char *)"");
8633 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 int arg1
= (int) 0 ;
8636 int arg2
= (int) 0 ;
8637 wxTimerEvent
*result
;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8641 (char *) "timerid",(char *) "interval", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8647 arg1
= (int)(SWIG_As_int(obj0
));
8648 if (SWIG_arg_fail(1)) SWIG_fail
;
8653 arg2
= (int)(SWIG_As_int(obj1
));
8654 if (SWIG_arg_fail(2)) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8671 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_From_int((int)(result
));
8699 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8704 return Py_BuildValue((char *)"");
8706 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8707 PyObject
*resultobj
;
8709 wxTimerRunner
*result
;
8710 PyObject
* obj0
= 0 ;
8712 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 SWIG_null_ref("wxTimer");
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8722 if (!wxPyCheckForApp()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8736 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8737 PyObject
*resultobj
;
8740 bool arg3
= (bool) false ;
8741 wxTimerRunner
*result
;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8746 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8749 if (SWIG_arg_fail(1)) SWIG_fail
;
8751 SWIG_null_ref("wxTimer");
8753 if (SWIG_arg_fail(1)) SWIG_fail
;
8756 arg2
= (int)(SWIG_As_int(obj1
));
8757 if (SWIG_arg_fail(2)) SWIG_fail
;
8761 arg3
= (bool)(SWIG_As_bool(obj2
));
8762 if (SWIG_arg_fail(3)) SWIG_fail
;
8766 if (!wxPyCheckForApp()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8780 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8785 argc
= PyObject_Length(args
);
8786 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8787 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8793 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8801 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8804 if ((argc
>= 2) && (argc
<= 3)) {
8808 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8816 _v
= SWIG_Check_int(argv
[1]);
8819 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8821 _v
= SWIG_Check_bool(argv
[2]);
8823 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8829 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8834 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8839 (char *) "self", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8863 bool arg3
= (bool) false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= (int)(SWIG_As_int(obj1
));
8876 if (SWIG_arg_fail(2)) SWIG_fail
;
8880 arg3
= (bool)(SWIG_As_bool(obj2
));
8881 if (SWIG_arg_fail(3)) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->Start(arg2
,arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8901 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8903 return Py_BuildValue((char *)"");
8905 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (wxLog
*)new wxLog();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8927 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)wxLog::IsEnabled();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8951 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 bool arg1
= (bool) true ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "doIt", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8963 arg1
= (bool)(SWIG_As_bool(obj0
));
8964 if (SWIG_arg_fail(1)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 result
= (bool)wxLog::EnableLogging(arg1
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8983 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8986 wxChar
*arg2
= (wxChar
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8989 PyObject
* obj1
= 0 ;
8990 PyObject
* obj2
= 0 ;
8992 (char *) "level",(char *) "szString",(char *) "t", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8997 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8998 if (SWIG_arg_fail(1)) SWIG_fail
;
9000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9001 if (SWIG_arg_fail(2)) SWIG_fail
;
9003 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
9004 if (SWIG_arg_fail(3)) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 Py_INCREF(Py_None
); resultobj
= Py_None
;
9020 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxLog
*arg1
= (wxLog
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9030 if (SWIG_arg_fail(1)) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxLog::FlushActive();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxLog
*)wxLog::GetActiveTarget();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9088 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxLog
*arg1
= (wxLog
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "pLogger", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9114 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 bool arg1
= (bool) true ;
9159 PyObject
* obj0
= 0 ;
9161 (char *) "bVerbose", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9167 arg1
= (bool)(SWIG_As_bool(obj0
));
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 wxLog::SetVerbose(arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "logLevel", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9195 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9196 if (SWIG_arg_fail(1)) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 wxLog::SetLogLevel(arg1
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 Py_INCREF(Py_None
); resultobj
= Py_None
;
9212 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxLog::DontCreateOnDemand();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9236 PyObject
* obj0
= 0 ;
9238 (char *) "ulMask", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9243 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxLog::SetTraceMask(arg1
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxString
*arg1
= 0 ;
9263 bool temp1
= false ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "str", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9271 arg1
= wxString_in_helper(obj0
);
9272 if (arg1
== NULL
) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxLog::AddTraceMask((wxString
const &)*arg1
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxString
*arg1
= 0 ;
9300 bool temp1
= false ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "str", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9308 arg1
= wxString_in_helper(obj0
);
9309 if (arg1
== NULL
) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxLog::ClearTraceMasks();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxArrayString
*result
;
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9367 result
= (wxArrayString
*) &_result_ref
;
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= wxArrayString2PyList_helper(*result
);
9382 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxChar
*arg1
= (wxChar
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9392 if (SWIG_arg_fail(1)) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxLog::SetTimestamp((wxChar
const *)arg1
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 Py_INCREF(Py_None
); resultobj
= Py_None
;
9407 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (bool)wxLog::GetVerbose();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9431 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (wxTraceMask
)wxLog::GetTraceMask();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9455 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxChar
*arg1
= (wxChar
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "mask", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (wxLogLevel
)wxLog::GetLogLevel();
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9507 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (wxChar
*)wxLog::GetTimestamp();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9529 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= Log_TimeStamp();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9557 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxLog
*arg1
= (wxLog
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9567 if (SWIG_arg_fail(1)) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 wxLog_Destroy(arg1
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9585 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9587 return Py_BuildValue((char *)"");
9589 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxLogStderr
*result
;
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (wxLogStderr
*)new wxLogStderr();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9611 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9614 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9616 return Py_BuildValue((char *)"");
9618 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9621 wxLogTextCtrl
*result
;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "pTextCtrl", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9644 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9647 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9649 return Py_BuildValue((char *)"");
9651 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (wxLogGui
*)new wxLogGui();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9673 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9676 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9678 return Py_BuildValue((char *)"");
9680 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxFrame
*arg1
= (wxFrame
*) 0 ;
9683 wxString
*arg2
= 0 ;
9684 bool arg3
= (bool) true ;
9685 bool arg4
= (bool) true ;
9686 wxLogWindow
*result
;
9687 bool temp2
= false ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 PyObject
* obj2
= 0 ;
9691 PyObject
* obj3
= 0 ;
9693 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9700 arg2
= wxString_in_helper(obj1
);
9701 if (arg2
== NULL
) SWIG_fail
;
9706 arg3
= (bool)(SWIG_As_bool(obj2
));
9707 if (SWIG_arg_fail(3)) SWIG_fail
;
9712 arg4
= (bool)(SWIG_As_bool(obj3
));
9713 if (SWIG_arg_fail(4)) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9738 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9741 bool arg2
= (bool) true ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9745 (char *) "self",(char *) "bShow", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9750 if (SWIG_arg_fail(1)) SWIG_fail
;
9753 arg2
= (bool)(SWIG_As_bool(obj1
));
9754 if (SWIG_arg_fail(2)) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9782 if (SWIG_arg_fail(1)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= wxPyMake_wxObject(result
, 0);
9799 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9805 (char *) "self", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9825 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9860 (char *) "self",(char *) "bDoPass", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9867 arg2
= (bool)(SWIG_As_bool(obj1
));
9868 if (SWIG_arg_fail(2)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 (arg1
)->PassMessages(arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 Py_INCREF(Py_None
); resultobj
= Py_None
;
9884 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9887 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9889 return Py_BuildValue((char *)"");
9891 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxLog
*arg1
= (wxLog
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "logger", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxLogChain
*)new wxLogChain(arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9917 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9920 wxLog
*arg2
= (wxLog
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "logger", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(2)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 (arg1
)->SetLog(arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 Py_INCREF(Py_None
); resultobj
= Py_None
;
9946 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9953 (char *) "self",(char *) "bDoPass", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9958 if (SWIG_arg_fail(1)) SWIG_fail
;
9960 arg2
= (bool)(SWIG_As_bool(obj1
));
9961 if (SWIG_arg_fail(2)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->PassMessages(arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9977 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (bool)(arg1
)->IsPassingMessages();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10005 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10016 if (SWIG_arg_fail(1)) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (wxLog
*)(arg1
)->GetOldLog();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10031 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10036 return Py_BuildValue((char *)"");
10038 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 unsigned long result
;
10041 char *kwnames
[] = {
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (unsigned long)wxSysErrorCode();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10062 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 unsigned long arg1
= (unsigned long) 0 ;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "nErrCode", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10074 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= wxSysErrorMsg(arg1
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10098 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxString
*arg1
= 0 ;
10101 bool temp1
= false ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "msg", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10109 arg1
= wxString_in_helper(obj0
);
10110 if (arg1
== NULL
) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 wxPyLogFatalError((wxString
const &)*arg1
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10135 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxString
*arg1
= 0 ;
10138 bool temp1
= false ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "msg", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10146 arg1
= wxString_in_helper(obj0
);
10147 if (arg1
== NULL
) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 wxPyLogError((wxString
const &)*arg1
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxString
*arg1
= 0 ;
10175 bool temp1
= false ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "msg", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10183 arg1
= wxString_in_helper(obj0
);
10184 if (arg1
== NULL
) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 wxPyLogWarning((wxString
const &)*arg1
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxString
*arg1
= 0 ;
10212 bool temp1
= false ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "msg", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10220 arg1
= wxString_in_helper(obj0
);
10221 if (arg1
== NULL
) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 wxPyLogMessage((wxString
const &)*arg1
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10246 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxString
*arg1
= 0 ;
10249 bool temp1
= false ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "msg", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10257 arg1
= wxString_in_helper(obj0
);
10258 if (arg1
== NULL
) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 wxPyLogInfo((wxString
const &)*arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxString
*arg1
= 0 ;
10286 bool temp1
= false ;
10287 PyObject
* obj0
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "msg", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10294 arg1
= wxString_in_helper(obj0
);
10295 if (arg1
== NULL
) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 wxPyLogDebug((wxString
const &)*arg1
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxString
*arg1
= 0 ;
10323 bool temp1
= false ;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "msg", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10331 arg1
= wxString_in_helper(obj0
);
10332 if (arg1
== NULL
) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 wxPyLogVerbose((wxString
const &)*arg1
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxString
*arg1
= 0 ;
10360 bool temp1
= false ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "msg", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10368 arg1
= wxString_in_helper(obj0
);
10369 if (arg1
== NULL
) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxPyLogStatus((wxString
const &)*arg1
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10394 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxFrame
*arg1
= (wxFrame
*) 0 ;
10397 wxString
*arg2
= 0 ;
10398 bool temp2
= false ;
10399 PyObject
* obj0
= 0 ;
10400 PyObject
* obj1
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "pFrame",(char *) "msg", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail
;
10409 arg2
= wxString_in_helper(obj1
);
10410 if (arg2
== NULL
) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 Py_INCREF(Py_None
); resultobj
= Py_None
;
10435 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxString
*arg1
= 0 ;
10438 bool temp1
= false ;
10439 PyObject
* obj0
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "msg", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10446 arg1
= wxString_in_helper(obj0
);
10447 if (arg1
== NULL
) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 wxPyLogSysError((wxString
const &)*arg1
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10472 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 unsigned long arg1
;
10475 wxString
*arg2
= 0 ;
10476 bool temp2
= false ;
10477 PyObject
* obj0
= 0 ;
10478 PyObject
* obj1
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "level",(char *) "msg", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10485 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10486 if (SWIG_arg_fail(1)) SWIG_fail
;
10489 arg2
= wxString_in_helper(obj1
);
10490 if (arg2
== NULL
) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10515 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10516 PyObject
*resultobj
;
10517 unsigned long arg1
;
10518 wxString
*arg2
= 0 ;
10519 bool temp2
= false ;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10523 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10525 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10526 if (SWIG_arg_fail(1)) SWIG_fail
;
10529 arg2
= wxString_in_helper(obj1
);
10530 if (arg2
== NULL
) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 Py_INCREF(Py_None
); resultobj
= Py_None
;
10555 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10556 PyObject
*resultobj
;
10557 wxString
*arg1
= 0 ;
10558 wxString
*arg2
= 0 ;
10559 bool temp1
= false ;
10560 bool temp2
= false ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10564 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10566 arg1
= wxString_in_helper(obj0
);
10567 if (arg1
== NULL
) SWIG_fail
;
10571 arg2
= wxString_in_helper(obj1
);
10572 if (arg2
== NULL
) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 Py_INCREF(Py_None
); resultobj
= Py_None
;
10605 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10610 argc
= PyObject_Length(args
);
10611 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10612 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10617 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10621 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10624 return _wrap_LogTrace__SWIG_1(self
,args
);
10630 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10633 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10636 return _wrap_LogTrace__SWIG_0(self
,args
);
10641 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10646 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxString
*arg1
= 0 ;
10649 wxString
*arg2
= 0 ;
10650 bool temp1
= false ;
10651 bool temp2
= false ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "title",(char *) "text", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10660 arg1
= wxString_in_helper(obj0
);
10661 if (arg1
== NULL
) SWIG_fail
;
10665 arg2
= wxString_in_helper(obj1
);
10666 if (arg2
== NULL
) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10702 char *kwnames
[] = {
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxLogNull
*)new wxLogNull();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10721 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10731 if (SWIG_arg_fail(1)) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10749 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10751 return Py_BuildValue((char *)"");
10753 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10756 char *kwnames
[] = {
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (wxPyLog
*)new wxPyLog();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10775 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10778 PyObject
*arg2
= (PyObject
*) 0 ;
10779 PyObject
*arg3
= (PyObject
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self",(char *) "self",(char *) "_class", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 Py_INCREF(Py_None
); resultobj
= Py_None
;
10806 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10809 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10811 return Py_BuildValue((char *)"");
10813 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10816 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10817 int arg3
= (int) wxKILL_NOCHILDREN
;
10818 wxKillError result
;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10828 arg1
= (int)(SWIG_As_int(obj0
));
10829 if (SWIG_arg_fail(1)) SWIG_fail
;
10833 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10834 if (SWIG_arg_fail(2)) SWIG_fail
;
10839 arg3
= (int)(SWIG_As_int(obj2
));
10840 if (SWIG_arg_fail(3)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_From_int((result
));
10857 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "pid", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10868 arg1
= (int)(SWIG_As_int(obj0
));
10869 if (SWIG_arg_fail(1)) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)wxPyProcess::Exists(arg1
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxString
*arg1
= 0 ;
10890 int arg2
= (int) wxEXEC_ASYNC
;
10891 wxPyProcess
*result
;
10892 bool temp1
= false ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "cmd",(char *) "flags", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 arg1
= wxString_in_helper(obj0
);
10902 if (arg1
== NULL
) SWIG_fail
;
10907 arg2
= (int)(SWIG_As_int(obj1
));
10908 if (SWIG_arg_fail(2)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10933 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10936 int arg2
= (int) -1 ;
10937 wxPyProcess
*result
;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "parent",(char *) "id", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail
;
10951 arg2
= (int)(SWIG_As_int(obj1
));
10952 if (SWIG_arg_fail(2)) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10969 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10972 PyObject
*arg2
= (PyObject
*) 0 ;
10973 PyObject
*arg3
= (PyObject
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "self",(char *) "_class", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10983 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 Py_INCREF(Py_None
); resultobj
= Py_None
;
11000 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 PyObject
* obj2
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "pid",(char *) "status", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail
;
11016 arg2
= (int)(SWIG_As_int(obj1
));
11017 if (SWIG_arg_fail(2)) SWIG_fail
;
11020 arg3
= (int)(SWIG_As_int(obj2
));
11021 if (SWIG_arg_fail(3)) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->base_OnTerminate(arg2
,arg3
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->Redirect();
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (bool)(arg1
)->IsRedirected();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 Py_INCREF(Py_None
); resultobj
= Py_None
;
11115 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11118 wxInputStream
*result
;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 wxPyInputStream
* _ptr
= NULL
;
11138 _ptr
= new wxPyInputStream(result
);
11140 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11148 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11151 wxInputStream
*result
;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 wxPyInputStream
* _ptr
= NULL
;
11171 _ptr
= new wxPyInputStream(result
);
11173 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11181 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11184 wxOutputStream
*result
;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11192 if (SWIG_arg_fail(1)) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11207 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11210 PyObject
* obj0
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11217 if (SWIG_arg_fail(1)) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 (arg1
)->CloseOutput();
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11243 if (SWIG_arg_fail(1)) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11271 if (SWIG_arg_fail(1)) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11299 if (SWIG_arg_fail(1)) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11316 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11319 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11321 return Py_BuildValue((char *)"");
11323 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 int arg1
= (int) 0 ;
11326 int arg2
= (int) 0 ;
11327 int arg3
= (int) 0 ;
11328 wxProcessEvent
*result
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11339 arg1
= (int)(SWIG_As_int(obj0
));
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11345 arg2
= (int)(SWIG_As_int(obj1
));
11346 if (SWIG_arg_fail(2)) SWIG_fail
;
11351 arg3
= (int)(SWIG_As_int(obj2
));
11352 if (SWIG_arg_fail(3)) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11369 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 result
= (int)(arg1
)->GetPid();
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_From_int((int)(result
));
11397 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (int)(arg1
)->GetExitCode();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_From_int((int)(result
));
11425 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "m_pid", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 arg2
= (int)(SWIG_As_int(obj1
));
11440 if (SWIG_arg_fail(2)) SWIG_fail
;
11442 if (arg1
) (arg1
)->m_pid
= arg2
;
11444 Py_INCREF(Py_None
); resultobj
= Py_None
;
11451 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11462 if (SWIG_arg_fail(1)) SWIG_fail
;
11463 result
= (int) ((arg1
)->m_pid
);
11466 resultobj
= SWIG_From_int((int)(result
));
11474 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
;
11476 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "m_exitcode", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 arg2
= (int)(SWIG_As_int(obj1
));
11489 if (SWIG_arg_fail(2)) SWIG_fail
;
11491 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11511 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 result
= (int) ((arg1
)->m_exitcode
);
11515 resultobj
= SWIG_From_int((int)(result
));
11523 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11528 return Py_BuildValue((char *)"");
11530 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxString
*arg1
= 0 ;
11533 int arg2
= (int) wxEXEC_ASYNC
;
11534 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11536 bool temp1
= false ;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "command",(char *) "flags",(char *) "process", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11546 arg1
= wxString_in_helper(obj0
);
11547 if (arg1
== NULL
) SWIG_fail
;
11552 arg2
= (int)(SWIG_As_int(obj1
));
11553 if (SWIG_arg_fail(2)) SWIG_fail
;
11557 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11558 if (SWIG_arg_fail(3)) SWIG_fail
;
11561 if (!wxPyCheckForApp()) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_From_long((long)(result
));
11585 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11588 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11589 wxKillError
*arg3
= (wxKillError
*) 0 ;
11590 int arg4
= (int) wxKILL_NOCHILDREN
;
11592 wxKillError temp3
;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 PyObject
* obj2
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11605 arg1
= (long)(SWIG_As_long(obj0
));
11606 if (SWIG_arg_fail(1)) SWIG_fail
;
11610 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11611 if (SWIG_arg_fail(2)) SWIG_fail
;
11616 arg4
= (int)(SWIG_As_int(obj2
));
11617 if (SWIG_arg_fail(4)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_From_int((int)(result
));
11632 o
= PyInt_FromLong((long) (*arg3
));
11633 resultobj
= t_output_helper(resultobj
, o
);
11641 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 int arg1
= (int) wxJOYSTICK1
;
11644 wxJoystick
*result
;
11645 PyObject
* obj0
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "joystick", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11653 arg1
= (int)(SWIG_As_int(obj0
));
11654 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 if (!wxPyCheckForApp()) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (wxJoystick
*)new wxJoystick(arg1
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11672 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11682 if (SWIG_arg_fail(1)) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 Py_INCREF(Py_None
); resultobj
= Py_None
;
11697 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11701 PyObject
* obj0
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "self", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11708 if (SWIG_arg_fail(1)) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (arg1
)->GetPosition();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 wxPoint
* resultptr
;
11718 resultptr
= new wxPoint((wxPoint
&)(result
));
11719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11727 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11738 if (SWIG_arg_fail(1)) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (int)(arg1
)->GetZPosition();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int((int)(result
));
11755 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11766 if (SWIG_arg_fail(1)) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (int)(arg1
)->GetButtonState();
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_From_int((int)(result
));
11783 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11794 if (SWIG_arg_fail(1)) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (int)(arg1
)->GetPOVPosition();
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_From_int((int)(result
));
11811 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11815 PyObject
* obj0
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11822 if (SWIG_arg_fail(1)) SWIG_fail
;
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (int)(arg1
)->GetPOVCTSPosition();
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_From_int((int)(result
));
11839 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11850 if (SWIG_arg_fail(1)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (int)(arg1
)->GetRudderPosition();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_From_int((int)(result
));
11867 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (int)(arg1
)->GetUPosition();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_From_int((int)(result
));
11895 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11906 if (SWIG_arg_fail(1)) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (int)(arg1
)->GetVPosition();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_From_int((int)(result
));
11923 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (int)(arg1
)->GetMovementThreshold();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_From_int((int)(result
));
11951 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "threshold", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11963 if (SWIG_arg_fail(1)) SWIG_fail
;
11965 arg2
= (int)(SWIG_As_int(obj1
));
11966 if (SWIG_arg_fail(2)) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->SetMovementThreshold(arg2
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 Py_INCREF(Py_None
); resultobj
= Py_None
;
11982 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11993 if (SWIG_arg_fail(1)) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)(arg1
)->IsOk();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (int)(arg1
)->GetNumberJoysticks();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_From_int((int)(result
));
12038 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (int)(arg1
)->GetManufacturerId();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_From_int((int)(result
));
12066 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12077 if (SWIG_arg_fail(1)) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (int)(arg1
)->GetProductId();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_From_int((int)(result
));
12094 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (arg1
)->GetProductName();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12126 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(1)) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (int)(arg1
)->GetXMin();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_From_int((int)(result
));
12154 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12165 if (SWIG_arg_fail(1)) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (int)(arg1
)->GetYMin();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_From_int((int)(result
));
12182 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12193 if (SWIG_arg_fail(1)) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (int)(arg1
)->GetZMin();
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_From_int((int)(result
));
12210 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "self", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12221 if (SWIG_arg_fail(1)) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (int)(arg1
)->GetXMax();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_From_int((int)(result
));
12238 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (int)(arg1
)->GetYMax();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int((int)(result
));
12266 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12277 if (SWIG_arg_fail(1)) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (int)(arg1
)->GetZMax();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_From_int((int)(result
));
12294 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12305 if (SWIG_arg_fail(1)) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (int)(arg1
)->GetNumberButtons();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_From_int((int)(result
));
12322 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (int)(arg1
)->GetNumberAxes();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_From_int((int)(result
));
12350 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12361 if (SWIG_arg_fail(1)) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (int)(arg1
)->GetMaxButtons();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_int((int)(result
));
12378 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (int)(arg1
)->GetMaxAxes();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_From_int((int)(result
));
12406 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (int)(arg1
)->GetPollingMin();
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_From_int((int)(result
));
12434 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (int)(arg1
)->GetPollingMax();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_From_int((int)(result
));
12462 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12473 if (SWIG_arg_fail(1)) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (int)(arg1
)->GetRudderMin();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_From_int((int)(result
));
12490 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12501 if (SWIG_arg_fail(1)) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (int)(arg1
)->GetRudderMax();
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= SWIG_From_int((int)(result
));
12518 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12529 if (SWIG_arg_fail(1)) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (int)(arg1
)->GetUMin();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_From_int((int)(result
));
12546 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12557 if (SWIG_arg_fail(1)) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (int)(arg1
)->GetUMax();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_From_int((int)(result
));
12574 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(1)) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (int)(arg1
)->GetVMin();
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= SWIG_From_int((int)(result
));
12602 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12613 if (SWIG_arg_fail(1)) SWIG_fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 result
= (int)(arg1
)->GetVMax();
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= SWIG_From_int((int)(result
));
12630 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12641 if (SWIG_arg_fail(1)) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (bool)(arg1
)->HasRudder();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12658 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12669 if (SWIG_arg_fail(1)) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (bool)(arg1
)->HasZ();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12686 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12697 if (SWIG_arg_fail(1)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (bool)(arg1
)->HasU();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12714 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12725 if (SWIG_arg_fail(1)) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (bool)(arg1
)->HasV();
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12742 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (bool)(arg1
)->HasPOV();
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12770 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12774 PyObject
* obj0
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12781 if (SWIG_arg_fail(1)) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (bool)(arg1
)->HasPOV4Dir();
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12798 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12809 if (SWIG_arg_fail(1)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (bool)(arg1
)->HasPOVCTS();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12826 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12829 wxWindow
*arg2
= (wxWindow
*) 0 ;
12830 int arg3
= (int) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 PyObject
* obj2
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12843 if (SWIG_arg_fail(2)) SWIG_fail
;
12846 arg3
= (int)(SWIG_As_int(obj2
));
12847 if (SWIG_arg_fail(3)) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12866 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12877 if (SWIG_arg_fail(1)) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (bool)(arg1
)->ReleaseCapture();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12894 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12897 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12899 return Py_BuildValue((char *)"");
12901 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12904 int arg2
= (int) 0 ;
12905 int arg3
= (int) wxJOYSTICK1
;
12906 int arg4
= (int) 0 ;
12907 wxJoystickEvent
*result
;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 PyObject
* obj2
= 0 ;
12911 PyObject
* obj3
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12919 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12925 arg2
= (int)(SWIG_As_int(obj1
));
12926 if (SWIG_arg_fail(2)) SWIG_fail
;
12931 arg3
= (int)(SWIG_As_int(obj2
));
12932 if (SWIG_arg_fail(3)) SWIG_fail
;
12937 arg4
= (int)(SWIG_As_int(obj3
));
12938 if (SWIG_arg_fail(4)) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12955 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 wxPoint
* resultptr
;
12976 resultptr
= new wxPoint((wxPoint
&)(result
));
12977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12985 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12996 if (SWIG_arg_fail(1)) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_From_int((int)(result
));
13013 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13024 if (SWIG_arg_fail(1)) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_From_int((int)(result
));
13041 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13052 if (SWIG_arg_fail(1)) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= SWIG_From_int((int)(result
));
13069 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13073 PyObject
* obj0
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13083 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_From_int((int)(result
));
13097 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self",(char *) "stick", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13109 if (SWIG_arg_fail(1)) SWIG_fail
;
13111 arg2
= (int)(SWIG_As_int(obj1
));
13112 if (SWIG_arg_fail(2)) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->SetJoystick(arg2
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "state", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13140 if (SWIG_arg_fail(1)) SWIG_fail
;
13142 arg2
= (int)(SWIG_As_int(obj1
));
13143 if (SWIG_arg_fail(2)) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 (arg1
)->SetButtonState(arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 Py_INCREF(Py_None
); resultobj
= Py_None
;
13159 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "change", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail
;
13173 arg2
= (int)(SWIG_As_int(obj1
));
13174 if (SWIG_arg_fail(2)) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->SetButtonChange(arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 Py_INCREF(Py_None
); resultobj
= Py_None
;
13190 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13193 wxPoint
*arg2
= 0 ;
13195 PyObject
* obj0
= 0 ;
13196 PyObject
* obj1
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self",(char *) "pos", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13203 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 Py_INCREF(Py_None
); resultobj
= Py_None
;
13222 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "zPos", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13236 arg2
= (int)(SWIG_As_int(obj1
));
13237 if (SWIG_arg_fail(2)) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->SetZPosition(arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13264 if (SWIG_arg_fail(1)) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13281 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13309 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13320 if (SWIG_arg_fail(1)) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13337 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13340 int arg2
= (int) wxJOY_BUTTON_ANY
;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self",(char *) "but", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13350 if (SWIG_arg_fail(1)) SWIG_fail
;
13353 arg2
= (int)(SWIG_As_int(obj1
));
13354 if (SWIG_arg_fail(2)) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13373 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13376 int arg2
= (int) wxJOY_BUTTON_ANY
;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "but", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13386 if (SWIG_arg_fail(1)) SWIG_fail
;
13389 arg2
= (int)(SWIG_As_int(obj1
));
13390 if (SWIG_arg_fail(2)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13409 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13412 int arg2
= (int) wxJOY_BUTTON_ANY
;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self",(char *) "but", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13422 if (SWIG_arg_fail(1)) SWIG_fail
;
13425 arg2
= (int)(SWIG_As_int(obj1
));
13426 if (SWIG_arg_fail(2)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13445 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13448 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13450 return Py_BuildValue((char *)"");
13452 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13455 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13457 bool temp1
= false ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "fileName", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13466 arg1
= wxString_in_helper(obj0
);
13467 if (arg1
== NULL
) SWIG_fail
;
13472 if (!wxPyCheckForApp()) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13494 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 PyObject
*arg1
= (PyObject
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "data", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13506 if (!wxPyCheckForApp()) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (wxSound
*)new_wxSound(arg1
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13520 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxSound
*arg1
= (wxSound
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13530 if (SWIG_arg_fail(1)) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13545 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxSound
*arg1
= (wxSound
*) 0 ;
13548 wxString
*arg2
= 0 ;
13550 bool temp2
= false ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self",(char *) "fileName", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13559 if (SWIG_arg_fail(1)) SWIG_fail
;
13561 arg2
= wxString_in_helper(obj1
);
13562 if (arg2
== NULL
) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13589 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxSound
*arg1
= (wxSound
*) 0 ;
13592 PyObject
*arg2
= (PyObject
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self",(char *) "data", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13602 if (SWIG_arg_fail(1)) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13620 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxSound
*arg1
= (wxSound
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13631 if (SWIG_arg_fail(1)) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (bool)(arg1
)->IsOk();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxSound
*arg1
= (wxSound
*) 0 ;
13651 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self",(char *) "flags", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13661 if (SWIG_arg_fail(1)) SWIG_fail
;
13664 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13665 if (SWIG_arg_fail(2)) SWIG_fail
;
13669 if (!wxPyCheckForApp()) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13685 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxString
*arg1
= 0 ;
13688 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13690 bool temp1
= false ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char *kwnames
[] = {
13694 (char *) "filename",(char *) "flags", NULL
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13699 arg1
= wxString_in_helper(obj0
);
13700 if (arg1
== NULL
) SWIG_fail
;
13705 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13706 if (SWIG_arg_fail(2)) SWIG_fail
;
13710 if (!wxPyCheckForApp()) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13734 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 char *kwnames
[] = {
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13742 if (!wxPyCheckForApp()) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 Py_INCREF(Py_None
); resultobj
= Py_None
;
13756 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13759 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13761 return Py_BuildValue((char *)"");
13763 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxString
*arg1
= 0 ;
13766 wxString
*arg2
= 0 ;
13767 wxString
*arg3
= 0 ;
13768 wxString
*arg4
= 0 ;
13769 wxFileTypeInfo
*result
;
13770 bool temp1
= false ;
13771 bool temp2
= false ;
13772 bool temp3
= false ;
13773 bool temp4
= false ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 PyObject
* obj3
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13784 arg1
= wxString_in_helper(obj0
);
13785 if (arg1
== NULL
) SWIG_fail
;
13789 arg2
= wxString_in_helper(obj1
);
13790 if (arg2
== NULL
) SWIG_fail
;
13794 arg3
= wxString_in_helper(obj2
);
13795 if (arg3
== NULL
) SWIG_fail
;
13799 arg4
= wxString_in_helper(obj3
);
13800 if (arg4
== NULL
) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13849 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxArrayString
*arg1
= 0 ;
13852 wxFileTypeInfo
*result
;
13853 bool temp1
= false ;
13854 PyObject
* obj0
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "sArray", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13861 if (! PySequence_Check(obj0
)) {
13862 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13865 arg1
= new wxArrayString
;
13867 int i
, len
=PySequence_Length(obj0
);
13868 for (i
=0; i
<len
; i
++) {
13869 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13870 wxString
* s
= wxString_in_helper(item
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13886 if (temp1
) delete arg1
;
13891 if (temp1
) delete arg1
;
13897 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxFileTypeInfo
*result
;
13900 char *kwnames
[] = {
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13919 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13947 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13950 wxString
*arg2
= 0 ;
13951 int arg3
= (int) 0 ;
13952 bool temp2
= false ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 PyObject
* obj2
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13962 if (SWIG_arg_fail(1)) SWIG_fail
;
13964 arg2
= wxString_in_helper(obj1
);
13965 if (arg2
== NULL
) SWIG_fail
;
13970 arg3
= (int)(SWIG_As_int(obj2
));
13971 if (SWIG_arg_fail(3)) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13996 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13999 wxString
*arg2
= 0 ;
14000 bool temp2
= false ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self",(char *) "shortDesc", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14011 arg2
= wxString_in_helper(obj1
);
14012 if (arg2
== NULL
) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 Py_INCREF(Py_None
); resultobj
= Py_None
;
14037 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14048 if (SWIG_arg_fail(1)) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14053 result
= (wxString
*) &_result_ref
;
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14063 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14072 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14083 if (SWIG_arg_fail(1)) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14088 result
= (wxString
*) &_result_ref
;
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14107 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14118 if (SWIG_arg_fail(1)) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14123 result
= (wxString
*) &_result_ref
;
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14142 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14153 if (SWIG_arg_fail(1)) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14158 result
= (wxString
*) &_result_ref
;
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14168 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14177 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14188 if (SWIG_arg_fail(1)) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14193 result
= (wxString
*) &_result_ref
;
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14203 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14212 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14215 wxArrayString
*result
;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14223 if (SWIG_arg_fail(1)) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14228 result
= (wxArrayString
*) &_result_ref
;
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= wxArrayString2PyList_helper(*result
);
14243 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14254 if (SWIG_arg_fail(1)) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= SWIG_From_int((int)(result
));
14271 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14287 result
= (wxString
*) &_result_ref
;
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14297 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14306 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14317 if (SWIG_arg_fail(1)) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_From_int((int)(result
));
14334 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14339 return Py_BuildValue((char *)"");
14341 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxFileTypeInfo
*arg1
= 0 ;
14344 wxFileType
*result
;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "ftInfo", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14353 if (SWIG_arg_fail(1)) SWIG_fail
;
14354 if (arg1
== NULL
) {
14355 SWIG_null_ref("wxFileTypeInfo");
14357 if (SWIG_arg_fail(1)) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14373 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxFileType
*arg1
= (wxFileType
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 Py_INCREF(Py_None
); resultobj
= Py_None
;
14398 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxFileType
*arg1
= (wxFileType
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
;
14424 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxFileType
*arg1
= (wxFileType
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= result
;
14450 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxFileType
*arg1
= (wxFileType
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= result
;
14476 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxFileType
*arg1
= (wxFileType
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14502 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxFileType
*arg1
= (wxFileType
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14513 if (SWIG_arg_fail(1)) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
;
14528 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxFileType
*arg1
= (wxFileType
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14539 if (SWIG_arg_fail(1)) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
;
14554 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxFileType
*arg1
= (wxFileType
*) 0 ;
14557 wxString
*arg2
= 0 ;
14558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14561 bool temp2
= false ;
14562 bool temp3
= false ;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 PyObject
* obj2
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14572 if (SWIG_arg_fail(1)) SWIG_fail
;
14574 arg2
= wxString_in_helper(obj1
);
14575 if (arg2
== NULL
) SWIG_fail
;
14580 arg3
= wxString_in_helper(obj2
);
14581 if (arg3
== NULL
) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
;
14615 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxFileType
*arg1
= (wxFileType
*) 0 ;
14618 wxString
*arg2
= 0 ;
14619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14622 bool temp2
= false ;
14623 bool temp3
= false ;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 PyObject
* obj2
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail
;
14635 arg2
= wxString_in_helper(obj1
);
14636 if (arg2
== NULL
) SWIG_fail
;
14641 arg3
= wxString_in_helper(obj2
);
14642 if (arg3
== NULL
) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= result
;
14676 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxFileType
*arg1
= (wxFileType
*) 0 ;
14679 wxString
*arg2
= 0 ;
14680 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14681 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14683 bool temp2
= false ;
14684 bool temp3
= false ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 PyObject
* obj2
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14694 if (SWIG_arg_fail(1)) SWIG_fail
;
14696 arg2
= wxString_in_helper(obj1
);
14697 if (arg2
== NULL
) SWIG_fail
;
14702 arg3
= wxString_in_helper(obj2
);
14703 if (arg3
== NULL
) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
;
14737 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxFileType
*arg1
= (wxFileType
*) 0 ;
14740 wxString
*arg2
= 0 ;
14741 wxString
*arg3
= 0 ;
14742 bool arg4
= (bool) true ;
14744 bool temp2
= false ;
14745 bool temp3
= false ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 PyObject
* obj3
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14756 if (SWIG_arg_fail(1)) SWIG_fail
;
14758 arg2
= wxString_in_helper(obj1
);
14759 if (arg2
== NULL
) SWIG_fail
;
14763 arg3
= wxString_in_helper(obj2
);
14764 if (arg3
== NULL
) SWIG_fail
;
14769 arg4
= (bool)(SWIG_As_bool(obj3
));
14770 if (SWIG_arg_fail(4)) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxFileType
*arg1
= (wxFileType
*) 0 ;
14808 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14809 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14810 int arg3
= (int) 0 ;
14812 bool temp2
= false ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 PyObject
* obj2
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self",(char *) "cmd",(char *) "index", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14822 if (SWIG_arg_fail(1)) SWIG_fail
;
14825 arg2
= wxString_in_helper(obj1
);
14826 if (arg2
== NULL
) SWIG_fail
;
14832 arg3
= (int)(SWIG_As_int(obj2
));
14833 if (SWIG_arg_fail(3)) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxFileType
*arg1
= (wxFileType
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14871 if (SWIG_arg_fail(1)) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (bool)(arg1
)->Unassociate();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14888 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxString
*arg1
= 0 ;
14891 wxString
*arg2
= 0 ;
14892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14895 bool temp1
= false ;
14896 bool temp2
= false ;
14897 bool temp3
= false ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14907 arg1
= wxString_in_helper(obj0
);
14908 if (arg1
== NULL
) SWIG_fail
;
14912 arg2
= wxString_in_helper(obj1
);
14913 if (arg2
== NULL
) SWIG_fail
;
14918 arg3
= wxString_in_helper(obj2
);
14919 if (arg3
== NULL
) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14967 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14970 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14972 return Py_BuildValue((char *)"");
14974 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14975 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14980 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14983 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14988 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxString
*arg1
= 0 ;
14991 wxString
*arg2
= 0 ;
14993 bool temp1
= false ;
14994 bool temp2
= false ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "mimeType",(char *) "wildcard", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15003 arg1
= wxString_in_helper(obj0
);
15004 if (arg1
== NULL
) SWIG_fail
;
15008 arg2
= wxString_in_helper(obj1
);
15009 if (arg2
== NULL
) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15044 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxMimeTypesManager
*result
;
15047 char *kwnames
[] = {
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15066 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15069 int arg2
= (int) wxMAILCAP_ALL
;
15070 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15071 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15072 bool temp3
= false ;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15082 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 arg2
= (int)(SWIG_As_int(obj1
));
15086 if (SWIG_arg_fail(2)) SWIG_fail
;
15091 arg3
= wxString_in_helper(obj2
);
15092 if (arg3
== NULL
) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(1)) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 (arg1
)->ClearData();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15146 wxString
*arg2
= 0 ;
15147 wxFileType
*result
;
15148 bool temp2
= false ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self",(char *) "ext", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15157 if (SWIG_arg_fail(1)) SWIG_fail
;
15159 arg2
= wxString_in_helper(obj1
);
15160 if (arg2
== NULL
) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15185 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15188 wxString
*arg2
= 0 ;
15189 wxFileType
*result
;
15190 bool temp2
= false ;
15191 PyObject
* obj0
= 0 ;
15192 PyObject
* obj1
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self",(char *) "mimeType", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15199 if (SWIG_arg_fail(1)) SWIG_fail
;
15201 arg2
= wxString_in_helper(obj1
);
15202 if (arg2
== NULL
) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15227 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15230 wxString
*arg2
= 0 ;
15231 bool arg3
= (bool) false ;
15233 bool temp2
= false ;
15234 PyObject
* obj0
= 0 ;
15235 PyObject
* obj1
= 0 ;
15236 PyObject
* obj2
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15243 if (SWIG_arg_fail(1)) SWIG_fail
;
15245 arg2
= wxString_in_helper(obj1
);
15246 if (arg2
== NULL
) SWIG_fail
;
15251 arg3
= (bool)(SWIG_As_bool(obj2
));
15252 if (SWIG_arg_fail(3)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15279 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15282 wxString
*arg2
= 0 ;
15284 bool temp2
= false ;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "filename", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15293 if (SWIG_arg_fail(1)) SWIG_fail
;
15295 arg2
= wxString_in_helper(obj1
);
15296 if (arg2
== NULL
) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
;
15349 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15352 wxFileTypeInfo
*arg2
= 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "ft", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(2)) SWIG_fail
;
15365 if (arg2
== NULL
) {
15366 SWIG_null_ref("wxFileTypeInfo");
15368 if (SWIG_arg_fail(2)) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 Py_INCREF(Py_None
); resultobj
= Py_None
;
15384 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15387 wxFileTypeInfo
*arg2
= 0 ;
15388 wxFileType
*result
;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self",(char *) "ftInfo", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15397 if (SWIG_arg_fail(1)) SWIG_fail
;
15399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(2)) SWIG_fail
;
15401 if (arg2
== NULL
) {
15402 SWIG_null_ref("wxFileTypeInfo");
15404 if (SWIG_arg_fail(2)) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15420 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15423 wxFileType
*arg2
= (wxFileType
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "ft", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15433 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15435 if (SWIG_arg_fail(2)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (bool)(arg1
)->Unassociate(arg2
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15452 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15480 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15482 return Py_BuildValue((char *)"");
15484 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15485 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15490 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15495 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15497 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15504 static int _wrap_ART_MENU_set(PyObject
*) {
15505 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15510 static PyObject
*_wrap_ART_MENU_get(void) {
15515 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15517 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15524 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15525 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15530 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15535 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15537 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15544 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15545 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15550 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15555 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15557 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15564 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15565 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15570 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15575 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15577 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15584 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15585 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15590 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15595 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15597 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15604 static int _wrap_ART_BUTTON_set(PyObject
*) {
15605 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15610 static PyObject
*_wrap_ART_BUTTON_get(void) {
15615 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15617 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15624 static int _wrap_ART_OTHER_set(PyObject
*) {
15625 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15630 static PyObject
*_wrap_ART_OTHER_get(void) {
15635 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15637 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15644 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15645 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15650 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15655 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15657 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15664 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15665 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15670 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15675 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15677 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15684 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15685 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15690 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15695 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15697 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15704 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15705 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15710 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15715 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15717 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15724 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15725 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15730 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15735 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15737 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15744 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15745 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15750 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15755 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15757 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15764 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15765 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15770 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15775 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15777 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15784 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15785 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15790 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15795 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15797 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15804 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15805 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15810 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15815 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15817 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15824 static int _wrap_ART_GO_UP_set(PyObject
*) {
15825 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15830 static PyObject
*_wrap_ART_GO_UP_get(void) {
15835 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15837 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15844 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15845 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15850 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15855 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15857 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15864 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15865 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15870 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15875 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15877 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15884 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15885 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15890 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15895 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15897 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15904 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15905 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15910 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15915 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15917 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15924 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15925 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15930 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15935 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15937 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15944 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15945 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15950 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15955 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15957 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15964 static int _wrap_ART_PRINT_set(PyObject
*) {
15965 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15970 static PyObject
*_wrap_ART_PRINT_get(void) {
15975 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15977 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15984 static int _wrap_ART_HELP_set(PyObject
*) {
15985 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15990 static PyObject
*_wrap_ART_HELP_get(void) {
15995 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15997 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16004 static int _wrap_ART_TIP_set(PyObject
*) {
16005 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16010 static PyObject
*_wrap_ART_TIP_get(void) {
16015 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16017 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16024 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16025 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16030 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16035 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16037 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16044 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16045 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16050 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16055 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16057 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16064 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16065 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16070 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16075 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16077 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16084 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16085 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16090 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16095 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16097 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16104 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16105 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16110 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16115 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16117 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16124 static int _wrap_ART_CDROM_set(PyObject
*) {
16125 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16130 static PyObject
*_wrap_ART_CDROM_get(void) {
16135 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16137 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16144 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16145 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16150 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16155 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16157 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16164 static int _wrap_ART_FOLDER_set(PyObject
*) {
16165 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16170 static PyObject
*_wrap_ART_FOLDER_get(void) {
16175 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16177 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16184 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16185 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16190 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16195 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16197 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16204 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16205 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16210 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16215 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16217 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16224 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16225 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16230 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16235 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16237 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16244 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16245 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16250 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16255 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16257 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16264 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16265 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16270 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16275 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16277 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16284 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16285 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16290 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16295 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16297 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16304 static int _wrap_ART_ERROR_set(PyObject
*) {
16305 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16310 static PyObject
*_wrap_ART_ERROR_get(void) {
16315 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16317 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16324 static int _wrap_ART_QUESTION_set(PyObject
*) {
16325 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16330 static PyObject
*_wrap_ART_QUESTION_get(void) {
16335 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16337 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16344 static int _wrap_ART_WARNING_set(PyObject
*) {
16345 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16350 static PyObject
*_wrap_ART_WARNING_get(void) {
16355 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16357 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16364 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16365 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16370 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16375 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16377 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16384 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16385 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16390 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16395 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16397 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16404 static int _wrap_ART_COPY_set(PyObject
*) {
16405 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16410 static PyObject
*_wrap_ART_COPY_get(void) {
16415 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16417 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16424 static int _wrap_ART_CUT_set(PyObject
*) {
16425 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16430 static PyObject
*_wrap_ART_CUT_get(void) {
16435 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16437 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16444 static int _wrap_ART_PASTE_set(PyObject
*) {
16445 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16450 static PyObject
*_wrap_ART_PASTE_get(void) {
16455 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16457 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16464 static int _wrap_ART_DELETE_set(PyObject
*) {
16465 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16470 static PyObject
*_wrap_ART_DELETE_get(void) {
16475 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16477 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16484 static int _wrap_ART_NEW_set(PyObject
*) {
16485 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
16490 static PyObject
*_wrap_ART_NEW_get(void) {
16495 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16497 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16504 static int _wrap_ART_UNDO_set(PyObject
*) {
16505 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16510 static PyObject
*_wrap_ART_UNDO_get(void) {
16515 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16517 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16524 static int _wrap_ART_REDO_set(PyObject
*) {
16525 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16530 static PyObject
*_wrap_ART_REDO_get(void) {
16535 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16537 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16544 static int _wrap_ART_QUIT_set(PyObject
*) {
16545 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16550 static PyObject
*_wrap_ART_QUIT_get(void) {
16555 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16557 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16564 static int _wrap_ART_FIND_set(PyObject
*) {
16565 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16570 static PyObject
*_wrap_ART_FIND_get(void) {
16575 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16577 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16584 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16585 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16590 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16595 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16597 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16604 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxPyArtProvider
*result
;
16607 char *kwnames
[] = {
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16613 if (!wxPyCheckForApp()) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16627 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16630 PyObject
*arg2
= (PyObject
*) 0 ;
16631 PyObject
*arg3
= (PyObject
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 PyObject
* obj2
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self",(char *) "self",(char *) "_class", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16641 if (SWIG_arg_fail(1)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 Py_INCREF(Py_None
); resultobj
= Py_None
;
16658 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "provider", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 wxPyArtProvider::PushProvider(arg1
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 Py_INCREF(Py_None
); resultobj
= Py_None
;
16683 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16686 char *kwnames
[] = {
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (bool)wxPyArtProvider::PopProvider();
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16707 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "provider", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16735 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxString
*arg1
= 0 ;
16738 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16739 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16740 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16741 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16743 bool temp1
= false ;
16744 bool temp2
= false ;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 PyObject
* obj2
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "id",(char *) "client",(char *) "size", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16755 arg1
= wxString_in_helper(obj0
);
16756 if (arg1
== NULL
) SWIG_fail
;
16761 arg2
= wxString_in_helper(obj1
);
16762 if (arg2
== NULL
) SWIG_fail
;
16769 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16773 if (!wxPyCheckForApp()) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 wxBitmap
* resultptr
;
16782 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16807 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
;
16809 wxString
*arg1
= 0 ;
16810 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16811 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16812 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16813 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16815 bool temp1
= false ;
16816 bool temp2
= false ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 PyObject
* obj2
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "id",(char *) "client",(char *) "size", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16827 arg1
= wxString_in_helper(obj0
);
16828 if (arg1
== NULL
) SWIG_fail
;
16833 arg2
= wxString_in_helper(obj1
);
16834 if (arg2
== NULL
) SWIG_fail
;
16841 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16845 if (!wxPyCheckForApp()) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 wxIcon
* resultptr
;
16854 resultptr
= new wxIcon((wxIcon
&)(result
));
16855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16879 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxString
*arg1
= 0 ;
16882 bool arg2
= (bool) false ;
16884 bool temp1
= false ;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "client",(char *) "platform_dependent", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16893 arg1
= wxString_in_helper(obj0
);
16894 if (arg1
== NULL
) SWIG_fail
;
16899 arg2
= (bool)(SWIG_As_bool(obj1
));
16900 if (SWIG_arg_fail(2)) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 wxSize
* resultptr
;
16912 resultptr
= new wxSize((wxSize
&)(result
));
16913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16929 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16939 if (SWIG_arg_fail(1)) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 wxPyArtProvider_Destroy(arg1
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 Py_INCREF(Py_None
); resultobj
= Py_None
;
16954 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16957 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16959 return Py_BuildValue((char *)"");
16961 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 Py_INCREF(Py_None
); resultobj
= Py_None
;
16986 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16989 wxConfigBase
*result
;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "config", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17012 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 bool arg1
= (bool) true ;
17015 wxConfigBase
*result
;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "createOnDemand", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17024 arg1
= (bool)(SWIG_As_bool(obj0
));
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17042 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxConfigBase
*result
;
17045 char *kwnames
[] = {
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (wxConfigBase
*)wxConfigBase::Create();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17064 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 char *kwnames
[] = {
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 wxConfigBase::DontCreateOnDemand();
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 Py_INCREF(Py_None
); resultobj
= Py_None
;
17085 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17088 wxString
*arg2
= 0 ;
17089 bool temp2
= false ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self",(char *) "path", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17098 if (SWIG_arg_fail(1)) SWIG_fail
;
17100 arg2
= wxString_in_helper(obj1
);
17101 if (arg2
== NULL
) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 (arg1
)->SetPath((wxString
const &)*arg2
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 Py_INCREF(Py_None
); resultobj
= Py_None
;
17126 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17137 if (SWIG_arg_fail(1)) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17142 result
= (wxString
*) &_result_ref
;
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17152 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17161 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= result
;
17187 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "index", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 arg2
= (long)(SWIG_As_long(obj1
));
17203 if (SWIG_arg_fail(2)) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
;
17219 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= result
;
17245 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self",(char *) "index", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17260 arg2
= (long)(SWIG_As_long(obj1
));
17261 if (SWIG_arg_fail(2)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= result
;
17277 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17280 bool arg2
= (bool) false ;
17282 PyObject
* obj0
= 0 ;
17283 PyObject
* obj1
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self",(char *) "recursive", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail
;
17293 arg2
= (bool)(SWIG_As_bool(obj1
));
17294 if (SWIG_arg_fail(2)) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17313 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17316 bool arg2
= (bool) false ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "recursive", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail
;
17329 arg2
= (bool)(SWIG_As_bool(obj1
));
17330 if (SWIG_arg_fail(2)) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17349 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17352 wxString
*arg2
= 0 ;
17354 bool temp2
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "name", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17365 arg2
= wxString_in_helper(obj1
);
17366 if (arg2
== NULL
) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17393 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17396 wxString
*arg2
= 0 ;
17398 bool temp2
= false ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "name", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17407 if (SWIG_arg_fail(1)) SWIG_fail
;
17409 arg2
= wxString_in_helper(obj1
);
17410 if (arg2
== NULL
) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17437 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17440 wxString
*arg2
= 0 ;
17442 bool temp2
= false ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 char *kwnames
[] = {
17446 (char *) "self",(char *) "name", NULL
17449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17451 if (SWIG_arg_fail(1)) SWIG_fail
;
17453 arg2
= wxString_in_helper(obj1
);
17454 if (arg2
== NULL
) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17481 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17484 wxString
*arg2
= 0 ;
17485 wxConfigBase::EntryType result
;
17486 bool temp2
= false ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self",(char *) "name", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail
;
17497 arg2
= wxString_in_helper(obj1
);
17498 if (arg2
== NULL
) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= SWIG_From_int((result
));
17523 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17526 wxString
*arg2
= 0 ;
17527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17530 bool temp2
= false ;
17531 bool temp3
= false ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 PyObject
* obj2
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17541 if (SWIG_arg_fail(1)) SWIG_fail
;
17543 arg2
= wxString_in_helper(obj1
);
17544 if (arg2
== NULL
) SWIG_fail
;
17549 arg3
= wxString_in_helper(obj2
);
17550 if (arg3
== NULL
) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17590 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17593 wxString
*arg2
= 0 ;
17594 long arg3
= (long) 0 ;
17596 bool temp2
= false ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 PyObject
* obj2
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17606 if (SWIG_arg_fail(1)) SWIG_fail
;
17608 arg2
= wxString_in_helper(obj1
);
17609 if (arg2
== NULL
) SWIG_fail
;
17614 arg3
= (long)(SWIG_As_long(obj2
));
17615 if (SWIG_arg_fail(3)) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_From_long((long)(result
));
17642 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17645 wxString
*arg2
= 0 ;
17646 double arg3
= (double) 0.0 ;
17648 bool temp2
= false ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 PyObject
* obj2
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 arg2
= wxString_in_helper(obj1
);
17661 if (arg2
== NULL
) SWIG_fail
;
17666 arg3
= (double)(SWIG_As_double(obj2
));
17667 if (SWIG_arg_fail(3)) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_From_double((double)(result
));
17694 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17697 wxString
*arg2
= 0 ;
17698 bool arg3
= (bool) false ;
17700 bool temp2
= false ;
17701 PyObject
* obj0
= 0 ;
17702 PyObject
* obj1
= 0 ;
17703 PyObject
* obj2
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17710 if (SWIG_arg_fail(1)) SWIG_fail
;
17712 arg2
= wxString_in_helper(obj1
);
17713 if (arg2
== NULL
) SWIG_fail
;
17718 arg3
= (bool)(SWIG_As_bool(obj2
));
17719 if (SWIG_arg_fail(3)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17746 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17749 wxString
*arg2
= 0 ;
17750 wxString
*arg3
= 0 ;
17752 bool temp2
= false ;
17753 bool temp3
= false ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "key",(char *) "value", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17763 if (SWIG_arg_fail(1)) SWIG_fail
;
17765 arg2
= wxString_in_helper(obj1
);
17766 if (arg2
== NULL
) SWIG_fail
;
17770 arg3
= wxString_in_helper(obj2
);
17771 if (arg3
== NULL
) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17806 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17809 wxString
*arg2
= 0 ;
17812 bool temp2
= false ;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17815 PyObject
* obj2
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self",(char *) "key",(char *) "value", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17822 if (SWIG_arg_fail(1)) SWIG_fail
;
17824 arg2
= wxString_in_helper(obj1
);
17825 if (arg2
== NULL
) SWIG_fail
;
17829 arg3
= (long)(SWIG_As_long(obj2
));
17830 if (SWIG_arg_fail(3)) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17856 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17859 wxString
*arg2
= 0 ;
17862 bool temp2
= false ;
17863 PyObject
* obj0
= 0 ;
17864 PyObject
* obj1
= 0 ;
17865 PyObject
* obj2
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self",(char *) "key",(char *) "value", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17872 if (SWIG_arg_fail(1)) SWIG_fail
;
17874 arg2
= wxString_in_helper(obj1
);
17875 if (arg2
== NULL
) SWIG_fail
;
17879 arg3
= (double)(SWIG_As_double(obj2
));
17880 if (SWIG_arg_fail(3)) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17906 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17909 wxString
*arg2
= 0 ;
17912 bool temp2
= false ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "key",(char *) "value", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 arg2
= wxString_in_helper(obj1
);
17925 if (arg2
== NULL
) SWIG_fail
;
17929 arg3
= (bool)(SWIG_As_bool(obj2
));
17930 if (SWIG_arg_fail(3)) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17956 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17959 bool arg2
= (bool) false ;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self",(char *) "currentOnly", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17969 if (SWIG_arg_fail(1)) SWIG_fail
;
17972 arg2
= (bool)(SWIG_As_bool(obj1
));
17973 if (SWIG_arg_fail(2)) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (bool)(arg1
)->Flush(arg2
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17992 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17995 wxString
*arg2
= 0 ;
17996 wxString
*arg3
= 0 ;
17998 bool temp2
= false ;
17999 bool temp3
= false ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 PyObject
* obj2
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18009 if (SWIG_arg_fail(1)) SWIG_fail
;
18011 arg2
= wxString_in_helper(obj1
);
18012 if (arg2
== NULL
) SWIG_fail
;
18016 arg3
= wxString_in_helper(obj2
);
18017 if (arg3
== NULL
) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18052 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18055 wxString
*arg2
= 0 ;
18056 wxString
*arg3
= 0 ;
18058 bool temp2
= false ;
18059 bool temp3
= false ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 PyObject
* obj2
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail
;
18071 arg2
= wxString_in_helper(obj1
);
18072 if (arg2
== NULL
) SWIG_fail
;
18076 arg3
= wxString_in_helper(obj2
);
18077 if (arg3
== NULL
) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18112 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18115 wxString
*arg2
= 0 ;
18116 bool arg3
= (bool) true ;
18118 bool temp2
= false ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 PyObject
* obj2
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18128 if (SWIG_arg_fail(1)) SWIG_fail
;
18130 arg2
= wxString_in_helper(obj1
);
18131 if (arg2
== NULL
) SWIG_fail
;
18136 arg3
= (bool)(SWIG_As_bool(obj2
));
18137 if (SWIG_arg_fail(3)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18167 wxString
*arg2
= 0 ;
18169 bool temp2
= false ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "key", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail
;
18180 arg2
= wxString_in_helper(obj1
);
18181 if (arg2
== NULL
) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18208 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18212 PyObject
* obj0
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18219 if (SWIG_arg_fail(1)) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 result
= (bool)(arg1
)->DeleteAll();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18236 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18239 bool arg2
= (bool) true ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "doIt", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail
;
18251 arg2
= (bool)(SWIG_As_bool(obj1
));
18252 if (SWIG_arg_fail(2)) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetExpandEnvVars(arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18280 if (SWIG_arg_fail(1)) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18297 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18300 bool arg2
= (bool) true ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "doIt", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18309 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 arg2
= (bool)(SWIG_As_bool(obj1
));
18313 if (SWIG_arg_fail(2)) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->SetRecordDefaults(arg2
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 Py_INCREF(Py_None
); resultobj
= Py_None
;
18330 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18341 if (SWIG_arg_fail(1)) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18358 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18361 wxString
*arg2
= 0 ;
18363 bool temp2
= false ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self",(char *) "str", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail
;
18374 arg2
= wxString_in_helper(obj1
);
18375 if (arg2
== NULL
) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18406 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18438 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18470 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18473 wxString
*arg2
= 0 ;
18474 bool temp2
= false ;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self",(char *) "appName", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18483 if (SWIG_arg_fail(1)) SWIG_fail
;
18485 arg2
= wxString_in_helper(obj1
);
18486 if (arg2
== NULL
) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->SetAppName((wxString
const &)*arg2
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 Py_INCREF(Py_None
); resultobj
= Py_None
;
18511 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18514 wxString
*arg2
= 0 ;
18515 bool temp2
= false ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self",(char *) "vendorName", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 arg2
= wxString_in_helper(obj1
);
18527 if (arg2
== NULL
) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "style", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18564 if (SWIG_arg_fail(1)) SWIG_fail
;
18566 arg2
= (long)(SWIG_As_long(obj1
));
18567 if (SWIG_arg_fail(2)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->SetStyle(arg2
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 Py_INCREF(Py_None
); resultobj
= Py_None
;
18583 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18594 if (SWIG_arg_fail(1)) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_From_long((long)(result
));
18611 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18614 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18616 return Py_BuildValue((char *)"");
18618 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18621 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18622 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18623 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18626 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18627 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18628 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18630 bool temp1
= false ;
18631 bool temp2
= false ;
18632 bool temp3
= false ;
18633 bool temp4
= false ;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 PyObject
* obj2
= 0 ;
18637 PyObject
* obj3
= 0 ;
18638 PyObject
* obj4
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18646 arg1
= wxString_in_helper(obj0
);
18647 if (arg1
== NULL
) SWIG_fail
;
18653 arg2
= wxString_in_helper(obj1
);
18654 if (arg2
== NULL
) SWIG_fail
;
18660 arg3
= wxString_in_helper(obj2
);
18661 if (arg3
== NULL
) SWIG_fail
;
18667 arg4
= wxString_in_helper(obj3
);
18668 if (arg4
== NULL
) SWIG_fail
;
18674 arg5
= (long)(SWIG_As_long(obj4
));
18675 if (SWIG_arg_fail(5)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18724 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxConfig
*arg1
= (wxConfig
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18734 if (SWIG_arg_fail(1)) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 Py_INCREF(Py_None
); resultobj
= Py_None
;
18749 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18752 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18754 return Py_BuildValue((char *)"");
18756 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18759 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18760 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18761 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18762 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18764 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18765 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18766 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18767 wxFileConfig
*result
;
18768 bool temp1
= false ;
18769 bool temp2
= false ;
18770 bool temp3
= false ;
18771 bool temp4
= false ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 PyObject
* obj2
= 0 ;
18775 PyObject
* obj3
= 0 ;
18776 PyObject
* obj4
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18784 arg1
= wxString_in_helper(obj0
);
18785 if (arg1
== NULL
) SWIG_fail
;
18791 arg2
= wxString_in_helper(obj1
);
18792 if (arg2
== NULL
) SWIG_fail
;
18798 arg3
= wxString_in_helper(obj2
);
18799 if (arg3
== NULL
) SWIG_fail
;
18805 arg4
= wxString_in_helper(obj3
);
18806 if (arg4
== NULL
) SWIG_fail
;
18812 arg5
= (long)(SWIG_As_long(obj4
));
18813 if (SWIG_arg_fail(5)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18862 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18872 if (SWIG_arg_fail(1)) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 Py_INCREF(Py_None
); resultobj
= Py_None
;
18887 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18890 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18892 return Py_BuildValue((char *)"");
18894 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18897 wxString
*arg2
= 0 ;
18898 wxConfigPathChanger
*result
;
18899 bool temp2
= false ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "config",(char *) "entry", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18908 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 arg2
= wxString_in_helper(obj1
);
18911 if (arg2
== NULL
) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18936 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18946 if (SWIG_arg_fail(1)) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 Py_INCREF(Py_None
); resultobj
= Py_None
;
18961 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18972 if (SWIG_arg_fail(1)) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18977 result
= (wxString
*) &_result_ref
;
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18996 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18999 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19001 return Py_BuildValue((char *)"");
19003 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxString
*arg1
= 0 ;
19007 bool temp1
= false ;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "sz", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19015 arg1
= wxString_in_helper(obj0
);
19016 if (arg1
== NULL
) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19047 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19048 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19053 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19058 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19060 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19067 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19068 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19073 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19078 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19080 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19087 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxDateTime::Country arg1
;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "country", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19097 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19098 if (SWIG_arg_fail(1)) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxDateTime::Country result
;
19117 char *kwnames
[] = {
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_From_int((result
));
19136 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "country", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19148 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19168 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "cal", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19180 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19181 if (SWIG_arg_fail(1)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_From_int((int)(result
));
19200 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19204 PyObject
* obj0
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "year", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19211 arg1
= (int)(SWIG_As_int(obj0
));
19212 if (SWIG_arg_fail(1)) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= SWIG_From_int((int)(result
));
19230 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19233 wxDateTime::Month result
;
19234 PyObject
* obj0
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "cal", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19242 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19243 if (SWIG_arg_fail(1)) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= SWIG_From_int((result
));
19260 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 int arg1
= (int) wxDateTime::Inv_Year
;
19263 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "year",(char *) "cal", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19274 arg1
= (int)(SWIG_As_int(obj0
));
19275 if (SWIG_arg_fail(1)) SWIG_fail
;
19280 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19281 if (SWIG_arg_fail(2)) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19300 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 int arg1
= (int) wxDateTime::Inv_Year
;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "year", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19312 arg1
= (int)(SWIG_As_int(obj0
));
19313 if (SWIG_arg_fail(1)) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (int)wxDateTime::GetCentury(arg1
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_From_int((int)(result
));
19332 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19335 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "year",(char *) "cal", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 arg1
= (int)(SWIG_As_int(obj0
));
19346 if (SWIG_arg_fail(1)) SWIG_fail
;
19350 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19351 if (SWIG_arg_fail(2)) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_From_int((int)(result
));
19370 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxDateTime::Month arg1
;
19373 int arg2
= (int) wxDateTime::Inv_Year
;
19374 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 PyObject
* obj2
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "month",(char *) "year",(char *) "cal", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19385 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19386 if (SWIG_arg_fail(1)) SWIG_fail
;
19390 arg2
= (int)(SWIG_As_int(obj1
));
19391 if (SWIG_arg_fail(2)) SWIG_fail
;
19396 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19397 if (SWIG_arg_fail(3)) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_From_int((int)(result
));
19416 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxDateTime::Month arg1
;
19419 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "month",(char *) "flags", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19430 if (SWIG_arg_fail(1)) SWIG_fail
;
19434 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19435 if (SWIG_arg_fail(2)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19458 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxDateTime::WeekDay arg1
;
19461 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "weekday",(char *) "flags", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19471 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19472 if (SWIG_arg_fail(1)) SWIG_fail
;
19476 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19477 if (SWIG_arg_fail(2)) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19500 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19503 char *kwnames
[] = {
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (PyObject
*)DateTime_GetAmPmStrings();
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= result
;
19522 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 int arg1
= (int) wxDateTime::Inv_Year
;
19525 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "year",(char *) "country", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19536 arg1
= (int)(SWIG_As_int(obj0
));
19537 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19543 if (SWIG_arg_fail(2)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19562 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 int arg1
= (int) wxDateTime::Inv_Year
;
19565 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "year",(char *) "country", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 arg1
= (int)(SWIG_As_int(obj0
));
19577 if (SWIG_arg_fail(1)) SWIG_fail
;
19582 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19583 if (SWIG_arg_fail(2)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 wxDateTime
* resultptr
;
19595 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19604 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 int arg1
= (int) wxDateTime::Inv_Year
;
19607 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "year",(char *) "country", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 arg1
= (int)(SWIG_As_int(obj0
));
19619 if (SWIG_arg_fail(1)) SWIG_fail
;
19624 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19625 if (SWIG_arg_fail(2)) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19636 wxDateTime
* resultptr
;
19637 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19646 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19649 char *kwnames
[] = {
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= wxDateTime::Now();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 wxDateTime
* resultptr
;
19663 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19672 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19675 char *kwnames
[] = {
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= wxDateTime::UNow();
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 wxDateTime
* resultptr
;
19689 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19698 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19701 char *kwnames
[] = {
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= wxDateTime::Today();
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19714 wxDateTime
* resultptr
;
19715 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19724 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxDateTime
*result
;
19727 char *kwnames
[] = {
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (wxDateTime
*)new wxDateTime();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19746 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19749 wxDateTime
*result
;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "timet", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19757 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19758 if (SWIG_arg_fail(1)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxDateTime
*)new wxDateTime(arg1
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19774 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19777 wxDateTime
*result
;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "jdn", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19785 arg1
= (double)(SWIG_As_double(obj0
));
19786 if (SWIG_arg_fail(1)) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (wxDateTime
*)new wxDateTime(arg1
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19802 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19805 int arg2
= (int) 0 ;
19806 int arg3
= (int) 0 ;
19807 int arg4
= (int) 0 ;
19808 wxDateTime
*result
;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 PyObject
* obj2
= 0 ;
19812 PyObject
* obj3
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19819 arg1
= (int)(SWIG_As_int(obj0
));
19820 if (SWIG_arg_fail(1)) SWIG_fail
;
19824 arg2
= (int)(SWIG_As_int(obj1
));
19825 if (SWIG_arg_fail(2)) SWIG_fail
;
19830 arg3
= (int)(SWIG_As_int(obj2
));
19831 if (SWIG_arg_fail(3)) SWIG_fail
;
19836 arg4
= (int)(SWIG_As_int(obj3
));
19837 if (SWIG_arg_fail(4)) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19854 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19857 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19858 int arg3
= (int) wxDateTime::Inv_Year
;
19859 int arg4
= (int) 0 ;
19860 int arg5
= (int) 0 ;
19861 int arg6
= (int) 0 ;
19862 int arg7
= (int) 0 ;
19863 wxDateTime
*result
;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 PyObject
* obj2
= 0 ;
19867 PyObject
* obj3
= 0 ;
19868 PyObject
* obj4
= 0 ;
19869 PyObject
* obj5
= 0 ;
19870 PyObject
* obj6
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19877 arg1
= (int)(SWIG_As_int(obj0
));
19878 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19883 if (SWIG_arg_fail(2)) SWIG_fail
;
19888 arg3
= (int)(SWIG_As_int(obj2
));
19889 if (SWIG_arg_fail(3)) SWIG_fail
;
19894 arg4
= (int)(SWIG_As_int(obj3
));
19895 if (SWIG_arg_fail(4)) SWIG_fail
;
19900 arg5
= (int)(SWIG_As_int(obj4
));
19901 if (SWIG_arg_fail(5)) SWIG_fail
;
19906 arg6
= (int)(SWIG_As_int(obj5
));
19907 if (SWIG_arg_fail(6)) SWIG_fail
;
19912 arg7
= (int)(SWIG_As_int(obj6
));
19913 if (SWIG_arg_fail(7)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19930 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 Py_INCREF(Py_None
); resultobj
= Py_None
;
19955 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19958 wxDateTime
*result
;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19971 result
= (wxDateTime
*) &_result_ref
;
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19984 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19988 wxDateTime
*result
;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self",(char *) "timet", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19997 if (SWIG_arg_fail(1)) SWIG_fail
;
19999 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
20000 if (SWIG_arg_fail(2)) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20006 result
= (wxDateTime
*) &_result_ref
;
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20019 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20023 wxDateTime
*result
;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self",(char *) "jdn", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20032 if (SWIG_arg_fail(1)) SWIG_fail
;
20034 arg2
= (double)(SWIG_As_double(obj1
));
20035 if (SWIG_arg_fail(2)) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20041 result
= (wxDateTime
*) &_result_ref
;
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20054 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20058 int arg3
= (int) 0 ;
20059 int arg4
= (int) 0 ;
20060 int arg5
= (int) 0 ;
20061 wxDateTime
*result
;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 PyObject
* obj2
= 0 ;
20065 PyObject
* obj3
= 0 ;
20066 PyObject
* obj4
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 arg2
= (int)(SWIG_As_int(obj1
));
20076 if (SWIG_arg_fail(2)) SWIG_fail
;
20080 arg3
= (int)(SWIG_As_int(obj2
));
20081 if (SWIG_arg_fail(3)) SWIG_fail
;
20086 arg4
= (int)(SWIG_As_int(obj3
));
20087 if (SWIG_arg_fail(4)) SWIG_fail
;
20092 arg5
= (int)(SWIG_As_int(obj4
));
20093 if (SWIG_arg_fail(5)) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20100 result
= (wxDateTime
*) &_result_ref
;
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20113 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20117 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20118 int arg4
= (int) wxDateTime::Inv_Year
;
20119 int arg5
= (int) 0 ;
20120 int arg6
= (int) 0 ;
20121 int arg7
= (int) 0 ;
20122 int arg8
= (int) 0 ;
20123 wxDateTime
*result
;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 PyObject
* obj2
= 0 ;
20127 PyObject
* obj3
= 0 ;
20128 PyObject
* obj4
= 0 ;
20129 PyObject
* obj5
= 0 ;
20130 PyObject
* obj6
= 0 ;
20131 PyObject
* obj7
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20138 if (SWIG_arg_fail(1)) SWIG_fail
;
20140 arg2
= (int)(SWIG_As_int(obj1
));
20141 if (SWIG_arg_fail(2)) SWIG_fail
;
20145 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20146 if (SWIG_arg_fail(3)) SWIG_fail
;
20151 arg4
= (int)(SWIG_As_int(obj3
));
20152 if (SWIG_arg_fail(4)) SWIG_fail
;
20157 arg5
= (int)(SWIG_As_int(obj4
));
20158 if (SWIG_arg_fail(5)) SWIG_fail
;
20163 arg6
= (int)(SWIG_As_int(obj5
));
20164 if (SWIG_arg_fail(6)) SWIG_fail
;
20169 arg7
= (int)(SWIG_As_int(obj6
));
20170 if (SWIG_arg_fail(7)) SWIG_fail
;
20175 arg8
= (int)(SWIG_As_int(obj7
));
20176 if (SWIG_arg_fail(8)) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20183 result
= (wxDateTime
*) &_result_ref
;
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20196 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20199 wxDateTime
*result
;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20207 if (SWIG_arg_fail(1)) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20212 result
= (wxDateTime
*) &_result_ref
;
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20225 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20229 wxDateTime
*result
;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self",(char *) "year", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20238 if (SWIG_arg_fail(1)) SWIG_fail
;
20240 arg2
= (int)(SWIG_As_int(obj1
));
20241 if (SWIG_arg_fail(2)) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20247 result
= (wxDateTime
*) &_result_ref
;
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20260 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20263 wxDateTime::Month arg2
;
20264 wxDateTime
*result
;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self",(char *) "month", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20273 if (SWIG_arg_fail(1)) SWIG_fail
;
20275 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20276 if (SWIG_arg_fail(2)) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20282 result
= (wxDateTime
*) &_result_ref
;
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20295 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20299 wxDateTime
*result
;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self",(char *) "day", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20308 if (SWIG_arg_fail(1)) SWIG_fail
;
20310 arg2
= (int)(SWIG_As_int(obj1
));
20311 if (SWIG_arg_fail(2)) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20317 result
= (wxDateTime
*) &_result_ref
;
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20330 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20334 wxDateTime
*result
;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "hour", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20343 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 arg2
= (int)(SWIG_As_int(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20352 result
= (wxDateTime
*) &_result_ref
;
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20365 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20369 wxDateTime
*result
;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "minute", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20380 arg2
= (int)(SWIG_As_int(obj1
));
20381 if (SWIG_arg_fail(2)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20387 result
= (wxDateTime
*) &_result_ref
;
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20400 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20404 wxDateTime
*result
;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "second", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20413 if (SWIG_arg_fail(1)) SWIG_fail
;
20415 arg2
= (int)(SWIG_As_int(obj1
));
20416 if (SWIG_arg_fail(2)) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20422 result
= (wxDateTime
*) &_result_ref
;
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20435 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20439 wxDateTime
*result
;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self",(char *) "millisecond", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail
;
20450 arg2
= (int)(SWIG_As_int(obj1
));
20451 if (SWIG_arg_fail(2)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20457 result
= (wxDateTime
*) &_result_ref
;
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20470 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20473 wxDateTime::WeekDay arg2
;
20474 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20475 wxDateTime
*result
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail
;
20487 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20488 if (SWIG_arg_fail(2)) SWIG_fail
;
20492 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20493 if (SWIG_arg_fail(3)) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20500 result
= (wxDateTime
*) &_result_ref
;
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20513 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20516 wxDateTime::WeekDay arg2
;
20517 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 PyObject
* obj2
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20531 if (SWIG_arg_fail(2)) SWIG_fail
;
20535 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20536 if (SWIG_arg_fail(3)) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 wxDateTime
* resultptr
;
20548 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20557 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20560 wxDateTime::WeekDay arg2
;
20561 wxDateTime
*result
;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self",(char *) "weekday", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail
;
20572 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20573 if (SWIG_arg_fail(2)) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20579 result
= (wxDateTime
*) &_result_ref
;
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20592 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20595 wxDateTime::WeekDay arg2
;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self",(char *) "weekday", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20605 if (SWIG_arg_fail(1)) SWIG_fail
;
20607 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20608 if (SWIG_arg_fail(2)) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 wxDateTime
* resultptr
;
20619 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20628 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20631 wxDateTime::WeekDay arg2
;
20632 wxDateTime
*result
;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "weekday", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20641 if (SWIG_arg_fail(1)) SWIG_fail
;
20643 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20644 if (SWIG_arg_fail(2)) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20650 result
= (wxDateTime
*) &_result_ref
;
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20663 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20666 wxDateTime::WeekDay arg2
;
20668 PyObject
* obj0
= 0 ;
20669 PyObject
* obj1
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self",(char *) "weekday", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20676 if (SWIG_arg_fail(1)) SWIG_fail
;
20678 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20679 if (SWIG_arg_fail(2)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 wxDateTime
* resultptr
;
20690 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20699 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20702 wxDateTime::WeekDay arg2
;
20703 int arg3
= (int) 1 ;
20704 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20705 int arg5
= (int) wxDateTime::Inv_Year
;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 PyObject
* obj2
= 0 ;
20710 PyObject
* obj3
= 0 ;
20711 PyObject
* obj4
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20718 if (SWIG_arg_fail(1)) SWIG_fail
;
20720 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20721 if (SWIG_arg_fail(2)) SWIG_fail
;
20725 arg3
= (int)(SWIG_As_int(obj2
));
20726 if (SWIG_arg_fail(3)) SWIG_fail
;
20731 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20732 if (SWIG_arg_fail(4)) SWIG_fail
;
20737 arg5
= (int)(SWIG_As_int(obj4
));
20738 if (SWIG_arg_fail(5)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20757 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20760 wxDateTime::WeekDay arg2
;
20761 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20762 int arg4
= (int) wxDateTime::Inv_Year
;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 PyObject
* obj3
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail
;
20776 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20777 if (SWIG_arg_fail(2)) SWIG_fail
;
20781 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20782 if (SWIG_arg_fail(3)) SWIG_fail
;
20787 arg4
= (int)(SWIG_As_int(obj3
));
20788 if (SWIG_arg_fail(4)) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20807 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20810 wxDateTime::WeekDay arg2
;
20811 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20812 int arg4
= (int) wxDateTime::Inv_Year
;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 PyObject
* obj2
= 0 ;
20817 PyObject
* obj3
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20827 if (SWIG_arg_fail(2)) SWIG_fail
;
20831 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20832 if (SWIG_arg_fail(3)) SWIG_fail
;
20837 arg4
= (int)(SWIG_As_int(obj3
));
20838 if (SWIG_arg_fail(4)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20849 wxDateTime
* resultptr
;
20850 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20859 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20863 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20864 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20866 PyObject
* obj0
= 0 ;
20867 PyObject
* obj1
= 0 ;
20868 PyObject
* obj2
= 0 ;
20869 PyObject
* obj3
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail
;
20878 arg2
= (int)(SWIG_As_int(obj1
));
20879 if (SWIG_arg_fail(2)) SWIG_fail
;
20883 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20884 if (SWIG_arg_fail(3)) SWIG_fail
;
20889 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20890 if (SWIG_arg_fail(4)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20909 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20913 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20914 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 PyObject
* obj2
= 0 ;
20919 PyObject
* obj3
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20926 if (SWIG_arg_fail(1)) SWIG_fail
;
20928 arg2
= (int)(SWIG_As_int(obj1
));
20929 if (SWIG_arg_fail(2)) SWIG_fail
;
20933 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20934 if (SWIG_arg_fail(3)) SWIG_fail
;
20939 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20940 if (SWIG_arg_fail(4)) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20951 wxDateTime
* resultptr
;
20952 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20961 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20965 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 PyObject
* obj2
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20976 arg1
= (int)(SWIG_As_int(obj0
));
20977 if (SWIG_arg_fail(1)) SWIG_fail
;
20980 arg2
= (int)(SWIG_As_int(obj1
));
20981 if (SWIG_arg_fail(2)) SWIG_fail
;
20985 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20986 if (SWIG_arg_fail(3)) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20997 wxDateTime
* resultptr
;
20998 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21007 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21010 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21011 int arg3
= (int) wxDateTime::Inv_Year
;
21012 wxDateTime
*result
;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 PyObject
* obj2
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "month",(char *) "year", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21022 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21026 if (SWIG_arg_fail(2)) SWIG_fail
;
21031 arg3
= (int)(SWIG_As_int(obj2
));
21032 if (SWIG_arg_fail(3)) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21039 result
= (wxDateTime
*) &_result_ref
;
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21052 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21055 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21056 int arg3
= (int) wxDateTime::Inv_Year
;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 PyObject
* obj2
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self",(char *) "month",(char *) "year", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21067 if (SWIG_arg_fail(1)) SWIG_fail
;
21070 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21071 if (SWIG_arg_fail(2)) SWIG_fail
;
21076 arg3
= (int)(SWIG_As_int(obj2
));
21077 if (SWIG_arg_fail(3)) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21088 wxDateTime
* resultptr
;
21089 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21098 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
;
21100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21102 wxDateTime
*result
;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "self",(char *) "yday", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21111 if (SWIG_arg_fail(1)) SWIG_fail
;
21113 arg2
= (int)(SWIG_As_int(obj1
));
21114 if (SWIG_arg_fail(2)) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21120 result
= (wxDateTime
*) &_result_ref
;
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21133 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "yday", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21146 if (SWIG_arg_fail(1)) SWIG_fail
;
21148 arg2
= (int)(SWIG_As_int(obj1
));
21149 if (SWIG_arg_fail(2)) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (arg1
)->GetYearDay(arg2
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21159 wxDateTime
* resultptr
;
21160 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21169 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (double)(arg1
)->GetJulianDayNumber();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_From_double((double)(result
));
21197 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21208 if (SWIG_arg_fail(1)) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= (double)(arg1
)->GetJDN();
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_From_double((double)(result
));
21225 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_From_double((double)(result
));
21253 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21257 PyObject
* obj0
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21264 if (SWIG_arg_fail(1)) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (double)(arg1
)->GetMJD();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= SWIG_From_double((double)(result
));
21281 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21292 if (SWIG_arg_fail(1)) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (double)(arg1
)->GetRataDie();
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_From_double((double)(result
));
21309 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21312 wxDateTime::TimeZone
*arg2
= 0 ;
21313 bool arg3
= (bool) false ;
21315 bool temp2
= false ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 PyObject
* obj2
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21332 arg3
= (bool)(SWIG_As_bool(obj2
));
21333 if (SWIG_arg_fail(3)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21344 wxDateTime
* resultptr
;
21345 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21349 if (temp2
) delete arg2
;
21354 if (temp2
) delete arg2
;
21360 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21363 wxDateTime::TimeZone
*arg2
= 0 ;
21364 bool arg3
= (bool) false ;
21365 wxDateTime
*result
;
21366 bool temp2
= false ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 PyObject
* obj2
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21376 if (SWIG_arg_fail(1)) SWIG_fail
;
21378 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21383 arg3
= (bool)(SWIG_As_bool(obj2
));
21384 if (SWIG_arg_fail(3)) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21391 result
= (wxDateTime
*) &_result_ref
;
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21399 if (temp2
) delete arg2
;
21404 if (temp2
) delete arg2
;
21410 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21413 bool arg2
= (bool) false ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "noDST", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail
;
21426 arg2
= (bool)(SWIG_As_bool(obj1
));
21427 if (SWIG_arg_fail(2)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (arg1
)->ToGMT(arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 wxDateTime
* resultptr
;
21439 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21448 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21451 bool arg2
= (bool) false ;
21452 wxDateTime
*result
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "noDST", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21461 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 arg2
= (bool)(SWIG_As_bool(obj1
));
21465 if (SWIG_arg_fail(2)) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21472 result
= (wxDateTime
*) &_result_ref
;
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21485 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21488 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "country", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21498 if (SWIG_arg_fail(1)) SWIG_fail
;
21501 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21502 if (SWIG_arg_fail(2)) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= SWIG_From_int((int)(result
));
21521 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21532 if (SWIG_arg_fail(1)) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21549 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21560 if (SWIG_arg_fail(1)) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21577 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21580 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21581 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21583 bool temp2
= false ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "tz", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail
;
21595 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_From_int((int)(result
));
21610 if (temp2
) delete arg2
;
21615 if (temp2
) delete arg2
;
21621 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21624 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21625 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21626 wxDateTime::Month result
;
21627 bool temp2
= false ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "tz", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21636 if (SWIG_arg_fail(1)) SWIG_fail
;
21639 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_From_int((result
));
21652 if (temp2
) delete arg2
;
21657 if (temp2
) delete arg2
;
21663 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21666 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21667 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21669 bool temp2
= false ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "tz", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21678 if (SWIG_arg_fail(1)) SWIG_fail
;
21681 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_From_int((int)(result
));
21696 if (temp2
) delete arg2
;
21701 if (temp2
) delete arg2
;
21707 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21710 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21711 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21712 wxDateTime::WeekDay result
;
21713 bool temp2
= false ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "tz", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21722 if (SWIG_arg_fail(1)) SWIG_fail
;
21725 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_From_int((result
));
21738 if (temp2
) delete arg2
;
21743 if (temp2
) delete arg2
;
21749 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21752 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21753 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21755 bool temp2
= false ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "tz", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail
;
21767 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_From_int((int)(result
));
21782 if (temp2
) delete arg2
;
21787 if (temp2
) delete arg2
;
21793 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21796 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21797 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21799 bool temp2
= false ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "tz", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21811 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= SWIG_From_int((int)(result
));
21826 if (temp2
) delete arg2
;
21831 if (temp2
) delete arg2
;
21837 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21840 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21841 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21843 bool temp2
= false ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "tz", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21852 if (SWIG_arg_fail(1)) SWIG_fail
;
21855 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_From_int((int)(result
));
21870 if (temp2
) delete arg2
;
21875 if (temp2
) delete arg2
;
21881 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21884 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21885 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21887 bool temp2
= false ;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "tz", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail
;
21899 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_From_int((int)(result
));
21914 if (temp2
) delete arg2
;
21919 if (temp2
) delete arg2
;
21925 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21928 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21929 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21931 bool temp2
= false ;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "tz", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail
;
21943 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_From_int((int)(result
));
21958 if (temp2
) delete arg2
;
21963 if (temp2
) delete arg2
;
21969 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21972 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21973 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21974 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21976 bool temp3
= false ;
21977 PyObject
* obj0
= 0 ;
21978 PyObject
* obj1
= 0 ;
21979 PyObject
* obj2
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "flags",(char *) "tz", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail
;
21989 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21990 if (SWIG_arg_fail(2)) SWIG_fail
;
21995 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_From_int((int)(result
));
22010 if (temp3
) delete arg3
;
22015 if (temp3
) delete arg3
;
22021 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22024 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22025 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22026 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22028 bool temp3
= false ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 PyObject
* obj2
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "flags",(char *) "tz", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22041 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22042 if (SWIG_arg_fail(2)) SWIG_fail
;
22047 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_From_int((int)(result
));
22062 if (temp3
) delete arg3
;
22067 if (temp3
) delete arg3
;
22073 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22076 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "country", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22090 if (SWIG_arg_fail(2)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22112 wxDateTime
*arg2
= 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self",(char *) "datetime", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22122 if (SWIG_arg_fail(1)) SWIG_fail
;
22124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22125 if (SWIG_arg_fail(2)) SWIG_fail
;
22126 if (arg2
== NULL
) {
22127 SWIG_null_ref("wxDateTime");
22129 if (SWIG_arg_fail(2)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22147 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22150 wxDateTime
*arg2
= 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self",(char *) "datetime", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22160 if (SWIG_arg_fail(1)) SWIG_fail
;
22162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22163 if (SWIG_arg_fail(2)) SWIG_fail
;
22164 if (arg2
== NULL
) {
22165 SWIG_null_ref("wxDateTime");
22167 if (SWIG_arg_fail(2)) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22188 wxDateTime
*arg2
= 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "datetime", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22198 if (SWIG_arg_fail(1)) SWIG_fail
;
22200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(2)) SWIG_fail
;
22202 if (arg2
== NULL
) {
22203 SWIG_null_ref("wxDateTime");
22205 if (SWIG_arg_fail(2)) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22223 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22226 wxDateTime
*arg2
= 0 ;
22227 wxDateTime
*arg3
= 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self",(char *) "t1",(char *) "t2", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22241 if (SWIG_arg_fail(2)) SWIG_fail
;
22242 if (arg2
== NULL
) {
22243 SWIG_null_ref("wxDateTime");
22245 if (SWIG_arg_fail(2)) SWIG_fail
;
22248 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(3)) SWIG_fail
;
22250 if (arg3
== NULL
) {
22251 SWIG_null_ref("wxDateTime");
22253 if (SWIG_arg_fail(3)) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22271 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22274 wxDateTime
*arg2
= 0 ;
22275 wxDateTime
*arg3
= 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "t1",(char *) "t2", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail
;
22288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(2)) SWIG_fail
;
22290 if (arg2
== NULL
) {
22291 SWIG_null_ref("wxDateTime");
22293 if (SWIG_arg_fail(2)) SWIG_fail
;
22296 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22297 if (SWIG_arg_fail(3)) SWIG_fail
;
22298 if (arg3
== NULL
) {
22299 SWIG_null_ref("wxDateTime");
22301 if (SWIG_arg_fail(3)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22319 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22322 wxDateTime
*arg2
= 0 ;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self",(char *) "dt", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail
;
22334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(2)) SWIG_fail
;
22336 if (arg2
== NULL
) {
22337 SWIG_null_ref("wxDateTime");
22339 if (SWIG_arg_fail(2)) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22357 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22360 wxDateTime
*arg2
= 0 ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self",(char *) "dt", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22370 if (SWIG_arg_fail(1)) SWIG_fail
;
22372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22373 if (SWIG_arg_fail(2)) SWIG_fail
;
22374 if (arg2
== NULL
) {
22375 SWIG_null_ref("wxDateTime");
22377 if (SWIG_arg_fail(2)) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22395 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22398 wxDateTime
*arg2
= 0 ;
22399 wxTimeSpan
*arg3
= 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 PyObject
* obj2
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "dt",(char *) "ts", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail
;
22412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22413 if (SWIG_arg_fail(2)) SWIG_fail
;
22414 if (arg2
== NULL
) {
22415 SWIG_null_ref("wxDateTime");
22417 if (SWIG_arg_fail(2)) SWIG_fail
;
22420 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22421 if (SWIG_arg_fail(3)) SWIG_fail
;
22422 if (arg3
== NULL
) {
22423 SWIG_null_ref("wxTimeSpan");
22425 if (SWIG_arg_fail(3)) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22443 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22446 wxTimeSpan
*arg2
= 0 ;
22447 wxDateTime
*result
;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "diff", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail
;
22458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22459 if (SWIG_arg_fail(2)) SWIG_fail
;
22460 if (arg2
== NULL
) {
22461 SWIG_null_ref("wxTimeSpan");
22463 if (SWIG_arg_fail(2)) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22469 result
= (wxDateTime
*) &_result_ref
;
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22482 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22485 wxDateSpan
*arg2
= 0 ;
22486 wxDateTime
*result
;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self",(char *) "diff", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail
;
22497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22498 if (SWIG_arg_fail(2)) SWIG_fail
;
22499 if (arg2
== NULL
) {
22500 SWIG_null_ref("wxDateSpan");
22502 if (SWIG_arg_fail(2)) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22508 result
= (wxDateTime
*) &_result_ref
;
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22521 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22524 wxTimeSpan
*arg2
= 0 ;
22525 wxDateTime
*result
;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "diff", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22538 if (arg2
== NULL
) {
22539 SWIG_null_ref("wxTimeSpan");
22541 if (SWIG_arg_fail(2)) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22547 result
= (wxDateTime
*) &_result_ref
;
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22560 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22563 wxDateSpan
*arg2
= 0 ;
22564 wxDateTime
*result
;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "diff", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail
;
22575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22576 if (SWIG_arg_fail(2)) SWIG_fail
;
22577 if (arg2
== NULL
) {
22578 SWIG_null_ref("wxDateSpan");
22580 if (SWIG_arg_fail(2)) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22586 result
= (wxDateTime
*) &_result_ref
;
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22599 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22602 wxDateTime
*arg2
= 0 ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self",(char *) "dt", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail
;
22614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22615 if (SWIG_arg_fail(2)) SWIG_fail
;
22616 if (arg2
== NULL
) {
22617 SWIG_null_ref("wxDateTime");
22619 if (SWIG_arg_fail(2)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 wxTimeSpan
* resultptr
;
22630 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22639 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22640 PyObject
*resultobj
;
22641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22642 wxTimeSpan
*arg2
= 0 ;
22643 wxDateTime
*result
;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22647 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22649 if (SWIG_arg_fail(1)) SWIG_fail
;
22651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(2)) SWIG_fail
;
22653 if (arg2
== NULL
) {
22654 SWIG_null_ref("wxTimeSpan");
22656 if (SWIG_arg_fail(2)) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22662 result
= (wxDateTime
*) &_result_ref
;
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22675 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22676 PyObject
*resultobj
;
22677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22678 wxDateSpan
*arg2
= 0 ;
22679 wxDateTime
*result
;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22683 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22685 if (SWIG_arg_fail(1)) SWIG_fail
;
22687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(2)) SWIG_fail
;
22689 if (arg2
== NULL
) {
22690 SWIG_null_ref("wxDateSpan");
22692 if (SWIG_arg_fail(2)) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22698 result
= (wxDateTime
*) &_result_ref
;
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22711 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22716 argc
= PyObject_Length(args
);
22717 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22718 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22724 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22734 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22742 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22750 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22760 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22768 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22773 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22778 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22779 PyObject
*resultobj
;
22780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22781 wxTimeSpan
*arg2
= 0 ;
22782 wxDateTime
*result
;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22786 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22788 if (SWIG_arg_fail(1)) SWIG_fail
;
22790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22791 if (SWIG_arg_fail(2)) SWIG_fail
;
22792 if (arg2
== NULL
) {
22793 SWIG_null_ref("wxTimeSpan");
22795 if (SWIG_arg_fail(2)) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22801 result
= (wxDateTime
*) &_result_ref
;
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22814 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22815 PyObject
*resultobj
;
22816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22817 wxDateSpan
*arg2
= 0 ;
22818 wxDateTime
*result
;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22822 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22824 if (SWIG_arg_fail(1)) SWIG_fail
;
22826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22827 if (SWIG_arg_fail(2)) SWIG_fail
;
22828 if (arg2
== NULL
) {
22829 SWIG_null_ref("wxDateSpan");
22831 if (SWIG_arg_fail(2)) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22837 result
= (wxDateTime
*) &_result_ref
;
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22850 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22855 argc
= PyObject_Length(args
);
22856 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22857 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22863 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22873 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22881 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22899 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22907 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22912 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22917 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22918 PyObject
*resultobj
;
22919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22920 wxTimeSpan
*arg2
= 0 ;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22925 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail
;
22929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22930 if (SWIG_arg_fail(2)) SWIG_fail
;
22931 if (arg2
== NULL
) {
22932 SWIG_null_ref("wxTimeSpan");
22934 if (SWIG_arg_fail(2)) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 wxDateTime
* resultptr
;
22945 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22954 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22955 PyObject
*resultobj
;
22956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22957 wxDateSpan
*arg2
= 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22962 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22967 if (SWIG_arg_fail(2)) SWIG_fail
;
22968 if (arg2
== NULL
) {
22969 SWIG_null_ref("wxDateSpan");
22971 if (SWIG_arg_fail(2)) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22981 wxDateTime
* resultptr
;
22982 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22991 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22996 argc
= PyObject_Length(args
);
22997 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22998 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23014 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23022 return _wrap_DateTime___add____SWIG_0(self
,args
);
23030 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23040 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23048 return _wrap_DateTime___add____SWIG_1(self
,args
);
23053 Py_INCREF(Py_NotImplemented
);
23054 return Py_NotImplemented
;
23058 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23059 PyObject
*resultobj
;
23060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23061 wxDateTime
*arg2
= 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23066 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23068 if (SWIG_arg_fail(1)) SWIG_fail
;
23070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23071 if (SWIG_arg_fail(2)) SWIG_fail
;
23072 if (arg2
== NULL
) {
23073 SWIG_null_ref("wxDateTime");
23075 if (SWIG_arg_fail(2)) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 wxTimeSpan
* resultptr
;
23086 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23095 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23096 PyObject
*resultobj
;
23097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23098 wxTimeSpan
*arg2
= 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23103 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23108 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 if (arg2
== NULL
) {
23110 SWIG_null_ref("wxTimeSpan");
23112 if (SWIG_arg_fail(2)) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23122 wxDateTime
* resultptr
;
23123 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23132 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23133 PyObject
*resultobj
;
23134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23135 wxDateSpan
*arg2
= 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23140 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail
;
23144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23145 if (SWIG_arg_fail(2)) SWIG_fail
;
23146 if (arg2
== NULL
) {
23147 SWIG_null_ref("wxDateSpan");
23149 if (SWIG_arg_fail(2)) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 wxDateTime
* resultptr
;
23160 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23169 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23174 argc
= PyObject_Length(args
);
23175 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23176 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23182 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23192 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23200 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23208 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23218 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23226 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23234 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23244 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23252 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23257 Py_INCREF(Py_NotImplemented
);
23258 return Py_NotImplemented
;
23262 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23265 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self",(char *) "other", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23275 if (SWIG_arg_fail(1)) SWIG_fail
;
23276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23277 if (SWIG_arg_fail(2)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23294 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23297 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "other", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23309 if (SWIG_arg_fail(2)) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23326 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23329 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "other", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(2)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23358 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23361 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self",(char *) "other", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23371 if (SWIG_arg_fail(1)) SWIG_fail
;
23372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(2)) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23390 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23393 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "other", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23405 if (SWIG_arg_fail(2)) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23422 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23425 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "other", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23435 if (SWIG_arg_fail(1)) SWIG_fail
;
23436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23437 if (SWIG_arg_fail(2)) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23454 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23457 wxString
*arg2
= 0 ;
23459 bool temp2
= false ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "date", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 arg2
= wxString_in_helper(obj1
);
23471 if (arg2
== NULL
) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= SWIG_From_int((int)(result
));
23498 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23501 wxString
*arg2
= 0 ;
23502 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23503 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23504 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23505 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23507 bool temp2
= false ;
23508 bool temp3
= false ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 PyObject
* obj2
= 0 ;
23512 PyObject
* obj3
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail
;
23521 arg2
= wxString_in_helper(obj1
);
23522 if (arg2
== NULL
) SWIG_fail
;
23527 arg3
= wxString_in_helper(obj2
);
23528 if (arg3
== NULL
) SWIG_fail
;
23534 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23535 if (SWIG_arg_fail(4)) SWIG_fail
;
23536 if (arg4
== NULL
) {
23537 SWIG_null_ref("wxDateTime");
23539 if (SWIG_arg_fail(4)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_From_int((int)(result
));
23574 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23577 wxString
*arg2
= 0 ;
23579 bool temp2
= false ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self",(char *) "datetime", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23588 if (SWIG_arg_fail(1)) SWIG_fail
;
23590 arg2
= wxString_in_helper(obj1
);
23591 if (arg2
== NULL
) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_From_int((int)(result
));
23618 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23621 wxString
*arg2
= 0 ;
23623 bool temp2
= false ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "date", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail
;
23634 arg2
= wxString_in_helper(obj1
);
23635 if (arg2
== NULL
) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_From_int((int)(result
));
23662 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23665 wxString
*arg2
= 0 ;
23667 bool temp2
= false ;
23668 PyObject
* obj0
= 0 ;
23669 PyObject
* obj1
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self",(char *) "time", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23676 if (SWIG_arg_fail(1)) SWIG_fail
;
23678 arg2
= wxString_in_helper(obj1
);
23679 if (arg2
== NULL
) SWIG_fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_From_int((int)(result
));
23706 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23709 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23710 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23711 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23712 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23714 bool temp2
= false ;
23715 bool temp3
= false ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 PyObject
* obj2
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "format",(char *) "tz", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23725 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 arg2
= wxString_in_helper(obj1
);
23729 if (arg2
== NULL
) SWIG_fail
;
23735 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23758 if (temp3
) delete arg3
;
23767 if (temp3
) delete arg3
;
23773 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23784 if (SWIG_arg_fail(1)) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23805 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23837 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23848 if (SWIG_arg_fail(1)) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23869 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23880 if (SWIG_arg_fail(1)) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23901 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23904 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23906 return Py_BuildValue((char *)"");
23908 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23912 PyObject
* obj0
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "sec", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23919 arg1
= (long)(SWIG_As_long(obj0
));
23920 if (SWIG_arg_fail(1)) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= wxTimeSpan::Seconds(arg1
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 wxTimeSpan
* resultptr
;
23931 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23940 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23943 char *kwnames
[] = {
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= wxTimeSpan::Second();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 wxTimeSpan
* resultptr
;
23957 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23966 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23970 PyObject
* obj0
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "min", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23977 arg1
= (long)(SWIG_As_long(obj0
));
23978 if (SWIG_arg_fail(1)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= wxTimeSpan::Minutes(arg1
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 wxTimeSpan
* resultptr
;
23989 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23998 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24001 char *kwnames
[] = {
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= wxTimeSpan::Minute();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 wxTimeSpan
* resultptr
;
24015 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24024 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "hours", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24035 arg1
= (long)(SWIG_As_long(obj0
));
24036 if (SWIG_arg_fail(1)) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= wxTimeSpan::Hours(arg1
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 wxTimeSpan
* resultptr
;
24047 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24056 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24059 char *kwnames
[] = {
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= wxTimeSpan::Hour();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 wxTimeSpan
* resultptr
;
24073 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24082 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24086 PyObject
* obj0
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "days", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24093 arg1
= (long)(SWIG_As_long(obj0
));
24094 if (SWIG_arg_fail(1)) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= wxTimeSpan::Days(arg1
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 wxTimeSpan
* resultptr
;
24105 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24114 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24117 char *kwnames
[] = {
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= wxTimeSpan::Day();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 wxTimeSpan
* resultptr
;
24131 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24140 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "days", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24151 arg1
= (long)(SWIG_As_long(obj0
));
24152 if (SWIG_arg_fail(1)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= wxTimeSpan::Weeks(arg1
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 wxTimeSpan
* resultptr
;
24163 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24172 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24175 char *kwnames
[] = {
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= wxTimeSpan::Week();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 wxTimeSpan
* resultptr
;
24189 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24198 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 long arg1
= (long) 0 ;
24201 long arg2
= (long) 0 ;
24202 long arg3
= (long) 0 ;
24203 long arg4
= (long) 0 ;
24204 wxTimeSpan
*result
;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 PyObject
* obj2
= 0 ;
24208 PyObject
* obj3
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24216 arg1
= (long)(SWIG_As_long(obj0
));
24217 if (SWIG_arg_fail(1)) SWIG_fail
;
24222 arg2
= (long)(SWIG_As_long(obj1
));
24223 if (SWIG_arg_fail(2)) SWIG_fail
;
24228 arg3
= (long)(SWIG_As_long(obj2
));
24229 if (SWIG_arg_fail(3)) SWIG_fail
;
24234 arg4
= (long)(SWIG_As_long(obj3
));
24235 if (SWIG_arg_fail(4)) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24252 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24280 wxTimeSpan
*arg2
= 0 ;
24281 wxTimeSpan
*result
;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "diff", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail
;
24292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(2)) SWIG_fail
;
24294 if (arg2
== NULL
) {
24295 SWIG_null_ref("wxTimeSpan");
24297 if (SWIG_arg_fail(2)) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24303 result
= (wxTimeSpan
*) &_result_ref
;
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24316 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24319 wxTimeSpan
*arg2
= 0 ;
24320 wxTimeSpan
*result
;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "diff", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail
;
24331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(2)) SWIG_fail
;
24333 if (arg2
== NULL
) {
24334 SWIG_null_ref("wxTimeSpan");
24336 if (SWIG_arg_fail(2)) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24342 result
= (wxTimeSpan
*) &_result_ref
;
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24355 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24359 wxTimeSpan
*result
;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "n", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 arg2
= (int)(SWIG_As_int(obj1
));
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24377 result
= (wxTimeSpan
*) &_result_ref
;
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24390 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24393 wxTimeSpan
*result
;
24394 PyObject
* obj0
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24401 if (SWIG_arg_fail(1)) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24406 result
= (wxTimeSpan
*) &_result_ref
;
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24419 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24430 if (SWIG_arg_fail(1)) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24439 wxTimeSpan
* resultptr
;
24440 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24449 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24452 wxTimeSpan
*arg2
= 0 ;
24453 wxTimeSpan
*result
;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "diff", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24462 if (SWIG_arg_fail(1)) SWIG_fail
;
24464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(2)) SWIG_fail
;
24466 if (arg2
== NULL
) {
24467 SWIG_null_ref("wxTimeSpan");
24469 if (SWIG_arg_fail(2)) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24475 result
= (wxTimeSpan
*) &_result_ref
;
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24488 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24491 wxTimeSpan
*arg2
= 0 ;
24492 wxTimeSpan
*result
;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "diff", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24501 if (SWIG_arg_fail(1)) SWIG_fail
;
24503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(2)) SWIG_fail
;
24505 if (arg2
== NULL
) {
24506 SWIG_null_ref("wxTimeSpan");
24508 if (SWIG_arg_fail(2)) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24514 result
= (wxTimeSpan
*) &_result_ref
;
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24527 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24531 wxTimeSpan
*result
;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "n", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24540 if (SWIG_arg_fail(1)) SWIG_fail
;
24542 arg2
= (int)(SWIG_As_int(obj1
));
24543 if (SWIG_arg_fail(2)) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24549 result
= (wxTimeSpan
*) &_result_ref
;
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24562 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24565 wxTimeSpan
*result
;
24566 PyObject
* obj0
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail
;
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24578 result
= (wxTimeSpan
*) &_result_ref
;
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24591 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24594 wxTimeSpan
*arg2
= 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self",(char *) "other", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24604 if (SWIG_arg_fail(1)) SWIG_fail
;
24606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24607 if (SWIG_arg_fail(2)) SWIG_fail
;
24608 if (arg2
== NULL
) {
24609 SWIG_null_ref("wxTimeSpan");
24611 if (SWIG_arg_fail(2)) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 wxTimeSpan
* resultptr
;
24622 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24631 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24634 wxTimeSpan
*arg2
= 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "other", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail
;
24646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24647 if (SWIG_arg_fail(2)) SWIG_fail
;
24648 if (arg2
== NULL
) {
24649 SWIG_null_ref("wxTimeSpan");
24651 if (SWIG_arg_fail(2)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 wxTimeSpan
* resultptr
;
24662 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24671 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "n", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 arg2
= (int)(SWIG_As_int(obj1
));
24687 if (SWIG_arg_fail(2)) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= wxTimeSpan___mul__(arg1
,arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24697 wxTimeSpan
* resultptr
;
24698 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24707 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "n", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail
;
24722 arg2
= (int)(SWIG_As_int(obj1
));
24723 if (SWIG_arg_fail(2)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24733 wxTimeSpan
* resultptr
;
24734 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24743 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24746 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "other", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(2)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24775 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24778 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self",(char *) "other", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24788 if (SWIG_arg_fail(1)) SWIG_fail
;
24789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24790 if (SWIG_arg_fail(2)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24807 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24810 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self",(char *) "other", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24820 if (SWIG_arg_fail(1)) SWIG_fail
;
24821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(2)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24839 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24842 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self",(char *) "other", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail
;
24853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(2)) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24871 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24874 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 PyObject
* obj1
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self",(char *) "other", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail
;
24885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24886 if (SWIG_arg_fail(2)) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24903 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24906 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "other", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail
;
24917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(2)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24935 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24939 PyObject
* obj0
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "self", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24963 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24974 if (SWIG_arg_fail(1)) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24991 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24995 PyObject
* obj0
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "self", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
25001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25002 if (SWIG_arg_fail(1)) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25019 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25022 wxTimeSpan
*arg2
= 0 ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self",(char *) "ts", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25032 if (SWIG_arg_fail(1)) SWIG_fail
;
25034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25035 if (SWIG_arg_fail(2)) SWIG_fail
;
25036 if (arg2
== NULL
) {
25037 SWIG_null_ref("wxTimeSpan");
25039 if (SWIG_arg_fail(2)) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25057 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25060 wxTimeSpan
*arg2
= 0 ;
25062 PyObject
* obj0
= 0 ;
25063 PyObject
* obj1
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self",(char *) "ts", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25070 if (SWIG_arg_fail(1)) SWIG_fail
;
25072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25073 if (SWIG_arg_fail(2)) SWIG_fail
;
25074 if (arg2
== NULL
) {
25075 SWIG_null_ref("wxTimeSpan");
25077 if (SWIG_arg_fail(2)) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25095 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25098 wxTimeSpan
*arg2
= 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "t", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail
;
25110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25111 if (SWIG_arg_fail(2)) SWIG_fail
;
25112 if (arg2
== NULL
) {
25113 SWIG_null_ref("wxTimeSpan");
25115 if (SWIG_arg_fail(2)) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25133 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_From_int((int)(result
));
25161 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
;
25163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25165 PyObject
* obj0
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_From_int((int)(result
));
25189 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25193 PyObject
* obj0
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "self", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25200 if (SWIG_arg_fail(1)) SWIG_fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_From_int((int)(result
));
25217 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_From_int((int)(result
));
25245 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25256 if (SWIG_arg_fail(1)) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25266 hi
= PyLong_FromLong( (&result
)->GetHi() );
25267 lo
= PyLong_FromLong( (&result
)->GetLo() );
25268 shifter
= PyLong_FromLong(32);
25269 shifted
= PyNumber_Lshift(hi
, shifter
);
25270 resultobj
= PyNumber_Or(shifted
, lo
);
25273 Py_DECREF(shifter
);
25274 Py_DECREF(shifted
);
25282 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(1)) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25303 hi
= PyLong_FromLong( (&result
)->GetHi() );
25304 lo
= PyLong_FromLong( (&result
)->GetLo() );
25305 shifter
= PyLong_FromLong(32);
25306 shifted
= PyNumber_Lshift(hi
, shifter
);
25307 resultobj
= PyNumber_Or(shifted
, lo
);
25310 Py_DECREF(shifter
);
25311 Py_DECREF(shifted
);
25319 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25322 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25323 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25325 bool temp2
= false ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "format", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25334 if (SWIG_arg_fail(1)) SWIG_fail
;
25337 arg2
= wxString_in_helper(obj1
);
25338 if (arg2
== NULL
) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25370 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25373 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25375 return Py_BuildValue((char *)"");
25377 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 int arg1
= (int) 0 ;
25380 int arg2
= (int) 0 ;
25381 int arg3
= (int) 0 ;
25382 int arg4
= (int) 0 ;
25383 wxDateSpan
*result
;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 PyObject
* obj2
= 0 ;
25387 PyObject
* obj3
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25395 arg1
= (int)(SWIG_As_int(obj0
));
25396 if (SWIG_arg_fail(1)) SWIG_fail
;
25401 arg2
= (int)(SWIG_As_int(obj1
));
25402 if (SWIG_arg_fail(2)) SWIG_fail
;
25407 arg3
= (int)(SWIG_As_int(obj2
));
25408 if (SWIG_arg_fail(3)) SWIG_fail
;
25413 arg4
= (int)(SWIG_As_int(obj3
));
25414 if (SWIG_arg_fail(4)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25431 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25460 PyObject
* obj0
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "days", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25467 arg1
= (int)(SWIG_As_int(obj0
));
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= wxDateSpan::Days(arg1
);
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25478 wxDateSpan
* resultptr
;
25479 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25488 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25491 char *kwnames
[] = {
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 result
= wxDateSpan::Day();
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25504 wxDateSpan
* resultptr
;
25505 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25514 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25518 PyObject
* obj0
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "weeks", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25525 arg1
= (int)(SWIG_As_int(obj0
));
25526 if (SWIG_arg_fail(1)) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= wxDateSpan::Weeks(arg1
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 wxDateSpan
* resultptr
;
25537 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25546 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25549 char *kwnames
[] = {
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= wxDateSpan::Week();
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25562 wxDateSpan
* resultptr
;
25563 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25572 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25576 PyObject
* obj0
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "mon", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25583 arg1
= (int)(SWIG_As_int(obj0
));
25584 if (SWIG_arg_fail(1)) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= wxDateSpan::Months(arg1
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 wxDateSpan
* resultptr
;
25595 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25604 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25607 char *kwnames
[] = {
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= wxDateSpan::Month();
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 wxDateSpan
* resultptr
;
25621 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25630 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25634 PyObject
* obj0
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "years", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25641 arg1
= (int)(SWIG_As_int(obj0
));
25642 if (SWIG_arg_fail(1)) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= wxDateSpan::Years(arg1
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25652 wxDateSpan
* resultptr
;
25653 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25662 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25665 char *kwnames
[] = {
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= wxDateSpan::Year();
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 wxDateSpan
* resultptr
;
25679 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25688 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25692 wxDateSpan
*result
;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self",(char *) "n", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25701 if (SWIG_arg_fail(1)) SWIG_fail
;
25703 arg2
= (int)(SWIG_As_int(obj1
));
25704 if (SWIG_arg_fail(2)) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25710 result
= (wxDateSpan
*) &_result_ref
;
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25723 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25727 wxDateSpan
*result
;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self",(char *) "n", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25738 arg2
= (int)(SWIG_As_int(obj1
));
25739 if (SWIG_arg_fail(2)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25745 result
= (wxDateSpan
*) &_result_ref
;
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25758 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25762 wxDateSpan
*result
;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "n", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25773 arg2
= (int)(SWIG_As_int(obj1
));
25774 if (SWIG_arg_fail(2)) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25780 result
= (wxDateSpan
*) &_result_ref
;
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25793 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25797 wxDateSpan
*result
;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "n", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail
;
25808 arg2
= (int)(SWIG_As_int(obj1
));
25809 if (SWIG_arg_fail(2)) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25815 result
= (wxDateSpan
*) &_result_ref
;
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25828 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25832 PyObject
* obj0
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25839 if (SWIG_arg_fail(1)) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_From_int((int)(result
));
25856 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25860 PyObject
* obj0
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_From_int((int)(result
));
25884 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25888 PyObject
* obj0
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= SWIG_From_int((int)(result
));
25912 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 char *kwnames
[] = {
25918 (char *) "self", NULL
25921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25923 if (SWIG_arg_fail(1)) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_From_int((int)(result
));
25940 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= SWIG_From_int((int)(result
));
25968 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25971 wxDateSpan
*arg2
= 0 ;
25972 wxDateSpan
*result
;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "other", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25981 if (SWIG_arg_fail(1)) SWIG_fail
;
25983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25984 if (SWIG_arg_fail(2)) SWIG_fail
;
25985 if (arg2
== NULL
) {
25986 SWIG_null_ref("wxDateSpan");
25988 if (SWIG_arg_fail(2)) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25994 result
= (wxDateSpan
*) &_result_ref
;
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26007 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26010 wxDateSpan
*arg2
= 0 ;
26011 wxDateSpan
*result
;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "other", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
26019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26020 if (SWIG_arg_fail(1)) SWIG_fail
;
26022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26023 if (SWIG_arg_fail(2)) SWIG_fail
;
26024 if (arg2
== NULL
) {
26025 SWIG_null_ref("wxDateSpan");
26027 if (SWIG_arg_fail(2)) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26033 result
= (wxDateSpan
*) &_result_ref
;
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26046 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26049 wxDateSpan
*result
;
26050 PyObject
* obj0
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26062 result
= (wxDateSpan
*) &_result_ref
;
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26075 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26079 wxDateSpan
*result
;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "factor", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26088 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 arg2
= (int)(SWIG_As_int(obj1
));
26091 if (SWIG_arg_fail(2)) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26097 result
= (wxDateSpan
*) &_result_ref
;
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26110 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26113 wxDateSpan
*arg2
= 0 ;
26114 wxDateSpan
*result
;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self",(char *) "other", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26123 if (SWIG_arg_fail(1)) SWIG_fail
;
26125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26126 if (SWIG_arg_fail(2)) SWIG_fail
;
26127 if (arg2
== NULL
) {
26128 SWIG_null_ref("wxDateSpan");
26130 if (SWIG_arg_fail(2)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26136 result
= (wxDateSpan
*) &_result_ref
;
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26149 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26152 wxDateSpan
*arg2
= 0 ;
26153 wxDateSpan
*result
;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "other", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(2)) SWIG_fail
;
26166 if (arg2
== NULL
) {
26167 SWIG_null_ref("wxDateSpan");
26169 if (SWIG_arg_fail(2)) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26175 result
= (wxDateSpan
*) &_result_ref
;
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26188 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26191 wxDateSpan
*result
;
26192 PyObject
* obj0
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26204 result
= (wxDateSpan
*) &_result_ref
;
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26217 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26221 wxDateSpan
*result
;
26222 PyObject
* obj0
= 0 ;
26223 PyObject
* obj1
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self",(char *) "factor", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26230 if (SWIG_arg_fail(1)) SWIG_fail
;
26232 arg2
= (int)(SWIG_As_int(obj1
));
26233 if (SWIG_arg_fail(2)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26239 result
= (wxDateSpan
*) &_result_ref
;
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26252 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26255 wxDateSpan
*arg2
= 0 ;
26257 PyObject
* obj0
= 0 ;
26258 PyObject
* obj1
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self",(char *) "other", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26265 if (SWIG_arg_fail(1)) SWIG_fail
;
26267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26268 if (SWIG_arg_fail(2)) SWIG_fail
;
26269 if (arg2
== NULL
) {
26270 SWIG_null_ref("wxDateSpan");
26272 if (SWIG_arg_fail(2)) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 wxDateSpan
* resultptr
;
26283 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26292 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26295 wxDateSpan
*arg2
= 0 ;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "other", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26305 if (SWIG_arg_fail(1)) SWIG_fail
;
26307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26308 if (SWIG_arg_fail(2)) SWIG_fail
;
26309 if (arg2
== NULL
) {
26310 SWIG_null_ref("wxDateSpan");
26312 if (SWIG_arg_fail(2)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26322 wxDateSpan
* resultptr
;
26323 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26332 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self",(char *) "n", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail
;
26347 arg2
= (int)(SWIG_As_int(obj1
));
26348 if (SWIG_arg_fail(2)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= wxDateSpan___mul__(arg1
,arg2
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 wxDateSpan
* resultptr
;
26359 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26368 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "n", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26383 arg2
= (int)(SWIG_As_int(obj1
));
26384 if (SWIG_arg_fail(2)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= wxDateSpan___rmul__(arg1
,arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26394 wxDateSpan
* resultptr
;
26395 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26404 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26407 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "other", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26417 if (SWIG_arg_fail(1)) SWIG_fail
;
26418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26419 if (SWIG_arg_fail(2)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26436 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26439 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "other", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26451 if (SWIG_arg_fail(2)) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26468 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26471 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26473 return Py_BuildValue((char *)"");
26475 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26478 char *kwnames
[] = {
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (long)wxGetLocalTime();
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_From_long((long)(result
));
26499 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26502 char *kwnames
[] = {
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (long)wxGetUTCTime();
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_From_long((long)(result
));
26523 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26526 char *kwnames
[] = {
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= (long)wxGetCurrentTime();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_From_long((long)(result
));
26547 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26550 char *kwnames
[] = {
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 result
= wxGetLocalTimeMillis();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26563 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26564 hi
= PyLong_FromLong( (&result
)->GetHi() );
26565 lo
= PyLong_FromLong( (&result
)->GetLo() );
26566 shifter
= PyLong_FromLong(32);
26567 shifted
= PyNumber_Lshift(hi
, shifter
);
26568 resultobj
= PyNumber_Or(shifted
, lo
);
26571 Py_DECREF(shifter
);
26572 Py_DECREF(shifted
);
26580 static int _wrap_DefaultDateTime_set(PyObject
*) {
26581 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26586 static PyObject
*_wrap_DefaultDateTime_get(void) {
26589 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26594 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxDataFormatId arg1
;
26597 wxDataFormat
*result
;
26598 PyObject
* obj0
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "type", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26605 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26606 if (SWIG_arg_fail(1)) SWIG_fail
;
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26622 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
;
26624 wxString
*arg1
= 0 ;
26625 wxDataFormat
*result
;
26626 bool temp1
= false ;
26627 PyObject
* obj0
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "format", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26634 arg1
= wxString_in_helper(obj0
);
26635 if (arg1
== NULL
) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26660 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 Py_INCREF(Py_None
); resultobj
= Py_None
;
26685 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26686 PyObject
*resultobj
;
26687 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26688 wxDataFormatId arg2
;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26693 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26695 if (SWIG_arg_fail(1)) SWIG_fail
;
26697 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26698 if (SWIG_arg_fail(2)) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26716 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26717 PyObject
*resultobj
;
26718 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26719 wxDataFormatId arg2
;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26724 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26726 if (SWIG_arg_fail(1)) SWIG_fail
;
26728 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26729 if (SWIG_arg_fail(2)) SWIG_fail
;
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26747 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26748 PyObject
*resultobj
;
26749 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26750 wxDataFormat
*arg2
= 0 ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26755 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26757 if (SWIG_arg_fail(1)) SWIG_fail
;
26759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26760 if (SWIG_arg_fail(2)) SWIG_fail
;
26761 if (arg2
== NULL
) {
26762 SWIG_null_ref("wxDataFormat");
26764 if (SWIG_arg_fail(2)) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26782 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26787 argc
= PyObject_Length(args
);
26788 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26789 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26795 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26805 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26813 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26829 _v
= SWIG_Check_int(argv
[1]);
26831 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26836 Py_INCREF(Py_NotImplemented
);
26837 return Py_NotImplemented
;
26841 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26842 PyObject
*resultobj
;
26843 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26844 wxDataFormat
*arg2
= 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26849 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26851 if (SWIG_arg_fail(1)) SWIG_fail
;
26853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26854 if (SWIG_arg_fail(2)) SWIG_fail
;
26855 if (arg2
== NULL
) {
26856 SWIG_null_ref("wxDataFormat");
26858 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26876 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26881 argc
= PyObject_Length(args
);
26882 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26899 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26907 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26923 _v
= SWIG_Check_int(argv
[1]);
26925 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26930 Py_INCREF(Py_NotImplemented
);
26931 return Py_NotImplemented
;
26935 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26938 wxDataFormatId arg2
;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self",(char *) "format", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail
;
26949 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26950 if (SWIG_arg_fail(2)) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 (arg1
)->SetType((wxDataFormatId
)arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 Py_INCREF(Py_None
); resultobj
= Py_None
;
26966 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26969 wxDataFormatId result
;
26970 PyObject
* obj0
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26977 if (SWIG_arg_fail(1)) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= SWIG_From_int((result
));
26992 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26996 PyObject
* obj0
= 0 ;
26997 char *kwnames
[] = {
26998 (char *) "self", NULL
27001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
27002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27003 if (SWIG_arg_fail(1)) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= ((wxDataFormat
const *)arg1
)->GetId();
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27024 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27027 wxString
*arg2
= 0 ;
27028 bool temp2
= false ;
27029 PyObject
* obj0
= 0 ;
27030 PyObject
* obj1
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self",(char *) "format", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27039 arg2
= wxString_in_helper(obj1
);
27040 if (arg2
== NULL
) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 (arg1
)->SetId((wxString
const &)*arg2
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27050 Py_INCREF(Py_None
); resultobj
= Py_None
;
27065 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27068 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27070 return Py_BuildValue((char *)"");
27072 static int _wrap_FormatInvalid_set(PyObject
*) {
27073 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27078 static PyObject
*_wrap_FormatInvalid_get(void) {
27081 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27086 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27096 if (SWIG_arg_fail(1)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 Py_INCREF(Py_None
); resultobj
= Py_None
;
27111 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27114 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27115 SwigValueWrapper
<wxDataFormat
> result
;
27116 PyObject
* obj0
= 0 ;
27117 PyObject
* obj1
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self",(char *) "dir", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27124 if (SWIG_arg_fail(1)) SWIG_fail
;
27127 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27128 if (SWIG_arg_fail(2)) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27139 wxDataFormat
* resultptr
;
27140 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27149 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
;
27151 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27152 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self",(char *) "dir", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27166 if (SWIG_arg_fail(2)) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27185 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
;
27187 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27188 wxDataFormat
*arg2
= 0 ;
27189 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 PyObject
* obj2
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "format",(char *) "dir", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(1)) SWIG_fail
;
27202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27203 if (SWIG_arg_fail(2)) SWIG_fail
;
27204 if (arg2
== NULL
) {
27205 SWIG_null_ref("wxDataFormat");
27207 if (SWIG_arg_fail(2)) SWIG_fail
;
27211 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27212 if (SWIG_arg_fail(3)) SWIG_fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27231 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27234 wxDataFormat
*arg2
= 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self",(char *) "format", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail
;
27246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27247 if (SWIG_arg_fail(2)) SWIG_fail
;
27248 if (arg2
== NULL
) {
27249 SWIG_null_ref("wxDataFormat");
27251 if (SWIG_arg_fail(2)) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27269 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27272 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "dir", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27282 if (SWIG_arg_fail(1)) SWIG_fail
;
27285 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27286 if (SWIG_arg_fail(2)) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= result
;
27303 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27306 wxDataFormat
*arg2
= 0 ;
27308 PyObject
* obj0
= 0 ;
27309 PyObject
* obj1
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self",(char *) "format", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27319 if (SWIG_arg_fail(2)) SWIG_fail
;
27320 if (arg2
== NULL
) {
27321 SWIG_null_ref("wxDataFormat");
27323 if (SWIG_arg_fail(2)) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= result
;
27339 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27342 wxDataFormat
*arg2
= 0 ;
27343 PyObject
*arg3
= (PyObject
*) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "format",(char *) "data", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27354 if (SWIG_arg_fail(1)) SWIG_fail
;
27356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27357 if (SWIG_arg_fail(2)) SWIG_fail
;
27358 if (arg2
== NULL
) {
27359 SWIG_null_ref("wxDataFormat");
27361 if (SWIG_arg_fail(2)) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27380 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27383 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27385 return Py_BuildValue((char *)"");
27387 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27390 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27391 wxDataObjectSimple
*result
;
27392 PyObject
* obj0
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "format", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27401 if (SWIG_arg_fail(1)) SWIG_fail
;
27402 if (arg1
== NULL
) {
27403 SWIG_null_ref("wxDataFormat");
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27422 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27425 wxDataFormat
*result
;
27426 PyObject
* obj0
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27433 if (SWIG_arg_fail(1)) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27438 result
= (wxDataFormat
*) &_result_ref
;
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27451 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27454 wxDataFormat
*arg2
= 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self",(char *) "format", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail
;
27465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27466 if (SWIG_arg_fail(2)) SWIG_fail
;
27467 if (arg2
== NULL
) {
27468 SWIG_null_ref("wxDataFormat");
27470 if (SWIG_arg_fail(2)) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 Py_INCREF(Py_None
); resultobj
= Py_None
;
27486 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27497 if (SWIG_arg_fail(1)) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27514 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27525 if (SWIG_arg_fail(1)) SWIG_fail
;
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= result
;
27540 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27543 PyObject
*arg2
= (PyObject
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 PyObject
* obj1
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self",(char *) "data", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27553 if (SWIG_arg_fail(1)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27571 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27574 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27576 return Py_BuildValue((char *)"");
27578 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27581 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27582 wxPyDataObjectSimple
*result
;
27583 PyObject
* obj0
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "format", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail
;
27593 if (arg1
== NULL
) {
27594 SWIG_null_ref("wxDataFormat");
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27613 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27616 PyObject
*arg2
= (PyObject
*) 0 ;
27617 PyObject
*arg3
= (PyObject
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 PyObject
* obj2
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "self",(char *) "_class", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(1)) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27649 return Py_BuildValue((char *)"");
27651 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxDataObjectComposite
*result
;
27654 char *kwnames
[] = {
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27673 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
;
27675 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27676 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27677 bool arg3
= (bool) false ;
27678 PyObject
* obj0
= 0 ;
27679 PyObject
* obj1
= 0 ;
27680 PyObject
* obj2
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27687 if (SWIG_arg_fail(1)) SWIG_fail
;
27688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27689 if (SWIG_arg_fail(2)) SWIG_fail
;
27692 arg3
= (bool)(SWIG_As_bool(obj2
));
27693 if (SWIG_arg_fail(3)) SWIG_fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 (arg1
)->Add(arg2
,arg3
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 Py_INCREF(Py_None
); resultobj
= Py_None
;
27710 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27713 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27715 return Py_BuildValue((char *)"");
27717 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27718 PyObject
*resultobj
;
27719 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27720 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27721 wxTextDataObject
*result
;
27722 bool temp1
= false ;
27723 PyObject
* obj0
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "text", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27731 arg1
= wxString_in_helper(obj0
);
27732 if (arg1
== NULL
) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27758 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (size_t)(arg1
)->GetTextLength();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27786 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27797 if (SWIG_arg_fail(1)) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (arg1
)->GetText();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27818 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27821 wxString
*arg2
= 0 ;
27822 bool temp2
= false ;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "self",(char *) "text", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27831 if (SWIG_arg_fail(1)) SWIG_fail
;
27833 arg2
= wxString_in_helper(obj1
);
27834 if (arg2
== NULL
) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->SetText((wxString
const &)*arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27862 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27864 return Py_BuildValue((char *)"");
27866 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27869 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27870 wxPyTextDataObject
*result
;
27871 bool temp1
= false ;
27872 PyObject
* obj0
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "text", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27880 arg1
= wxString_in_helper(obj0
);
27881 if (arg1
== NULL
) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27907 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27910 PyObject
*arg2
= (PyObject
*) 0 ;
27911 PyObject
*arg3
= (PyObject
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 PyObject
* obj2
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self",(char *) "self",(char *) "_class", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27921 if (SWIG_arg_fail(1)) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 Py_INCREF(Py_None
); resultobj
= Py_None
;
27938 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27941 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27943 return Py_BuildValue((char *)"");
27945 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27948 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27949 wxBitmapDataObject
*result
;
27950 PyObject
* obj0
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "bitmap", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27959 if (SWIG_arg_fail(1)) SWIG_fail
;
27960 if (arg1
== NULL
) {
27961 SWIG_null_ref("wxBitmap");
27963 if (SWIG_arg_fail(1)) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27980 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27991 if (SWIG_arg_fail(1)) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
28000 wxBitmap
* resultptr
;
28001 resultptr
= new wxBitmap((wxBitmap
&)(result
));
28002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
28010 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28013 wxBitmap
*arg2
= 0 ;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "bitmap", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28022 if (SWIG_arg_fail(1)) SWIG_fail
;
28024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28025 if (SWIG_arg_fail(2)) SWIG_fail
;
28026 if (arg2
== NULL
) {
28027 SWIG_null_ref("wxBitmap");
28029 if (SWIG_arg_fail(2)) SWIG_fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 Py_INCREF(Py_None
); resultobj
= Py_None
;
28045 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28048 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28050 return Py_BuildValue((char *)"");
28052 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
;
28054 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28055 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28056 wxPyBitmapDataObject
*result
;
28057 PyObject
* obj0
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "bitmap", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28066 if (SWIG_arg_fail(1)) SWIG_fail
;
28067 if (arg1
== NULL
) {
28068 SWIG_null_ref("wxBitmap");
28070 if (SWIG_arg_fail(1)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28087 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28090 PyObject
*arg2
= (PyObject
*) 0 ;
28091 PyObject
*arg3
= (PyObject
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 PyObject
* obj2
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "self",(char *) "self",(char *) "_class", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28101 if (SWIG_arg_fail(1)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 Py_INCREF(Py_None
); resultobj
= Py_None
;
28118 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28121 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28123 return Py_BuildValue((char *)"");
28125 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxFileDataObject
*result
;
28128 char *kwnames
[] = {
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 result
= (wxFileDataObject
*)new wxFileDataObject();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28147 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28150 wxArrayString
*result
;
28151 PyObject
* obj0
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28158 if (SWIG_arg_fail(1)) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28163 result
= (wxArrayString
*) &_result_ref
;
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= wxArrayString2PyList_helper(*result
);
28178 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28181 wxString
*arg2
= 0 ;
28182 bool temp2
= false ;
28183 PyObject
* obj0
= 0 ;
28184 PyObject
* obj1
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self",(char *) "filename", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28191 if (SWIG_arg_fail(1)) SWIG_fail
;
28193 arg2
= wxString_in_helper(obj1
);
28194 if (arg2
== NULL
) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 (arg1
)->AddFile((wxString
const &)*arg2
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28204 Py_INCREF(Py_None
); resultobj
= Py_None
;
28219 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28222 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28224 return Py_BuildValue((char *)"");
28226 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28227 PyObject
*resultobj
;
28228 wxDataFormat
*arg1
= 0 ;
28229 wxCustomDataObject
*result
;
28230 PyObject
* obj0
= 0 ;
28232 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28235 if (SWIG_arg_fail(1)) SWIG_fail
;
28236 if (arg1
== NULL
) {
28237 SWIG_null_ref("wxDataFormat");
28239 if (SWIG_arg_fail(1)) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28255 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28256 PyObject
*resultobj
;
28257 wxString
*arg1
= 0 ;
28258 wxCustomDataObject
*result
;
28259 bool temp1
= false ;
28260 PyObject
* obj0
= 0 ;
28262 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28264 arg1
= wxString_in_helper(obj0
);
28265 if (arg1
== NULL
) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28290 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28291 PyObject
*resultobj
;
28292 wxCustomDataObject
*result
;
28294 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28309 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28314 argc
= PyObject_Length(args
);
28315 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28316 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28319 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28324 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28327 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28342 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28346 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28351 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
;
28353 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28354 PyObject
*arg2
= (PyObject
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "self",(char *) "data", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28364 if (SWIG_arg_fail(1)) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28382 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28386 PyObject
* obj0
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28393 if (SWIG_arg_fail(1)) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (size_t)(arg1
)->GetSize();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28410 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= result
;
28436 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28441 return Py_BuildValue((char *)"");
28443 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxURLDataObject
*result
;
28446 char *kwnames
[] = {
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (wxURLDataObject
*)new wxURLDataObject();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28465 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28469 PyObject
* obj0
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28476 if (SWIG_arg_fail(1)) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (arg1
)->GetURL();
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28497 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28498 PyObject
*resultobj
;
28499 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28500 wxString
*arg2
= 0 ;
28501 bool temp2
= false ;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 char *kwnames
[] = {
28505 (char *) "self",(char *) "url", NULL
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28510 if (SWIG_arg_fail(1)) SWIG_fail
;
28512 arg2
= wxString_in_helper(obj1
);
28513 if (arg2
== NULL
) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 (arg1
)->SetURL((wxString
const &)*arg2
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 Py_INCREF(Py_None
); resultobj
= Py_None
;
28538 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28541 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28543 return Py_BuildValue((char *)"");
28545 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxMetafileDataObject
*result
;
28548 char *kwnames
[] = {
28552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28567 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28570 wxMetafile
*arg2
= 0 ;
28571 PyObject
* obj0
= 0 ;
28572 PyObject
* obj1
= 0 ;
28573 char *kwnames
[] = {
28574 (char *) "self",(char *) "metafile", NULL
28577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28579 if (SWIG_arg_fail(1)) SWIG_fail
;
28581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28582 if (SWIG_arg_fail(2)) SWIG_fail
;
28583 if (arg2
== NULL
) {
28584 SWIG_null_ref("wxMetafile");
28586 if (SWIG_arg_fail(2)) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 Py_INCREF(Py_None
); resultobj
= Py_None
;
28602 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28613 if (SWIG_arg_fail(1)) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28622 wxMetafile
* resultptr
;
28623 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28632 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28635 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28637 return Py_BuildValue((char *)"");
28639 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxDragResult arg1
;
28643 PyObject
* obj0
= 0 ;
28644 char *kwnames
[] = {
28645 (char *) "res", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28650 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28651 if (SWIG_arg_fail(1)) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28669 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28670 PyObject
*resultobj
;
28671 wxWindow
*arg1
= (wxWindow
*) 0 ;
28672 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28673 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28674 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28675 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28676 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28677 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28678 wxPyDropSource
*result
;
28679 PyObject
* obj0
= 0 ;
28680 PyObject
* obj1
= 0 ;
28681 PyObject
* obj2
= 0 ;
28682 PyObject
* obj3
= 0 ;
28683 char *kwnames
[] = {
28684 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28689 if (SWIG_arg_fail(1)) SWIG_fail
;
28692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28693 if (SWIG_arg_fail(2)) SWIG_fail
;
28694 if (arg2
== NULL
) {
28695 SWIG_null_ref("wxCursor");
28697 if (SWIG_arg_fail(2)) SWIG_fail
;
28702 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28703 if (SWIG_arg_fail(3)) SWIG_fail
;
28704 if (arg3
== NULL
) {
28705 SWIG_null_ref("wxCursor");
28707 if (SWIG_arg_fail(3)) SWIG_fail
;
28712 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28713 if (SWIG_arg_fail(4)) SWIG_fail
;
28714 if (arg4
== NULL
) {
28715 SWIG_null_ref("wxCursor");
28717 if (SWIG_arg_fail(4)) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28734 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28737 PyObject
*arg2
= (PyObject
*) 0 ;
28738 PyObject
*arg3
= (PyObject
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 PyObject
* obj2
= 0 ;
28743 PyObject
* obj3
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28754 arg4
= (int)(SWIG_As_int(obj3
));
28755 if (SWIG_arg_fail(4)) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 Py_INCREF(Py_None
); resultobj
= Py_None
;
28771 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
;
28773 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28774 PyObject
* obj0
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28781 if (SWIG_arg_fail(1)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 Py_INCREF(Py_None
); resultobj
= Py_None
;
28796 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
;
28798 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28799 wxDataObject
*arg2
= 0 ;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "data", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28808 if (SWIG_arg_fail(1)) SWIG_fail
;
28810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28811 if (SWIG_arg_fail(2)) SWIG_fail
;
28812 if (arg2
== NULL
) {
28813 SWIG_null_ref("wxDataObject");
28815 if (SWIG_arg_fail(2)) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 (arg1
)->SetData(*arg2
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 Py_INCREF(Py_None
); resultobj
= Py_None
;
28831 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28834 wxDataObject
*result
;
28835 PyObject
* obj0
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28842 if (SWIG_arg_fail(1)) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28857 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28860 wxDragResult arg2
;
28861 wxCursor
*arg3
= 0 ;
28862 PyObject
* obj0
= 0 ;
28863 PyObject
* obj1
= 0 ;
28864 PyObject
* obj2
= 0 ;
28865 char *kwnames
[] = {
28866 (char *) "self",(char *) "res",(char *) "cursor", NULL
28869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28871 if (SWIG_arg_fail(1)) SWIG_fail
;
28873 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28874 if (SWIG_arg_fail(2)) SWIG_fail
;
28877 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28878 if (SWIG_arg_fail(3)) SWIG_fail
;
28879 if (arg3
== NULL
) {
28880 SWIG_null_ref("wxCursor");
28882 if (SWIG_arg_fail(3)) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 Py_INCREF(Py_None
); resultobj
= Py_None
;
28898 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
;
28900 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28901 int arg2
= (int) wxDrag_CopyOnly
;
28902 wxDragResult result
;
28903 PyObject
* obj0
= 0 ;
28904 PyObject
* obj1
= 0 ;
28905 char *kwnames
[] = {
28906 (char *) "self",(char *) "flags", NULL
28909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28911 if (SWIG_arg_fail(1)) SWIG_fail
;
28914 arg2
= (int)(SWIG_As_int(obj1
));
28915 if (SWIG_arg_fail(2)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= SWIG_From_int((result
));
28932 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28935 wxDragResult arg2
;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self",(char *) "effect", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28945 if (SWIG_arg_fail(1)) SWIG_fail
;
28947 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28948 if (SWIG_arg_fail(2)) SWIG_fail
;
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28966 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28969 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28971 return Py_BuildValue((char *)"");
28973 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28976 wxPyDropTarget
*result
;
28977 PyObject
* obj0
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "dataObject", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
29001 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29004 PyObject
*arg2
= (PyObject
*) 0 ;
29005 PyObject
*arg3
= (PyObject
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 PyObject
* obj2
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self",(char *) "self",(char *) "_class", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29015 if (SWIG_arg_fail(1)) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 Py_INCREF(Py_None
); resultobj
= Py_None
;
29032 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29035 PyObject
* obj0
= 0 ;
29036 char *kwnames
[] = {
29037 (char *) "self", NULL
29040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29042 if (SWIG_arg_fail(1)) SWIG_fail
;
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 Py_INCREF(Py_None
); resultobj
= Py_None
;
29057 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
;
29059 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29060 wxDataObject
*result
;
29061 PyObject
* obj0
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29083 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29086 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self",(char *) "dataObject", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29095 if (SWIG_arg_fail(1)) SWIG_fail
;
29096 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29097 if (SWIG_arg_fail(2)) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 (arg1
)->SetDataObject(arg2
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 Py_INCREF(Py_None
); resultobj
= Py_None
;
29112 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29114 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29117 wxDragResult arg4
;
29118 wxDragResult result
;
29119 PyObject
* obj0
= 0 ;
29120 PyObject
* obj1
= 0 ;
29121 PyObject
* obj2
= 0 ;
29122 PyObject
* obj3
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29129 if (SWIG_arg_fail(1)) SWIG_fail
;
29131 arg2
= (int)(SWIG_As_int(obj1
));
29132 if (SWIG_arg_fail(2)) SWIG_fail
;
29135 arg3
= (int)(SWIG_As_int(obj2
));
29136 if (SWIG_arg_fail(3)) SWIG_fail
;
29139 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29140 if (SWIG_arg_fail(4)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= SWIG_From_int((result
));
29156 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29161 wxDragResult arg4
;
29162 wxDragResult result
;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 PyObject
* obj2
= 0 ;
29166 PyObject
* obj3
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 arg2
= (int)(SWIG_As_int(obj1
));
29176 if (SWIG_arg_fail(2)) SWIG_fail
;
29179 arg3
= (int)(SWIG_As_int(obj2
));
29180 if (SWIG_arg_fail(3)) SWIG_fail
;
29183 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29184 if (SWIG_arg_fail(4)) SWIG_fail
;
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= SWIG_From_int((result
));
29200 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
;
29202 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "self", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29210 if (SWIG_arg_fail(1)) SWIG_fail
;
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 (arg1
)->base_OnLeave();
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 Py_INCREF(Py_None
); resultobj
= Py_None
;
29225 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
;
29227 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 PyObject
* obj2
= 0 ;
29234 char *kwnames
[] = {
29235 (char *) "self",(char *) "x",(char *) "y", NULL
29238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29240 if (SWIG_arg_fail(1)) SWIG_fail
;
29242 arg2
= (int)(SWIG_As_int(obj1
));
29243 if (SWIG_arg_fail(2)) SWIG_fail
;
29246 arg3
= (int)(SWIG_As_int(obj2
));
29247 if (SWIG_arg_fail(3)) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29265 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 result
= (bool)(arg1
)->GetData();
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29293 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
;
29295 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29296 wxDragResult arg2
;
29297 PyObject
* obj0
= 0 ;
29298 PyObject
* obj1
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self",(char *) "action", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29305 if (SWIG_arg_fail(1)) SWIG_fail
;
29307 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29308 if (SWIG_arg_fail(2)) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 Py_INCREF(Py_None
); resultobj
= Py_None
;
29324 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29327 wxDragResult result
;
29328 PyObject
* obj0
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= SWIG_From_int((result
));
29350 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29353 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29355 return Py_BuildValue((char *)"");
29357 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxPyTextDropTarget
*result
;
29360 char *kwnames
[] = {
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29379 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29382 PyObject
*arg2
= (PyObject
*) 0 ;
29383 PyObject
*arg3
= (PyObject
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 PyObject
* obj2
= 0 ;
29387 char *kwnames
[] = {
29388 (char *) "self",(char *) "self",(char *) "_class", NULL
29391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29393 if (SWIG_arg_fail(1)) SWIG_fail
;
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 Py_INCREF(Py_None
); resultobj
= Py_None
;
29410 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29415 wxDragResult arg4
;
29416 wxDragResult result
;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 PyObject
* obj3
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29427 if (SWIG_arg_fail(1)) SWIG_fail
;
29429 arg2
= (int)(SWIG_As_int(obj1
));
29430 if (SWIG_arg_fail(2)) SWIG_fail
;
29433 arg3
= (int)(SWIG_As_int(obj2
));
29434 if (SWIG_arg_fail(3)) SWIG_fail
;
29437 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29438 if (SWIG_arg_fail(4)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= SWIG_From_int((result
));
29454 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29459 wxDragResult arg4
;
29460 wxDragResult result
;
29461 PyObject
* obj0
= 0 ;
29462 PyObject
* obj1
= 0 ;
29463 PyObject
* obj2
= 0 ;
29464 PyObject
* obj3
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29471 if (SWIG_arg_fail(1)) SWIG_fail
;
29473 arg2
= (int)(SWIG_As_int(obj1
));
29474 if (SWIG_arg_fail(2)) SWIG_fail
;
29477 arg3
= (int)(SWIG_As_int(obj2
));
29478 if (SWIG_arg_fail(3)) SWIG_fail
;
29481 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29482 if (SWIG_arg_fail(4)) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= SWIG_From_int((result
));
29498 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29508 if (SWIG_arg_fail(1)) SWIG_fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 (arg1
)->base_OnLeave();
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 Py_INCREF(Py_None
); resultobj
= Py_None
;
29523 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
;
29525 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 PyObject
* obj2
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self",(char *) "x",(char *) "y", NULL
29536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29538 if (SWIG_arg_fail(1)) SWIG_fail
;
29540 arg2
= (int)(SWIG_As_int(obj1
));
29541 if (SWIG_arg_fail(2)) SWIG_fail
;
29544 arg3
= (int)(SWIG_As_int(obj2
));
29545 if (SWIG_arg_fail(3)) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29563 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
;
29565 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29568 wxDragResult arg4
;
29569 wxDragResult result
;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 PyObject
* obj2
= 0 ;
29573 PyObject
* obj3
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29580 if (SWIG_arg_fail(1)) SWIG_fail
;
29582 arg2
= (int)(SWIG_As_int(obj1
));
29583 if (SWIG_arg_fail(2)) SWIG_fail
;
29586 arg3
= (int)(SWIG_As_int(obj2
));
29587 if (SWIG_arg_fail(3)) SWIG_fail
;
29590 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29591 if (SWIG_arg_fail(4)) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_From_int((result
));
29607 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29610 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29612 return Py_BuildValue((char *)"");
29614 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxPyFileDropTarget
*result
;
29617 char *kwnames
[] = {
29621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29636 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29639 PyObject
*arg2
= (PyObject
*) 0 ;
29640 PyObject
*arg3
= (PyObject
*) 0 ;
29641 PyObject
* obj0
= 0 ;
29642 PyObject
* obj1
= 0 ;
29643 PyObject
* obj2
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "self",(char *) "self",(char *) "_class", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29650 if (SWIG_arg_fail(1)) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 Py_INCREF(Py_None
); resultobj
= Py_None
;
29667 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29672 wxDragResult arg4
;
29673 wxDragResult result
;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 PyObject
* obj2
= 0 ;
29677 PyObject
* obj3
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29684 if (SWIG_arg_fail(1)) SWIG_fail
;
29686 arg2
= (int)(SWIG_As_int(obj1
));
29687 if (SWIG_arg_fail(2)) SWIG_fail
;
29690 arg3
= (int)(SWIG_As_int(obj2
));
29691 if (SWIG_arg_fail(3)) SWIG_fail
;
29694 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29695 if (SWIG_arg_fail(4)) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= SWIG_From_int((result
));
29711 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29716 wxDragResult arg4
;
29717 wxDragResult result
;
29718 PyObject
* obj0
= 0 ;
29719 PyObject
* obj1
= 0 ;
29720 PyObject
* obj2
= 0 ;
29721 PyObject
* obj3
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 arg2
= (int)(SWIG_As_int(obj1
));
29731 if (SWIG_arg_fail(2)) SWIG_fail
;
29734 arg3
= (int)(SWIG_As_int(obj2
));
29735 if (SWIG_arg_fail(3)) SWIG_fail
;
29738 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29739 if (SWIG_arg_fail(4)) SWIG_fail
;
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= SWIG_From_int((result
));
29755 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
;
29757 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29765 if (SWIG_arg_fail(1)) SWIG_fail
;
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 (arg1
)->base_OnLeave();
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 Py_INCREF(Py_None
); resultobj
= Py_None
;
29780 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
;
29782 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29786 PyObject
* obj0
= 0 ;
29787 PyObject
* obj1
= 0 ;
29788 PyObject
* obj2
= 0 ;
29789 char *kwnames
[] = {
29790 (char *) "self",(char *) "x",(char *) "y", NULL
29793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(1)) SWIG_fail
;
29797 arg2
= (int)(SWIG_As_int(obj1
));
29798 if (SWIG_arg_fail(2)) SWIG_fail
;
29801 arg3
= (int)(SWIG_As_int(obj2
));
29802 if (SWIG_arg_fail(3)) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29820 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29821 PyObject
*resultobj
;
29822 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29825 wxDragResult arg4
;
29826 wxDragResult result
;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 PyObject
* obj2
= 0 ;
29830 PyObject
* obj3
= 0 ;
29831 char *kwnames
[] = {
29832 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29837 if (SWIG_arg_fail(1)) SWIG_fail
;
29839 arg2
= (int)(SWIG_As_int(obj1
));
29840 if (SWIG_arg_fail(2)) SWIG_fail
;
29843 arg3
= (int)(SWIG_As_int(obj2
));
29844 if (SWIG_arg_fail(3)) SWIG_fail
;
29847 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29848 if (SWIG_arg_fail(4)) SWIG_fail
;
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_From_int((result
));
29864 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29867 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29869 return Py_BuildValue((char *)"");
29871 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
;
29873 wxClipboard
*result
;
29874 char *kwnames
[] = {
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= (wxClipboard
*)new wxClipboard();
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29893 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
;
29895 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29896 PyObject
* obj0
= 0 ;
29897 char *kwnames
[] = {
29898 (char *) "self", NULL
29901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29903 if (SWIG_arg_fail(1)) SWIG_fail
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 Py_INCREF(Py_None
); resultobj
= Py_None
;
29918 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
;
29920 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29922 PyObject
* obj0
= 0 ;
29923 char *kwnames
[] = {
29924 (char *) "self", NULL
29927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29929 if (SWIG_arg_fail(1)) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 result
= (bool)(arg1
)->Open();
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29946 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
;
29948 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29949 PyObject
* obj0
= 0 ;
29950 char *kwnames
[] = {
29951 (char *) "self", NULL
29954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29956 if (SWIG_arg_fail(1)) SWIG_fail
;
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 Py_INCREF(Py_None
); resultobj
= Py_None
;
29971 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29982 if (SWIG_arg_fail(1)) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29999 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
;
30001 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30002 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "data", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
30011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail
;
30013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30014 if (SWIG_arg_fail(2)) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (bool)(arg1
)->AddData(arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30031 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30034 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self",(char *) "data", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30044 if (SWIG_arg_fail(1)) SWIG_fail
;
30045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30046 if (SWIG_arg_fail(2)) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)(arg1
)->SetData(arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30066 wxDataFormat
*arg2
= 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self",(char *) "format", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail
;
30078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30079 if (SWIG_arg_fail(2)) SWIG_fail
;
30080 if (arg2
== NULL
) {
30081 SWIG_null_ref("wxDataFormat");
30083 if (SWIG_arg_fail(2)) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30101 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30104 wxDataObject
*arg2
= 0 ;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "self",(char *) "data", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30114 if (SWIG_arg_fail(1)) SWIG_fail
;
30116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(2)) SWIG_fail
;
30118 if (arg2
== NULL
) {
30119 SWIG_null_ref("wxDataObject");
30121 if (SWIG_arg_fail(2)) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (bool)(arg1
)->GetData(*arg2
);
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30139 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30142 PyObject
* obj0
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(1)) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 Py_INCREF(Py_None
); resultobj
= Py_None
;
30164 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 char *kwnames
[] = {
30170 (char *) "self", NULL
30173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30175 if (SWIG_arg_fail(1)) SWIG_fail
;
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 result
= (bool)(arg1
)->Flush();
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30192 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
;
30194 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30195 bool arg2
= (bool) true ;
30196 PyObject
* obj0
= 0 ;
30197 PyObject
* obj1
= 0 ;
30198 char *kwnames
[] = {
30199 (char *) "self",(char *) "primary", NULL
30202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30204 if (SWIG_arg_fail(1)) SWIG_fail
;
30207 arg2
= (bool)(SWIG_As_bool(obj1
));
30208 if (SWIG_arg_fail(2)) SWIG_fail
;
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 (arg1
)->UsePrimarySelection(arg2
);
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30218 Py_INCREF(Py_None
); resultobj
= Py_None
;
30225 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxClipboard
*result
;
30228 char *kwnames
[] = {
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= (wxClipboard
*)wxClipboard::Get();
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30247 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30250 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30252 return Py_BuildValue((char *)"");
30254 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30257 wxClipboardLocker
*result
;
30258 PyObject
* obj0
= 0 ;
30259 char *kwnames
[] = {
30260 (char *) "clipboard", NULL
30263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30266 if (SWIG_arg_fail(1)) SWIG_fail
;
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30282 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30285 PyObject
* obj0
= 0 ;
30286 char *kwnames
[] = {
30287 (char *) "self", NULL
30290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30292 if (SWIG_arg_fail(1)) SWIG_fail
;
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30300 Py_INCREF(Py_None
); resultobj
= Py_None
;
30307 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
;
30309 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30311 PyObject
* obj0
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30318 if (SWIG_arg_fail(1)) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30335 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30338 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30340 return Py_BuildValue((char *)"");
30342 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
;
30344 int arg1
= (int) 0 ;
30345 int arg2
= (int) 0 ;
30346 int arg3
= (int) 0 ;
30347 int arg4
= (int) 0 ;
30348 wxVideoMode
*result
;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 PyObject
* obj2
= 0 ;
30352 PyObject
* obj3
= 0 ;
30353 char *kwnames
[] = {
30354 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30360 arg1
= (int)(SWIG_As_int(obj0
));
30361 if (SWIG_arg_fail(1)) SWIG_fail
;
30366 arg2
= (int)(SWIG_As_int(obj1
));
30367 if (SWIG_arg_fail(2)) SWIG_fail
;
30372 arg3
= (int)(SWIG_As_int(obj2
));
30373 if (SWIG_arg_fail(3)) SWIG_fail
;
30378 arg4
= (int)(SWIG_As_int(obj3
));
30379 if (SWIG_arg_fail(4)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30396 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30399 PyObject
* obj0
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30406 if (SWIG_arg_fail(1)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30414 Py_INCREF(Py_None
); resultobj
= Py_None
;
30421 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30422 PyObject
*resultobj
;
30423 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30424 wxVideoMode
*arg2
= 0 ;
30426 PyObject
* obj0
= 0 ;
30427 PyObject
* obj1
= 0 ;
30428 char *kwnames
[] = {
30429 (char *) "self",(char *) "other", NULL
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30434 if (SWIG_arg_fail(1)) SWIG_fail
;
30436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30437 if (SWIG_arg_fail(2)) SWIG_fail
;
30438 if (arg2
== NULL
) {
30439 SWIG_null_ref("wxVideoMode");
30441 if (SWIG_arg_fail(2)) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30459 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(1)) SWIG_fail
;
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_From_int((int)(result
));
30487 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
;
30489 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30491 PyObject
* obj0
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail
;
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= SWIG_From_int((int)(result
));
30515 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30519 PyObject
* obj0
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(1)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_From_int((int)(result
));
30543 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30547 PyObject
* obj0
= 0 ;
30548 char *kwnames
[] = {
30549 (char *) "self", NULL
30552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30554 if (SWIG_arg_fail(1)) SWIG_fail
;
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30571 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
;
30573 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30574 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 char *kwnames
[] = {
30579 (char *) "self",(char *) "other", NULL
30582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30584 if (SWIG_arg_fail(1)) SWIG_fail
;
30585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30586 if (SWIG_arg_fail(2)) SWIG_fail
;
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30603 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
;
30605 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30606 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30608 PyObject
* obj0
= 0 ;
30609 PyObject
* obj1
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self",(char *) "other", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30616 if (SWIG_arg_fail(1)) SWIG_fail
;
30617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30618 if (SWIG_arg_fail(2)) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30635 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 PyObject
* obj1
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "w", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30647 if (SWIG_arg_fail(1)) SWIG_fail
;
30649 arg2
= (int)(SWIG_As_int(obj1
));
30650 if (SWIG_arg_fail(2)) SWIG_fail
;
30652 if (arg1
) (arg1
)->w
= arg2
;
30654 Py_INCREF(Py_None
); resultobj
= Py_None
;
30661 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30672 if (SWIG_arg_fail(1)) SWIG_fail
;
30673 result
= (int) ((arg1
)->w
);
30676 resultobj
= SWIG_From_int((int)(result
));
30684 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
;
30686 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 char *kwnames
[] = {
30691 (char *) "self",(char *) "h", NULL
30694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30696 if (SWIG_arg_fail(1)) SWIG_fail
;
30698 arg2
= (int)(SWIG_As_int(obj1
));
30699 if (SWIG_arg_fail(2)) SWIG_fail
;
30701 if (arg1
) (arg1
)->h
= arg2
;
30703 Py_INCREF(Py_None
); resultobj
= Py_None
;
30710 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
;
30712 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30714 PyObject
* obj0
= 0 ;
30715 char *kwnames
[] = {
30716 (char *) "self", NULL
30719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail
;
30722 result
= (int) ((arg1
)->h
);
30725 resultobj
= SWIG_From_int((int)(result
));
30733 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30735 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30737 PyObject
* obj0
= 0 ;
30738 PyObject
* obj1
= 0 ;
30739 char *kwnames
[] = {
30740 (char *) "self",(char *) "bpp", NULL
30743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30745 if (SWIG_arg_fail(1)) SWIG_fail
;
30747 arg2
= (int)(SWIG_As_int(obj1
));
30748 if (SWIG_arg_fail(2)) SWIG_fail
;
30750 if (arg1
) (arg1
)->bpp
= arg2
;
30752 Py_INCREF(Py_None
); resultobj
= Py_None
;
30759 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30770 if (SWIG_arg_fail(1)) SWIG_fail
;
30771 result
= (int) ((arg1
)->bpp
);
30774 resultobj
= SWIG_From_int((int)(result
));
30782 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
;
30784 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "refresh", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30794 if (SWIG_arg_fail(1)) SWIG_fail
;
30796 arg2
= (int)(SWIG_As_int(obj1
));
30797 if (SWIG_arg_fail(2)) SWIG_fail
;
30799 if (arg1
) (arg1
)->refresh
= arg2
;
30801 Py_INCREF(Py_None
); resultobj
= Py_None
;
30808 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30819 if (SWIG_arg_fail(1)) SWIG_fail
;
30820 result
= (int) ((arg1
)->refresh
);
30823 resultobj
= SWIG_From_int((int)(result
));
30831 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30834 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30836 return Py_BuildValue((char *)"");
30838 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30839 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30844 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30847 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30852 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30853 PyObject
*resultobj
;
30854 size_t arg1
= (size_t) 0 ;
30856 PyObject
* obj0
= 0 ;
30857 char *kwnames
[] = {
30858 (char *) "index", NULL
30861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30864 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30865 if (SWIG_arg_fail(1)) SWIG_fail
;
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30870 result
= (wxDisplay
*)new wxDisplay(arg1
);
30872 wxPyEndAllowThreads(__tstate
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30882 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
;
30884 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30885 PyObject
* obj0
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 Py_INCREF(Py_None
); resultobj
= Py_None
;
30907 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
;
30910 char *kwnames
[] = {
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (size_t)wxDisplay::GetCount();
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30931 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxPoint
*arg1
= 0 ;
30936 PyObject
* obj0
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "pt", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30944 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_From_int((int)(result
));
30962 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
;
30964 wxWindow
*arg1
= (wxWindow
*) 0 ;
30966 PyObject
* obj0
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "window", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30973 if (SWIG_arg_fail(1)) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 result
= (int)Display_GetFromWindow(arg1
);
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= SWIG_From_int((int)(result
));
30990 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
;
30992 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
31000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31018 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
;
31020 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31022 PyObject
* obj0
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
31028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31029 if (SWIG_arg_fail(1)) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 wxRect
* resultptr
;
31039 resultptr
= new wxRect((wxRect
&)(result
));
31040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31048 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31052 PyObject
* obj0
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31059 if (SWIG_arg_fail(1)) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= ((wxDisplay
const *)arg1
)->GetName();
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31080 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31084 PyObject
* obj0
= 0 ;
31085 char *kwnames
[] = {
31086 (char *) "self", NULL
31089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31091 if (SWIG_arg_fail(1)) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31108 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
;
31110 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31111 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31112 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 char *kwnames
[] = {
31117 (char *) "self",(char *) "mode", NULL
31120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31122 if (SWIG_arg_fail(1)) SWIG_fail
;
31125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31126 if (SWIG_arg_fail(2)) SWIG_fail
;
31127 if (arg2
== NULL
) {
31128 SWIG_null_ref("wxVideoMode");
31130 if (SWIG_arg_fail(2)) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= result
;
31147 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31150 wxVideoMode result
;
31151 PyObject
* obj0
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31158 if (SWIG_arg_fail(1)) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 wxVideoMode
* resultptr
;
31168 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31177 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31180 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31181 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31183 PyObject
* obj0
= 0 ;
31184 PyObject
* obj1
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self",(char *) "mode", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31191 if (SWIG_arg_fail(1)) SWIG_fail
;
31194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31195 if (SWIG_arg_fail(2)) SWIG_fail
;
31196 if (arg2
== NULL
) {
31197 SWIG_null_ref("wxVideoMode");
31199 if (SWIG_arg_fail(2)) SWIG_fail
;
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31218 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
;
31220 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 char *kwnames
[] = {
31223 (char *) "self", NULL
31226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31228 if (SWIG_arg_fail(1)) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 (arg1
)->ResetMode();
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 Py_INCREF(Py_None
); resultobj
= Py_None
;
31243 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31246 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31248 return Py_BuildValue((char *)"");
31250 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
;
31252 wxStandardPaths
*result
;
31253 char *kwnames
[] = {
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= (wxStandardPaths
*)StandardPaths_Get();
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31272 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
;
31274 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31276 PyObject
* obj0
= 0 ;
31277 char *kwnames
[] = {
31278 (char *) "self", NULL
31281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31283 if (SWIG_arg_fail(1)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31304 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31308 PyObject
* obj0
= 0 ;
31309 char *kwnames
[] = {
31310 (char *) "self", NULL
31313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31315 if (SWIG_arg_fail(1)) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31336 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
;
31338 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31340 PyObject
* obj0
= 0 ;
31341 char *kwnames
[] = {
31342 (char *) "self", NULL
31345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31347 if (SWIG_arg_fail(1)) SWIG_fail
;
31349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31350 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31368 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
;
31370 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31372 PyObject
* obj0
= 0 ;
31373 char *kwnames
[] = {
31374 (char *) "self", NULL
31377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail
;
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31400 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31432 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31433 PyObject
*resultobj
;
31434 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31443 if (SWIG_arg_fail(1)) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31464 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
;
31466 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31468 PyObject
* obj0
= 0 ;
31469 char *kwnames
[] = {
31470 (char *) "self", NULL
31473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31475 if (SWIG_arg_fail(1)) SWIG_fail
;
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31480 wxPyEndAllowThreads(__tstate
);
31481 if (PyErr_Occurred()) SWIG_fail
;
31485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31496 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
;
31498 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31499 wxString
*arg2
= 0 ;
31500 bool temp2
= false ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "prefix", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail
;
31511 arg2
= wxString_in_helper(obj1
);
31512 if (arg2
== NULL
) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 Py_INCREF(Py_None
); resultobj
= Py_None
;
31537 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
;
31539 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 char *kwnames
[] = {
31543 (char *) "self", NULL
31546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31548 if (SWIG_arg_fail(1)) SWIG_fail
;
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31569 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31572 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31574 return Py_BuildValue((char *)"");
31576 static PyMethodDef SwigMethods
[] = {
31577 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31584 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31592 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31658 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31666 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31684 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31687 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31690 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31693 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31699 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31713 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31719 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31728 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31745 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31746 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31776 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31782 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31789 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31795 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31809 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31816 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31888 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31932 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31948 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31962 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
32015 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32025 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32118 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32119 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32120 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32121 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32183 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32217 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32225 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32226 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32240 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32247 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32253 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32258 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32261 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32265 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32268 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32272 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32273 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32277 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32281 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32285 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32295 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32308 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32316 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32324 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32338 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32342 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32360 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32374 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32385 { NULL
, NULL
, 0, NULL
}
32389 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32391 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32394 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32395 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32397 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32398 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32400 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32401 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32403 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32404 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32406 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32407 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32409 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32410 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32412 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32413 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32415 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32418 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32419 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32421 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32424 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32425 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32427 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32428 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32430 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32431 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32433 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32434 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32436 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32437 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32439 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32440 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32442 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32443 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32445 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32446 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32448 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32449 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32451 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32452 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32454 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32455 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32457 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32458 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32460 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32463 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32464 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32466 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32467 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32469 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32470 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32472 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32473 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32475 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32476 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32478 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32479 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32481 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32484 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32485 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32487 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32488 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32490 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32491 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32493 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32496 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32499 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32500 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32502 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32503 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32505 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32506 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32508 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32509 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32511 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32512 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32514 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32515 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32517 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32518 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32520 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32521 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32523 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32524 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32526 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32527 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32529 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32530 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32532 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32533 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32535 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32536 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32538 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32539 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32541 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32542 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32544 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32545 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32547 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32548 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32550 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32551 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32553 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32554 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32556 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32557 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32559 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32560 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32562 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32563 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32565 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32566 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32568 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32569 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32571 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32572 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32574 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32575 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32577 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32578 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32580 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32581 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32583 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32584 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32586 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32589 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32590 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32592 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32593 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32595 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32596 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32598 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32599 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32601 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32602 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32604 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32605 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32607 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32608 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32610 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32611 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32613 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32616 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32619 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32622 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32625 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32628 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32631 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32634 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) ((wxSizer
*) x
));
32637 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32640 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32643 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32646 static void *_p_wxEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) ((wxEvent
*) x
));
32649 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32652 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32655 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32658 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32661 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32664 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32667 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32670 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32673 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32676 static void *_p_wxControlTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32679 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32682 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32685 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32688 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32691 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32694 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32697 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32700 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32703 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32706 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32709 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32712 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32715 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32718 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32721 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32724 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32727 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32730 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32733 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32736 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32739 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32742 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32745 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32748 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32751 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32754 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32757 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32760 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32763 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32766 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32769 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32772 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32775 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32778 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32781 static void *_p_wxImageTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) ((wxImage
*) x
));
32784 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32787 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32790 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32793 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32796 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32799 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32802 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32805 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32808 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32811 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32814 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32817 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32820 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32823 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32826 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32829 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32832 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32835 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32838 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32841 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32844 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32847 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32850 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32853 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32856 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32859 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32862 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32865 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32868 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32869 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32871 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32872 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32874 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32875 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32877 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32878 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32880 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32881 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32883 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32884 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32886 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32887 return (void *)((wxWindow
*) ((wxControl
*) x
));
32889 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32890 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32892 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32893 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32895 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32896 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32898 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32899 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32954 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}};
32955 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}};
32956 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}};
32957 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}};
32958 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}};
32959 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}};
32960 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}};
32961 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}};
32962 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}};
32963 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}};
32964 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}};
32965 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}};
32966 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}};
32967 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}};
32968 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}};
32969 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}};
32970 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}};
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32977 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}};
32978 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}};
32979 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}};
32980 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}};
32981 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}};
32982 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}};
32983 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}};
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32988 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}};
32989 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}};
32990 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}};
32991 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}};
32992 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}};
32993 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}};
32994 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}};
32995 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}};
32996 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}};
32997 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}};
32998 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}};
33000 static swig_type_info
*swig_types_initial
[] = {
33001 _swigt__p_wxLogChain
,
33002 _swigt__p_wxMutexGuiLocker
,
33003 _swigt__p_wxMetafile
,
33004 _swigt__p_wxFileHistory
,
33008 _swigt__p_wxDateTime__TimeZone
,
33009 _swigt__p_wxConfigBase
,
33010 _swigt__p_wxDisplay
,
33011 _swigt__p_wxFileType
,
33012 _swigt__p_wxLogGui
,
33014 _swigt__p_wxDataFormat
,
33015 _swigt__p_wxTimerEvent
,
33018 _swigt__std__ptrdiff_t
,
33022 _swigt__p_wxClipboard
,
33023 _swigt__p_wxStopWatch
,
33025 _swigt__p_wxClipboardLocker
,
33027 _swigt__p_wxLogStderr
,
33028 _swigt__p_wxLogTextCtrl
,
33029 _swigt__p_wxTextCtrl
,
33030 _swigt__p_wxBusyCursor
,
33031 _swigt__p_wxBitmapDataObject
,
33032 _swigt__p_wxTextDataObject
,
33033 _swigt__p_wxDataObject
,
33034 _swigt__p_wxPyTextDataObject
,
33035 _swigt__p_wxPyBitmapDataObject
,
33036 _swigt__p_wxFileDataObject
,
33037 _swigt__p_wxCustomDataObject
,
33038 _swigt__p_wxURLDataObject
,
33039 _swigt__p_wxMetafileDataObject
,
33041 _swigt__p_wxTimerRunner
,
33042 _swigt__p_wxLogWindow
,
33043 _swigt__p_wxTimeSpan
,
33044 _swigt__p_wxArrayString
,
33045 _swigt__p_wxWindowDisabler
,
33046 _swigt__p_form_ops_t
,
33047 _swigt__p_wxToolTip
,
33048 _swigt__p_wxDataObjectComposite
,
33049 _swigt__p_wxSystemSettings
,
33050 _swigt__p_wxFileConfig
,
33051 _swigt__p_wxVideoMode
,
33052 _swigt__p_wxDataObjectSimple
,
33053 _swigt__p_wxPyDataObjectSimple
,
33054 _swigt__p_wxDuplexMode
,
33055 _swigt__p_wxEvtHandler
,
33058 _swigt__p_wxSingleInstanceChecker
,
33059 _swigt__p_wxStandardPaths
,
33060 _swigt__p_wxFileTypeInfo
,
33063 _swigt__p_wxPaperSize
,
33064 _swigt__p_wxMimeTypesManager
,
33065 _swigt__p_wxPyArtProvider
,
33066 _swigt__p_wxPyTipProvider
,
33067 _swigt__p_wxTipProvider
,
33068 _swigt__p_wxJoystick
,
33069 _swigt__p_wxSystemOptions
,
33071 _swigt__p_wxJoystickEvent
,
33072 _swigt__p_wxCursor
,
33073 _swigt__p_wxObject
,
33074 _swigt__p_wxOutputStream
,
33075 _swigt__p_wxDateTime
,
33076 _swigt__p_wxPyDropSource
,
33077 _swigt__p_unsigned_long
,
33078 _swigt__p_wxKillError
,
33079 _swigt__p_wxWindow
,
33080 _swigt__p_wxString
,
33081 _swigt__p_wxPyProcess
,
33082 _swigt__p_wxBitmap
,
33083 _swigt__unsigned_int
,
33084 _swigt__p_unsigned_int
,
33085 _swigt__p_wxConfig
,
33086 _swigt__p_unsigned_char
,
33088 _swigt__p_wxBusyInfo
,
33089 _swigt__p_wxPyDropTarget
,
33090 _swigt__p_wxPyTextDropTarget
,
33091 _swigt__p_wxPyFileDropTarget
,
33092 _swigt__p_wxProcessEvent
,
33094 _swigt__p_wxLogNull
,
33095 _swigt__p_wxColour
,
33096 _swigt__p_wxPyTimer
,
33097 _swigt__p_wxConfigPathChanger
,
33098 _swigt__p_wxDateSpan
,
33103 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33105 static swig_const_info swig_const_table
[] = {
33106 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33107 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33108 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33109 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33110 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33111 {0, 0, 0, 0.0, 0, 0}};
33122 /* Python-specific SWIG API */
33123 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33124 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33125 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33127 /* -----------------------------------------------------------------------------
33128 * global variable support code.
33129 * ----------------------------------------------------------------------------- */
33131 typedef struct swig_globalvar
{
33132 char *name
; /* Name of global variable */
33133 PyObject
*(*get_attr
)(); /* Return the current value */
33134 int (*set_attr
)(PyObject
*); /* Set the value */
33135 struct swig_globalvar
*next
;
33138 typedef struct swig_varlinkobject
{
33140 swig_globalvar
*vars
;
33141 } swig_varlinkobject
;
33144 swig_varlink_repr(swig_varlinkobject
*v
) {
33146 return PyString_FromString("<Swig global variables>");
33150 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33151 swig_globalvar
*var
;
33153 fprintf(fp
,"Swig global variables { ");
33154 for (var
= v
->vars
; var
; var
=var
->next
) {
33155 fprintf(fp
,"%s", var
->name
);
33156 if (var
->next
) fprintf(fp
,", ");
33158 fprintf(fp
," }\n");
33163 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33164 swig_globalvar
*var
= v
->vars
;
33166 if (strcmp(var
->name
,n
) == 0) {
33167 return (*var
->get_attr
)();
33171 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33176 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33177 swig_globalvar
*var
= v
->vars
;
33179 if (strcmp(var
->name
,n
) == 0) {
33180 return (*var
->set_attr
)(p
);
33184 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33188 static PyTypeObject varlinktype
= {
33189 PyObject_HEAD_INIT(0)
33190 0, /* Number of items in variable part (ob_size) */
33191 (char *)"swigvarlink", /* Type name (tp_name) */
33192 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33193 0, /* Itemsize (tp_itemsize) */
33194 0, /* Deallocator (tp_dealloc) */
33195 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33196 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33197 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33198 0, /* tp_compare */
33199 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33200 0, /* tp_as_number */
33201 0, /* tp_as_sequence */
33202 0, /* tp_as_mapping */
33206 0, /* tp_getattro */
33207 0, /* tp_setattro */
33208 0, /* tp_as_buffer */
33211 #if PY_VERSION_HEX >= 0x02000000
33212 0, /* tp_traverse */
33215 #if PY_VERSION_HEX >= 0x02010000
33216 0, /* tp_richcompare */
33217 0, /* tp_weaklistoffset */
33219 #if PY_VERSION_HEX >= 0x02020000
33220 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33222 #if PY_VERSION_HEX >= 0x02030000
33225 #ifdef COUNT_ALLOCS
33226 0,0,0,0 /* tp_alloc -> tp_next */
33230 /* Create a variable linking object for use later */
33232 SWIG_Python_newvarlink(void) {
33233 swig_varlinkobject
*result
= 0;
33234 result
= PyMem_NEW(swig_varlinkobject
,1);
33235 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33236 result
->ob_type
= &varlinktype
;
33238 result
->ob_refcnt
= 0;
33239 Py_XINCREF((PyObject
*) result
);
33240 return ((PyObject
*) result
);
33244 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33245 swig_varlinkobject
*v
;
33246 swig_globalvar
*gv
;
33247 v
= (swig_varlinkobject
*) p
;
33248 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33249 gv
->name
= (char *) malloc(strlen(name
)+1);
33250 strcpy(gv
->name
,name
);
33251 gv
->get_attr
= get_attr
;
33252 gv
->set_attr
= set_attr
;
33253 gv
->next
= v
->vars
;
33257 /* -----------------------------------------------------------------------------
33258 * constants/methods manipulation
33259 * ----------------------------------------------------------------------------- */
33261 /* Install Constants */
33263 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33266 for (i
= 0; constants
[i
].type
; i
++) {
33267 switch(constants
[i
].type
) {
33269 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33271 case SWIG_PY_FLOAT
:
33272 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33274 case SWIG_PY_STRING
:
33275 if (constants
[i
].pvalue
) {
33276 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33278 Py_INCREF(Py_None
);
33282 case SWIG_PY_POINTER
:
33283 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33285 case SWIG_PY_BINARY
:
33286 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33293 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33299 /* -----------------------------------------------------------------------------*/
33300 /* Fix SwigMethods to carry the callback ptrs when needed */
33301 /* -----------------------------------------------------------------------------*/
33304 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33305 swig_const_info
*const_table
,
33306 swig_type_info
**types
,
33307 swig_type_info
**types_initial
) {
33309 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33310 char *c
= methods
[i
].ml_doc
;
33311 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33313 swig_const_info
*ci
= 0;
33314 char *name
= c
+ 10;
33315 for (j
= 0; const_table
[j
].type
; j
++) {
33316 if (strncmp(const_table
[j
].name
, name
,
33317 strlen(const_table
[j
].name
)) == 0) {
33318 ci
= &(const_table
[j
]);
33323 size_t shift
= (ci
->ptype
) - types
;
33324 swig_type_info
*ty
= types_initial
[shift
];
33325 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33326 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33327 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33329 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33330 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33332 strncpy(buff
, "swig_ptr: ", 10);
33334 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33335 methods
[i
].ml_doc
= ndoc
;
33341 /* -----------------------------------------------------------------------------*
33342 * Initialize type list
33343 * -----------------------------------------------------------------------------*/
33345 #if PY_MAJOR_VERSION < 2
33346 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33347 is copied out of Python/modsupport.c in python version 2.3.4 */
33349 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33352 if (!PyModule_Check(m
)) {
33353 PyErr_SetString(PyExc_TypeError
,
33354 "PyModule_AddObject() needs module as first arg");
33358 PyErr_SetString(PyExc_TypeError
,
33359 "PyModule_AddObject() needs non-NULL value");
33363 dict
= PyModule_GetDict(m
);
33364 if (dict
== NULL
) {
33365 /* Internal error -- modules must have a dict! */
33366 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33367 PyModule_GetName(m
));
33370 if (PyDict_SetItemString(dict
, name
, o
))
33377 static swig_type_info
**
33378 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33379 static PyMethodDef swig_empty_runtime_method_table
[] = {
33381 NULL
, NULL
, 0, NULL
33385 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33386 swig_empty_runtime_method_table
);
33387 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33388 if (pointer
&& module) {
33389 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33391 return type_list_handle
;
33394 static swig_type_info
**
33395 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33396 swig_type_info
**type_pointer
;
33398 /* first check if module already created */
33399 type_pointer
= SWIG_Python_GetTypeListHandle();
33400 if (type_pointer
) {
33401 return type_pointer
;
33403 /* create a new module and variable */
33404 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33412 /* -----------------------------------------------------------------------------*
33413 * Partial Init method
33414 * -----------------------------------------------------------------------------*/
33416 #ifdef SWIG_LINK_RUNTIME
33420 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33426 SWIGEXPORT(void) SWIG_init(void) {
33427 static PyObject
*SWIG_globals
= 0;
33428 static int typeinit
= 0;
33431 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33433 /* Fix SwigMethods to carry the callback ptrs when needed */
33434 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33436 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33437 d
= PyModule_GetDict(m
);
33440 #ifdef SWIG_LINK_RUNTIME
33441 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33443 # ifndef SWIG_STATIC_RUNTIME
33444 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33447 for (i
= 0; swig_types_initial
[i
]; i
++) {
33448 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33452 SWIG_InstallConstants(d
,swig_const_table
);
33455 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33458 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33461 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33464 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33467 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33470 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33473 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33476 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33479 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33482 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33485 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33488 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33491 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33494 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33497 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33500 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33503 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33506 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33509 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33512 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33515 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33518 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33521 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33524 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33527 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33530 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33533 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33536 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33539 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33542 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33545 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33548 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33551 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33554 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33557 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33560 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33563 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33566 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33569 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33572 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33575 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33578 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33581 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33584 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33587 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33590 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33593 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33596 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33599 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33602 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33605 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33608 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33611 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33614 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33617 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33620 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33623 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33626 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33629 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33632 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33635 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33638 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33641 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33644 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33647 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33650 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33653 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33656 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33659 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33662 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33665 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33668 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33671 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33674 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33677 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33680 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33683 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33686 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33689 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33692 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33695 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33698 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33701 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33704 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33707 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33710 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33713 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33716 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33719 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33722 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33725 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33727 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33728 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33729 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33730 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33731 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33733 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33736 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33739 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33742 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33744 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33746 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33749 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33752 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33755 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33758 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33761 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33764 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33767 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33770 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33773 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33776 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33779 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33781 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33782 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33783 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33784 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33785 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33787 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33790 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33793 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33796 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33799 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33802 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33805 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33808 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33811 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33814 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33817 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33820 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33823 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33826 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33829 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33832 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33835 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33838 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33841 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33844 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33847 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33850 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33853 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33856 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33859 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33862 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33865 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33868 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33871 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33874 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33877 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33879 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33881 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33884 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33887 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33890 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33893 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33896 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33899 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33902 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33905 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33908 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33911 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33914 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33917 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33919 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33920 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33921 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33922 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33924 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33927 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33930 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33933 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33936 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33939 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33942 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33945 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33947 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
33999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
34000 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
34001 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
34002 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
34003 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
34005 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34008 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
34011 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
34014 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
34017 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
34020 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34023 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34026 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34029 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34032 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34034 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34035 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34037 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34040 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34043 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34046 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34049 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34052 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34055 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34058 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34061 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34064 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34067 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34070 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34073 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34076 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34079 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34082 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34085 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34088 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34091 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34094 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34097 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34100 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34103 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34106 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34109 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34112 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34115 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34118 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34121 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34124 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34127 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34130 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34133 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34136 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34139 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34142 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34145 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34148 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34151 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34154 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34157 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34160 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34163 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34166 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34169 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34172 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34175 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34178 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34181 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34184 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34187 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34190 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34193 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34196 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34199 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34202 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34205 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34208 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34211 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34214 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34217 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34220 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34223 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34226 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34229 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34232 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34235 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34238 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34241 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34244 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34247 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34250 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34253 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34256 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34259 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34262 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34265 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34268 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34271 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34274 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34277 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34280 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34283 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34286 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34289 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34292 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34295 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34298 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34301 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34304 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34307 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34310 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34313 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34316 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34319 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34322 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34325 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34328 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34331 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34334 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34337 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34340 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34343 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34346 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34349 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34352 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34355 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34358 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34361 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34364 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34367 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34370 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34373 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34376 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34379 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34382 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34385 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34388 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34391 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34394 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34397 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34400 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34403 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34406 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34409 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34412 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34415 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34418 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34421 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34424 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34427 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34430 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34433 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34436 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34439 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34442 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34445 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34448 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34451 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34454 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34457 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34460 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34463 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34466 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34469 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34472 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34475 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34478 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34481 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34484 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34487 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34490 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34493 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34496 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34499 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34501 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34503 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34506 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34509 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34512 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34515 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34518 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34521 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34524 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34527 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34530 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34533 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34536 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34539 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34542 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34545 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34548 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34551 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34554 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34557 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34560 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34562 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34564 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34567 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34570 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34573 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34576 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34579 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34582 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34585 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34588 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34591 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34594 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34597 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34600 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34601 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34602 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34603 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34605 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);